All pastes #249646 Raw Edit

Something

public text v1 · immutable
#249646 ·published 2006-11-16 00:20 UTC
rendered paste body
sudo iptables -t nat -L -n
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
gforward   all  --  0.0.0.0/0            0.0.0.0/0

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
MASQUERADE  all  --  0.0.0.0/0            0.0.0.0/0           MARK match 0x1
fromprivate  all  --  192.168.0.0/16       0.0.0.0/0
fromprivate  all  --  172.16.0.0/12        0.0.0.0/0
fromprivate  all  --  10.0.0.0/8           0.0.0.0/0

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
gforward   all  --  0.0.0.0/0            0.0.0.0/0

Chain fromprivate (3 references)
target     prot opt source               destination
ACCEPT     all  --  0.0.0.0/0            192.168.0.0/16
ACCEPT     all  --  0.0.0.0/0            172.16.0.0/12
ACCEPT     all  --  0.0.0.0/0            10.0.0.0/8
MASQUERADE  all  --  0.0.0.0/0            0.0.0.0/0

Chain ftolocal (3 references)
target     prot opt source               destination

Chain gforward (2 references)
target     prot opt source               destination
ftolocal   all  --  0.0.0.0/0            192.168.1.12
ftolocal   all  --  0.0.0.0/0            127.0.0.1
ftolocal   all  --  0.0.0.0/0            192.168.1.99
mike@mlab:~$