Displaying 1 result from an estimated 1 matches for "internal_address".
2010 May 08
3
setup firewall with 3 nic cards
...h 3 nic cards. Two internet
connections and one office connection.
eth0 is office
eth1 is internet T1
eth2 is internet Cable
when I do "iptables -F" then iptables -L everything is gone as it should be.
Then I do
iptables -t nat -A PREROUTING -p tcp -d $MYIP --dport 6550 -j DNAT --to
$INTERNAL_ADDRESS:6550
iptables -t nat -A POSTROUTING -d $INTERNAL_ADDRESS -j SNAT --to $GWIP
then I do iptables -L again and the rule is not there. Am I missing
something?
I have tried -I and -A both.
Thanks,
Jerry