projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
iptables forward for sx-blade-2 VNC
[invirt/packages/invirt-web.git]
/
code
/
iptables.rules
diff --git
a/code/iptables.rules
b/code/iptables.rules
index
15b079a
..
b14516d
100644
(file)
--- 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
: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
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
: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
COMMIT
# Completed on Mon Oct 8 01:59:16 2007