Community discussions

MikroTik App
 
southerntel
just joined
Topic Author
Posts: 2
Joined: Mon Mar 17, 2014 4:00 am

VPN Routes help

Mon Mar 17, 2014 4:43 am

I've been a RouterBoard user for several years now but never really used them for anything except basic routing. I have a setup with multiple sites doing a VPN back to a master site. I have all of the remote / master site routes setup correctly and I'm able to talk to devices at the remote sites from the master and vice versa. Now I'm trying to add another site connected back to the master for admin purposes and want to be able to access all of the remote sites through the master site without establishing direct VPNs to every site. Can someone walk me through setting the correct routes up?

I've attached a diagram to help explain what I'm trying to accomplish.
You do not have the required permissions to view the files attached to this post.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: VPN Routes help

Mon Mar 17, 2014 1:24 pm

This worked for me. In the admin router:
1) add routes to all the remote router 10.10.x.x subnets using the vpn ip of the master router as the gateway.
2) add a srcnat masquerade with "out-interface=pptp-out" where pptp-out is the name of the vpn interface.

No guarantees. I don't have access to that network now, so I can't test anything.

edit: You can also add a route to the admin router in each remote router if you want to avoid using the masquerade.

Who is online

Users browsing this forum: asuz and 13 guests