Correct routes for bidirectional site-to-site VPN

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

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!
 

eibgrad

Very Senior Member
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