What's new

Correct routes for bidirectional site-to-site VPN

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

slalix

New Around Here
Hello everyone!

Can someone help me with proper routes on the VPN server?
I have two routers with two different subnets and want to have access to all devices from both of them. I have successfully set up routes from Site 2 to Site 1, all devices from Site 1 are visible and I can connect to them, but I have trouble with access to Site 2 devices from Site 1 subnet. If I think correctly I need to redirect all traffic with destination IP from 192.168.2.1/24 to 10.8.0.2, but I don't know a proper way to do so.
If you need you can see the map of my current network under the spoiler.

I tried to google, but, unfortunately, didn't find anything relevant.

Network map.jpeg

Thanks in advance!
 
You need to add the 192.168.2.0 255.255.255.0 network under the Manage Client Specific Options section of the OpenVPN server, using the CN (Common Name) specified on the OpenVPN client's cert. Do NOT push it, just specify it.
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top