Changeset 669 for trunk


Ignore:
Timestamp:
Jul 7, 2008, 10:51:58 PM (16 years ago)
Author:
price
Message:

reformat iptables.rules a bit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-iptables/code/iptables.rules

    r668 r669  
    1 # Generated by iptables-save v1.3.6 on Mon Oct  8 01:59:16 2007
     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
    211*filter
    312:INPUT ACCEPT [366:44912]
     
    716-A FORWARD -d 18.181.0.165 -i eth0 -o eth0 -p tcp -m tcp --dport 10003 -j ACCEPT
    817COMMIT
    9 # Completed on Mon Oct  8 01:59:16 2007
    10 # Generated by iptables-save v1.3.6 on Mon Oct  8 01:59:16 2007
    11 *nat
    12 :PREROUTING ACCEPT [5:300]
    13 :POSTROUTING ACCEPT [8:674]
    14 :OUTPUT ACCEPT [8:674]
    15 -A PREROUTING -s ! 18.181.0.60 -i eth0 -p tcp -m tcp --dport 10003 -j DNAT --to-destination 18.181.0.60:10003
    16 -A POSTROUTING -d 18.181.0.60 -o eth0 -p tcp -m tcp --dport 10003 -j SNAT --to-source 18.181.0.62
    17 -A PREROUTING -s ! 18.181.0.165 -i eth0 -p tcp -m tcp --dport 10004 -j DNAT --to-destination 18.181.0.165:10003
    18 -A POSTROUTING -d 18.181.0.165 -o eth0 -p tcp -m tcp --dport 10003 -j SNAT --to-source 18.181.0.62
    19 COMMIT
    20 # Completed on Mon Oct  8 01:59:16 2007
Note: See TracChangeset for help on using the changeset viewer.