I am trying to setup Zentyal as a gateway on my network. I need client machines to access internet directly through gateway without using proxy.
Everything works fine, ping, server is able to connect to internet, client is able to connect "via proxy" but not directly without proxyThe server is able to ping, resolve domains, to internet fine.
But when it comes to client machine, they are not able to access internet via default gateway.
Connection Setup
eth0 - external interface
eth1 - internal interface
Connection Path
router (192.168.1.2) --> eth0(192.168.1.254) -->eth1(10.0.0.254)-->internal networks in 10.0.0.x range
Interface and gateway configurations in zentyalexternal interface eth0 - ip:192.168.1.254 | gateway 192.168.1.2
internal interface eth1(10.0.0.254)
The internal machines have default gateway set as the server internal interface ip - 10.0.0.254 and it is pinging fine from the internal clients.
The server can ping the internal client and client can ping back
Client is able to connect to internet via proxy @ 3128 port.
Have searched forum, tried the below, but no positive results
- edit /etc/sysctl.conf and uncomment net.ipv4.ip_forward=1
- Tried giving allow for all firewall configuration categories
- tried running iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Tried fresh install 3 times. Spend an hour on forum search, couldnt get anything helpfull.
Any help is deeply appreciated