Mikrotik RouterSite-to-Site PPTP VPN Server Configuration



Fig:Mikrotik Router Site to Site PPTP VPN Server Configuration





HQ Router Configuration:

[admin@HQRouter] > address add address= 180.140.100.2/30 interface=ether1
[admin@HQRouter] > address add address= 172.16.1.1/24 interface=ether2
[admin@HQRouter] > interface pptp-server server> set enabled=yes
[admin@HQ Router] > ppp profile add name=PPTP local-address=172.16.100.1
 remote-address=172.16.100.2

[admin@HQRouter] > ppp secret add name=branch profile=PPTP service=pptp password=123
local-address=172.16.100.1 remote-address=172.16.100.2 routes="10.1.1.0/24,172.16.100.2"
[admin@HQ Router] > ip route add dst-address=0.0.0.0 gateway=180.140.100.1
 

Remote Router Configuration:

[admin@REMOTERouter] > address add address= 103.31.178.2/30 interface=ether1
[admin@REMOTERouter] > address add address= 10.1.1.1/24 interface=ether2
[admin@REMOTERouter] > interface pptp-client add user=branch password=123 
connect-to=180.140.100.2 disabled=no
[admin@REMOTERouter] > ip route add dst-address=0.0.0.0 gateway=180.140.100.1
[admin@REMOTERouter] > ip route add dst-address=172.16.1.0/24 gateway=172.16.100.1
 

8 comments:

  1. Great post I would like to thank you for the efforts you have made in writing this interesting and knowledgeable article. expressvpn free trial

    ReplyDelete
  2. I was surfing net and fortunately came across this site and found very interesting stuff here. Its really fun to read. I enjoyed a lot. Thanks for sharing this wonderful information. top android vpn

    ReplyDelete
  3. Thanks for your awesome post!!! I am reading your blog regularly. I like so much and i want addition info from your post.

    Java Training in Chennai

    Java Course in Chennai

    ReplyDelete
  4. also use it to promote your latest products and offers or inform people about what your business does. event marketing and guest speaker biography

    ReplyDelete
  5. Pretty! This was a truly great post. Much obliged to you for giving these subtleties. tech updates

    ReplyDelete
  6. There's definately a ton to think about this issue. I truly like all the focuses you made. tech updates

    ReplyDelete
  7. Embrace the serendipity of the unexpected, for it is in the unplanned moments that life's most beautiful surprises unfold.lk21

    ReplyDelete