Results 1 to 2 of 2
i Configured Dhcp server and NAT server together in one server Then DHCP server is working The clients autamatically receive DHCP from the server. then The iptables are not working ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-15-2010 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 2
Nat iptables problem
i Configured Dhcp server and NAT server together in one server Then DHCP server is working The clients autamatically receive DHCP from the server. then The iptables are not working and I used this commands to configure The nat.
iptables --flush
iptables --table nat --flush
iptables --delete-chain
iptables --table nat --delete-chain
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
iptables --append FORWARD --in-interface eth1 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
service iptables restart
That is my problem The NAT isnot working and is not translatining inside local ip
- 12-20-2010 #2
Are these the complete firewall rules or are there more?


Reply With Quote
