You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ek...@apache.org on 2015/09/09 10:00:09 UTC
[2/3] git commit: updated refs/heads/master to 1bc8b6b
CLOUDSTACK-8690: Updated the iptables order
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c4cd4626
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c4cd4626
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c4cd4626
Branch: refs/heads/master
Commit: c4cd4626cac9520d7cb799be84191cd970000261
Parents: d3fea57
Author: Jayapal <ja...@apache.org>
Authored: Mon Sep 7 16:01:57 2015 +0530
Committer: Jayapal <ja...@apache.org>
Committed: Mon Sep 7 16:01:57 2015 +0530
----------------------------------------------------------------------
systemvm/patches/debian/config/opt/cloud/bin/configure.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c4cd4626/systemvm/patches/debian/config/opt/cloud/bin/configure.py
----------------------------------------------------------------------
diff --git a/systemvm/patches/debian/config/opt/cloud/bin/configure.py b/systemvm/patches/debian/config/opt/cloud/bin/configure.py
index 3c7e972..34e92d4 100755
--- a/systemvm/patches/debian/config/opt/cloud/bin/configure.py
+++ b/systemvm/patches/debian/config/opt/cloud/bin/configure.py
@@ -644,10 +644,10 @@ class CsRemoteAccessVpn(CsDataBag):
return
self.fw.append(["mangle", "","-N VPN_%s " %publicip])
- self.fw.append(["mangle", "","-I PREROUTING -d %s -j VPN_%s " % (publicip, publicip)])
- self.fw.append(["mangle", "","-A VPN_%s -p ah -j ACCEPT " % publicip])
- self.fw.append(["mangle", "","-A VPN_%s -p esp -j ACCEPT " % publicip])
self.fw.append(["mangle", "","-A VPN_%s -j RETURN " % publicip])
+ self.fw.append(["mangle", "","-I VPN_%s -p ah -j ACCEPT " % publicip])
+ self.fw.append(["mangle", "","-I VPN_%s -p esp -j ACCEPT " % publicip])
+ self.fw.append(["mangle", "","-I PREROUTING -d %s -j VPN_%s " % (publicip, publicip)])
class CsForwardingRules(CsDataBag):