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

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

reformat iptables.rules a bit

File size: 763 bytes
Line 
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
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
16-A FORWARD -d 18.181.0.165 -i eth0 -o eth0 -p tcp -m tcp --dport 10003 -j ACCEPT
17COMMIT
Note: See TracBrowser for help on using the repository browser.