On Mon, 2021-09-13 at 05:57 -0400, Dave via Shorewall-users wrote: > My firewall/router is a basic two-interfaces setup running shorewall > 5.2.8 on RHEL 8.4 (actually Rocky 8.4). > > I need to route packets to and from another subnet via an OpenVPN > server running on the local subnet. > > I used "ip route add" to add two static routes on the firewall/router, > "ip route add 192.168.1.0/24 via 10.11.12.30" and "ip route add > 10.8.0.0/24 via 10.11.12.30". I don't think packets with destinations > on the 192.168.1.0 subnet are being routed to the openvpn server at > 10.11.12.30. There must be shorewall configuration that needs to be > done, but after hours of searching and trial and error, I have been > unable to figure it out. > > Any help will be greatly appreciated. > > It is working now. I needed to do two things.
1. Add routeback in the interfaces file. 2. Enable IP forwarding on the client and server openvpn machines. Thanks to Justin and Robert! Dave _______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users