pptp-client
interface/pptp-client
Type: Directory
PPTP client interfaces connect to a remote PPTP server. The client entry is disabled by default; enable it to dial.
| Flag | Name | Description |
|---|---|---|
| X | disabled | Whether an item is disabled. New client entries are disabled; set disabled=no to start the connection. |
| R | running | Whether the interface is running, which means the tunnel is connected. |
| Argument | Type | Description |
|---|---|---|
| name | string | Interface name. |
| max-mtu | num | Maximum Transmission Unit: the largest packet the client sends over the PPTP tunnel. The tunnel comes up with the lower of the client and server values. Default: 1450. |
| max-mru | num | Maximum Receive Unit: the largest packet the client receives over the PPTP tunnel. Default: 1450. |
| mrru | num | Maximum packet size that can be received on the link. If a packet is bigger than the tunnel MTU, it is split into multiple packets, allowing full-size IP or Ethernet packets to be sent over the tunnel. Default: disabled. |
| connect-to ( mandatory ) | alt { address: ipAddr , name: string } | IPv4 address or DNS name of the PPTP server. |
| user ( mandatory ) | string | User name used for authentication. It must match an account configured on the server (/ppp/secret or RADIUS on a RouterOS server). |
| password | string | Password used for authentication. It is stored in the configuration. |
| profile | enum | PPP profile used when establishing the tunnel. Default: default-encryption. |
| keepalive-timeout | enum (disabled) { disabled:0 } | Keepalive timeout in seconds. disabled turns keepalive off. Default: 60. |
| use-peer-dns | enum (no | yes | exclusively) { no:0, yes:1, exclusively:2 } | Whether to use DNS settings from the peer. Default: no. |
| add-default-route | bool | Whether to add a default route through the tunnel. Default: no. |
| default-route-distance | num | Distance value applied to the auto-created default route when add-default-route is enabled. |
| dial-on-demand | bool | Connects to the PPTP server only when outbound traffic is generated. If enabled, a route with a gateway address from 10.112.112.0/24 network is added while the connection is not established. Default: no. |
| allow | ubit (pap, chap, mschap1, mschap2) | Allowed authentication methods. Default: pap,chap,mschap1,mschap2. |