Mikrotik Router PPTP VPN Server Site-to-Site

Mikrotik Router  PPTP VPN Server Site-to-Site





Fig: Mikrotik PPTP vpn Site to Site

Office Router Configuration:


[admin@OfficeRouter]>/ ip address add address=39.172.16.9/30 interface=ether1
 ip address add address=172.16.1.1/24 interface=ether2

/ interface pptp-server server set enabled=yes
/ ppp profile add name=pptp local-address=172.16.100.1 remote-address=172.16.100.2
/ ppp secret add name=branch profile=pptp service=pptp password=123 local-address=172.16.100.1 remote-address=172.16.0.2 routes=10.0.0.0/24,172.16.100.2


/ ip route add dst-address=0.0.0.0 gateway=39.172.16.1






Remote Router Configuration:


[admin@RemoteRouter]> / ip address add address=182.187.76.2/30 interface=ether1
/ ip address add address=10.0.0.1/24 interface=ether2

/ interface pptp-client add user=branch password=123 connect-to=39.172.16.9 disable=no
/ip route add dst-address=0.0.0.0 gateway=182.187.76.1

/ip route add dst-address=172.16.1.0/24 gateway=172.16.100.1





Post a Comment

0 Comments

About