Repository: cloudstack Updated Branches: refs/heads/master 76c81a7bd -> 33f4f952c
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/33f4f952 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/33f4f952 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/33f4f952 Branch: refs/heads/master Commit: 33f4f952cf0cbec83c6f2195bd8e94d628215040 Parents: f661ac0 Author: Jayapal <[email protected]> Authored: Mon Sep 7 16:01:57 2015 +0530 Committer: Jayapal <[email protected]> Committed: Wed Sep 9 10:50:50 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/33f4f952/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 fa66f93..49dbb9c 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):
