NethSecurity as an OpenVPN Client without remote network access

Hello everyone! I configured NethSecurity 8 as an Internet Proxy and OpenVPN Client of another remote NethServer 7.9 server. The connection is ok, from the shell of this client server I ping the IP of a machine of the main VPN, however from the stations I am not able to access the external VPN network. I believe it is something with the NethSecurity 8 Firewall. How can I allow traffic between the NethSecurity 8 LAN network and the remote VPN network of NethServer 7.9? I have tried some rules but none of them worked (LAN to OpenVPN etc).

Settings


Local Network

NethSecurity 8 Shell

Are the client devices using NethSecurity as gateway?

Is there a router/firewall in front of the remote NS7? It needs to know about the OpenVPN, so you may need to add a static route for the OpenVPN network to go to the NS7.

Please check the path using tracepath or traceroute:

tracepath 192.168.1.200
traceroute 192.168.1.200

You could check the traffic on NethSecurity and NS7 using tcpdump on the tunnel interface, for example

tcpdump -i tunrw1
2 Likes

Hello! Thank you for the guidance! I got it through Masquerade among the networks! Thanks!

1 Like