Configure PPTP

Share This Post

Share on facebook
Share on linkedin
Share on twitter
Share on email

PPTP Client

The following example demonstrates how to set up a PPTP client with username “MT-User”, password “StrongPass” and server 192.168.62.2:

[admin@MikroTik] > interface pptp-client add connect-to=192.168.62.2 disabled=no name=pptp-out1 password=StrongPass user=MT-User[admin@MikroTik] > interface pptp-client printFlags: X - disabled; R - running 0  R name="pptp-out1" max-mtu=1450 max-mru=1450 mrru=disabled connect-to=192.168.62.2 user="MT-User"      password="StrongPass" profile=default-encryption keepalive-timeout=60 add-default-route=no      dial-on-demand=no allow=pap,chap,mschap1,mschap2

PPTP Server

On the other side we simply enable the PPTP server and create a PPP secret for a particular user:

[admin@MikroTik] >  interface pptp-server server set enabled=yes
[admin@MikroTik] >  ppp secret add local-address=10.0.0.1 name=MT-User password=StrongPass profile=default-encryption remote-address=10.0.0.5 service=pptp
[admin@MikroTik] >  interface pptp-server printFlags: D - dynamic; R - runningColumns: NAME, USER, MTU, CLIENT-ADDRESS, UPTIME, ENCODING#      NAME            USER     MTU  CLIENT-ADDRESS  UPTIM  ENCODING        0  DR  <pptp-MT-User>  MT-User  1450  192.168.51.3   44m8s  MPPE128 stateless

Subscribe To Our Newsletter

Get updates and learn from the best

More To Explore

Policy Routing

Overview Policy routing is the method to steer traffic matching certain criteria to a certain gateway. This can be used to force some customers or

Do You Want To Make Your Dream Network Come True?

drop us a line and keep in touch

X