Pages

Tuesday, March 6, 2012

P1--PPTP Server and user configure in Mikrotik.

Example Diagram:




Enable PPTP server:

Code: [Select]
[admin@MikroTik] interface pptp-server server> set enabled=yes
[admin@MikroTik] interface pptp-server server> print
            enabled: yes
            max-mtu: 1460
            max-mru: 1460
               mrru: disabled
     authentication: mschap2,mschap1
  keepalive-timeout: 30
    default-profile: default
[admin@MikroTik] interface pptp-server server>


Create PPTP user :

Code: [Select]
[admin@RemoteOffice] /ppp secret> add name=uzzal service=pptp password=1234
local-address=10.1.101.1 remote-address=10.1.101.100
[admin@RemoteOffice] /ppp secret> print detail
Flags: X - disabled
  0   name="Laptop" service=pptp caller-id="" password="123" profile=default
      local-address=10.1.101.1 remote-address=10.1.101.100 routes==""

[admin@RemoteOffice] /ppp secret>

Then you can connect PPTP server using PPTP client

No comments:

Post a Comment