On 9/13/2021 5:57 AM, Dave via Shorewall-users wrote:
I need to route packets to and from another subnet via an OpenVPN
server running on the local subnet.

Why aren't you using the OpenVPN mechanism to create the necessary routes?

For local subnet 192.168.1.0/24 and remote via vpn subnet 10.0.0.0/24:

On the server side:

push "route 192.168.1.0 255.255.255.0"
ccd-exclusive
client-config-dir ccd
route 10.0.0.0 255.255.255.0

Then - in /ccd - create a file with the CN of the client with this in it:

iroute 10.0.0.0 255.255.255.0

Restart OpenVPN server after making these changes.









_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to