X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/de0b2b5b417d9d70283458dbc5307fd0f4d1e701..951f7df4a26ea47232121d8d516fc3ccec61a9ba:/code/iptables.rules diff --git a/code/iptables.rules b/code/iptables.rules index 15b079a..b14516d 100644 --- a/code/iptables.rules +++ b/code/iptables.rules @@ -4,6 +4,7 @@ :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [292:53151] -A FORWARD -d 18.181.0.60 -i eth0 -o eth0 -p tcp -m tcp --dport 10003 -j ACCEPT +-A FORWARD -d 18.181.0.165 -i eth0 -o eth0 -p tcp -m tcp --dport 10003 -j ACCEPT COMMIT # Completed on Mon Oct 8 01:59:16 2007 # Generated by iptables-save v1.3.6 on Mon Oct 8 01:59:16 2007 @@ -13,5 +14,7 @@ COMMIT :OUTPUT ACCEPT [8:674] -A PREROUTING -s ! 18.181.0.60 -i eth0 -p tcp -m tcp --dport 10003 -j DNAT --to-destination 18.181.0.60:10003 -A POSTROUTING -d 18.181.0.60 -o eth0 -p tcp -m tcp --dport 10003 -j SNAT --to-source 18.181.0.62 +-A PREROUTING -s ! 18.181.0.165 -i eth0 -p tcp -m tcp --dport 10004 -j DNAT --to-destination 18.181.0.165:10003 +-A POSTROUTING -d 18.181.0.165 -o eth0 -p tcp -m tcp --dport 10003 -j SNAT --to-source 18.181.0.62 COMMIT # Completed on Mon Oct 8 01:59:16 2007