0887 371 498 support@itservice-bg.net
17.11.2015 · Самуил Арсов · Ubiquiti, Vyatta, Рутери

EdgeRouter pptp server

edgerouter-x

configure
set firewall options mss-clamp interface-type pptp
set firewall options mss-clamp mss 1360
set vpn pptp remote-access authentication local-users username samyil password 1234
set vpn pptp remote-access authentication local-users username samyil static-ip 192.168.10.254
set vpn pptp remote-access authentication local-users username ana password 1234
set vpn pptp remote-access authentication local-users username ana static-ip 192.168.10.253
set vpn pptp remote-access authentication mode local
set vpn pptp remote-access client-ip-pool start 192.168.10.202
set vpn pptp remote-access client-ip-pool stop 192.168.10.254
set vpn pptp remote-access local-ip 192.168.10.201
set vpn pptp remote-access mtu 1492
commit
save
exit
ubnt@ubnt# show vpn pptp remote-access 
 authentication {
     local-users {
         username samyil {
             password 1234
             static-ip 192.168.10.254
         }
         username ana {
             password 1234
             static-ip 192.168.10.253
         }
     }
     mode local
 }
 client-ip-pool {
     start 192.168.10.202
     stop 192.168.10.254
 }
 local-ip 192.168.10.201
 mtu 1492
[edit]
ubnt@Vazov50# run show vpn remote-access 
Active remote access VPN sessions:

User       Time      Proto Iface  Remote IP       TX pkt/byte   RX pkt/byte  
---------- --------- ----- -----  --------------- ------ ------ ------ ------
samyil     01h20m04s PPTP  pptp0  192.168.10.254      8    260      8    364

Total sessions: 1
[edit]