All pastes #768432 Raw Edit

Someone

public text v1 · immutable
·published 2007-11-10 16:40 UTC
rendered paste body
www6:~$ iptables -t nat --list
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination         
DNAT       tcp  --  anywhere             anywhere            tcp dpt:10122 to:10.0.2.101:22 
DNAT       tcp  --  anywhere             anywhere            tcp dpt:10153 to:10.0.2.101:53 
DNAT       tcp  --  anywhere             anywhere            tcp dpt:10180 to:10.0.2.101:80 
DNAT       tcp  --  anywhere             anywhere            tcp dpt:10222 to:10.0.2.102:22 
DNAT       tcp  --  anywhere             anywhere            tcp dpt:10253 to:10.0.2.102:53 
DNAT       tcp  --  anywhere             anywhere            tcp dpt:10280 to:10.0.2.102:80 
DNAT       tcp  --  anywhere             anywhere            tcp dpt:10322 to:10.0.2.103:22 
DNAT       tcp  --  anywhere             anywhere            tcp dpt:10353 to:10.0.2.103:53 
DNAT       tcp  --  anywhere             anywhere            tcp dpt:10380 to:10.0.2.103:80 

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination         
SNAT       tcp  --  anywhere             anywhere            tcp spt:ssh to:65.23.128.26:10122 
SNAT       tcp  --  anywhere             anywhere            tcp spt:domain to:65.23.128.26:10153 
SNAT       tcp  --  anywhere             anywhere            tcp spt:http to:65.23.128.26:10180 
SNAT       tcp  --  anywhere             anywhere            tcp spt:ssh to:65.23.128.26:10222 
SNAT       tcp  --  anywhere             anywhere            tcp spt:domain to:65.23.128.26:10253 
SNAT       tcp  --  anywhere             anywhere            tcp spt:http to:65.23.128.26:10280 
SNAT       tcp  --  anywhere             anywhere            tcp spt:ssh to:65.23.128.26:10322 
SNAT       tcp  --  anywhere             anywhere            tcp spt:domain to:65.23.128.26:10353 
SNAT       tcp  --  anywhere             anywhere            tcp spt:http to:65.23.128.26:10380 

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination