Dear Nethserver team,
I just installed nethserver (NS) 7 final the other day from a centos 7 minimal.
All went smooth, with one exception.
I have a small nuc sitting behind my router at home. The nuc is running the NS. The NS has one NIC and is connected via cable with the router. The IP address of the NS is 192.168.1.100. The router ip is 192.168.1.1.
For different reasonsI want to be able to route all my traffic through my home installation when I am abroad.
I set up a vpn service on the NS and login works like a charme. I was really impressed.
The IP net of the vpn is 10.0.0.0 255.255.255.0.
The client recieved 10.0.0.6.
The external VPN client can reach the NS at 192.168.1.100. But it can not reach (not even ping) the router @192.168.1.1. It also cannot ping google @8.8.8.8.
I also did find that, but I don’t know how to configure that. I cannot find it in the config menus.
Do I need to install a new module?
I did not know I was running a firewall.
My local network 192.168.1.* is configured as green.
Okay, so I did install the “basic firewall” package.
Now in my Gateway menu I see the point “firewall rules”.
There in the tab “firewall” I defined a new rule to Always Accept All traffic coming from the vpn to green networks and all services.
In the nethserver documentation it is stated that:
Firewall and gateway modes are enabled only if:
the nethserver-firewall-base package is installed
at least there is one network interface configured with red role
I only have a green network configured. So The rules must not apply, ergo the traffic must not be blocked. This gets me even more confused.
I hope you can find some lines logged in /var/log/firewall.log when you are connected through vpn.
Those lines could lead us to understand the problem.