Last change
on this file since 634 was
294,
checked in by broder, 17 years ago
|
Ok - I think this will load the iptables rules on boot
|
File size:
679 bytes
|
Rev | Line | |
---|
[294] | 1 | # Generated by iptables-save v1.3.6 on Mon Oct 8 01:59:16 2007 |
---|
| 2 | *filter |
---|
| 3 | :INPUT ACCEPT [366:44912] |
---|
| 4 | :FORWARD ACCEPT [0:0] |
---|
| 5 | :OUTPUT ACCEPT [292:53151] |
---|
| 6 | -A FORWARD -d 18.181.0.60 -i eth0 -o eth0 -p tcp -m tcp --dport 10003 -j ACCEPT |
---|
| 7 | COMMIT |
---|
| 8 | # Completed on Mon Oct 8 01:59:16 2007 |
---|
| 9 | # Generated by iptables-save v1.3.6 on Mon Oct 8 01:59:16 2007 |
---|
| 10 | *nat |
---|
| 11 | :PREROUTING ACCEPT [5:300] |
---|
| 12 | :POSTROUTING ACCEPT [8:674] |
---|
| 13 | :OUTPUT ACCEPT [8:674] |
---|
| 14 | -A PREROUTING -s ! 18.181.0.60 -i eth0 -p tcp -m tcp --dport 10003 -j DNAT --to-destination 18.181.0.60:10003 |
---|
| 15 | -A POSTROUTING -d 18.181.0.60 -o eth0 -p tcp -m tcp --dport 10003 -j SNAT --to-source 18.181.0.62 |
---|
| 16 | COMMIT |
---|
| 17 | # Completed on Mon Oct 8 01:59:16 2007 |
---|
Note: See
TracBrowser
for help on using the repository browser.