From da9e757b8e48c54a4ecbd3bdb027b573ac5a3314 Mon Sep 17 00:00:00 2001 From: Jayapal Date: Thu, 13 Aug 2015 14:07:12 +0530 Subject: [PATCH] CLOUDSTACK-8710: Fixed applying iptables rules for s2s vpn --- systemvm/patches/debian/config/opt/cloud/bin/configure.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/systemvm/patches/debian/config/opt/cloud/bin/configure.py b/systemvm/patches/debian/config/opt/cloud/bin/configure.py index 2f3235ef69c..2caaf3c7ad6 100755 --- a/systemvm/patches/debian/config/opt/cloud/bin/configure.py +++ b/systemvm/patches/debian/config/opt/cloud/bin/configure.py @@ -678,9 +678,6 @@ def main(argv): red = CsRedundant(config) red.set() - nf = CsNetfilters() - nf.compare(config.get_fw()) - vpns = CsSite2SiteVpn("site2sitevpn", config) vpns.process() @@ -693,6 +690,9 @@ def main(argv): mon = CsMonitor("monitorservice", config) mon.process() + nf = CsNetfilters() + nf.compare(config.get_fw()) + # Save iptables configuration - will be loaded on reboot by the iptables-restore that is configured on /etc/rc.local CsHelper.save_iptables("iptables-save", "/etc/iptables/router_rules.v4") CsHelper.save_iptables("ip6tables-save", "/etc/iptables/router_rules.v6")