I have configured Centos 6.2 as Gateway machine.its having two interfaces
eth0 with ip that provided by isp 116.x.x.x(Static) and
eth1 connected to modem with ip address 192.168.0.1(no,dns,no dhcp configured yet just ip-forwarding is enabled in router box).
Client machine is configured as:
ip address 192.168.0.5 and gateway 192.168.0.1 Client machines can ping router box(192.168.0.1).but when pinged 184.108.40.206 and gateway of isp provider reply is not reaching Client machines .Its happened after i reboot centos,before that i configure machine and everything working fine. Can u please help me in fixing this.
Router machine:two interfaces eth0:116.X.X.X(static ip) eth1:192.168.0.3 on router
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -A FORWARD -i eth0 -j ACCEPT