First delete existing iptables table rules then execute
the following commands....
the following commands....
iptables -F
iptables -t nat -F
iptables -t mangle -F
Enable NAT using this command
iptables -t nat -A POSTROUTING -o eth0 -j
MASQUERADE
MASQUERADE
iptables -A FORWARD -i eth1 -j ACCEPT
0 Comments:
Post a Comment