OPNsense Forum

English Forums => Virtual private networks => Topic started by: Andrii on October 02, 2025, 11:23:15 AM

Title: OpenVPN road warrior and OpenVPN site to site
Post by: Andrii on October 02, 2025, 11:23:15 AM
There are two servers with Opnsense. Their local networks are connected via an OpenVPN tunnel. Computers on one network can see computers on the other network. The local network on one side (side1) has the address 192.168.1.0/24. The local network on the other side, side2, has the address 192.168.2.0/24. The router of the first local network, side1, has the local address 192.168.1.2/24 and the global address 123.123.123.123. The router of the second local network side2 has the local address 192.168.2.2/24 and the global address 125.125.125.125. An OpenVPN server for remote access (road warrior configuration) is also additionally configured on the side1 router. Clients connecting to side1 have access to the local network 192.168.1.0/24, but they do not have access to the local network 192.168.2.0/24. How can you make the network 192.168.2.0/24 available to them when connected to side1?

Title: Re: OpenVPN road warrior and OpenVPN site to site
Post by: viragomann on October 02, 2025, 01:37:44 PM
You have to add the routes for the road warrior and side 2:

In the road warrior server settings add 192.168.2.0/24 to the "Local Networks".

At side 2 add the road warrior tunnel network to the "Remote Networks".