source: trunk/packages/sipb-xen-iptables/code/iptables.rules @ 882

Last change on this file since 882 was 669, checked in by price, 16 years ago

reformat iptables.rules a bit

File size: 763 bytes
RevLine 
[669]1*nat
2:PREROUTING ACCEPT [5:300]
3:POSTROUTING ACCEPT [8:674]
4:OUTPUT ACCEPT [8:674]
5-A PREROUTING -s ! 18.181.0.60 -i eth0 -p tcp -m tcp --dport 10003 -j DNAT --to-destination 18.181.0.60:10003
6-A POSTROUTING -d 18.181.0.60 -o eth0 -p tcp -m tcp --dport 10003 -j SNAT --to-source 18.181.0.62
7-A PREROUTING -s ! 18.181.0.165 -i eth0 -p tcp -m tcp --dport 10004 -j DNAT --to-destination 18.181.0.165:10003
8-A POSTROUTING -d 18.181.0.165 -o eth0 -p tcp -m tcp --dport 10003 -j SNAT --to-source 18.181.0.62
9COMMIT
10
[294]11*filter
12:INPUT ACCEPT [366:44912]
13:FORWARD ACCEPT [0:0]
14:OUTPUT ACCEPT [292:53151]
15-A FORWARD -d 18.181.0.60 -i eth0 -o eth0 -p tcp -m tcp --dport 10003 -j ACCEPT
[668]16-A FORWARD -d 18.181.0.165 -i eth0 -o eth0 -p tcp -m tcp --dport 10003 -j ACCEPT
[294]17COMMIT
Note: See TracBrowser for help on using the repository browser.