/interface/pptp-client

当前显示英文原文,切换到「中文」可查看译文。

pptp-client

RouterOS directory reference for /interface/pptp-client.


interface/pptp-client

Type: Directory

FlagNameDescription
XdisabledWhether an item is disabled.
RrunningWhether the interface is running.
ArgumentTypeDescription
namestringDescriptive name of the interface.
max-mtunumMaximum Transmission Unit. Maximum packet size that the PPTP interface can send without packet fragmentation.
max-mrunumMaximum Receive Unit. Maximum packet size that the PPTP interface can receive without packet fragmentation.
mrrunumMaximum packet size that can be received on the link. If a packet is bigger than tunnel MTU, it is split into multiple packets, allowing full-size IP or Ethernet packets to be sent over the tunnel.
connect-to *alt { address: ipAddr , name: string }Remote address of the PPTP server.
user *stringUser name used for authentication.
passwordstringPassword used for authentication.
profileenumSpecifies which PPP profile configuration is used when establishing the tunnel.
keepalive-timeoutenum (disabled) { disabled:0 }Keepalive timeout in seconds.
use-peer-dnsenum (no | yes | exclusively) { no:0, yes:1, exclusively:2 }Whether to use DNS settings from the peer.
add-default-routeboolWhether to add the PPTP remote address as a default route.
default-route-distancenumDistance value applied to the auto-created default route when add-default-route is enabled.
dial-on-demandboolConnects 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.
allowubit (pap, chap, mschap1, mschap2)Allowed authentication methods.