I tried to set up the following scenario: ZeroShell box behind a router with one interface which directly gets a dynamic ip from a router which has the ip 192.168.1.1 (I know this does not really make a lot of sense but it is just a testing environment).
The outgoing interface is ETH0 and gets the ip 192.168.1.15 from the previously mentioned router over DHCP.
The other interface ETH1 should be the one where I plug my network to. So I enabled the NAT on the ETH0 interface. Now setting up the default gateway does not really work since I know that it is 192.168.1.1 but the GUI wouldn’t accept it. Has anyone an idea how I could possibly set this up correctly?
The “router” section of the GUI might not show a static entry for the default gateway and clicking on the default gw button will most likely return an empty field (mine is like that).
However if your dhcp is configured correctly on the router the ZS GUI should display a default gateway entry in the routing table.
Turns out, the router box itself can access the internet but routing does not work. Maybe I missed something, but I already set up the NAT as described in the tutorial.