]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - src/initscripts/init.d/firewall
firewall: Call firewall.local start at the very end.
[people/teissler/ipfire-2.x.git] / src / initscripts / init.d / firewall
index 7db39085dde4a1248ec2149e5223bafabb1bda7b..77da2324243008dfa2d352839abc46f0b34cf639 100644 (file)
@@ -209,11 +209,6 @@ iptables_init() {
        iptables -N UPNPFW
        iptables -A FORWARD -m conntrack --ctstate NEW -j UPNPFW
 
-       # run local firewall configuration, if present
-       if [ -x /etc/sysconfig/firewall.local ]; then
-               /etc/sysconfig/firewall.local start
-       fi
-
        # Apply OpenVPN firewall rules
        /usr/local/bin/openvpnctrl --firewall-rules
 
@@ -298,6 +293,10 @@ iptables_red() {
 case "$1" in
   start)
        iptables_init
+       # run local firewall configuration, if present
+       if [ -x /etc/sysconfig/firewall.local ]; then
+               /etc/sysconfig/firewall.local start
+       fi
        ;;
   reload)
        iptables_red