From 8ecb64505dc79a02c6599bd728f8393eb1146da9 Mon Sep 17 00:00:00 2001 From: Alexander Marx Date: Mon, 23 Dec 2013 14:52:33 +0100 Subject: [PATCH] Firewall: Edited update.sh for fifteen core update --- config/rootfiles/core/fifteen/update.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/config/rootfiles/core/fifteen/update.sh b/config/rootfiles/core/fifteen/update.sh index 3ea5ec596b..c2c58f663e 100644 --- a/config/rootfiles/core/fifteen/update.sh +++ b/config/rootfiles/core/fifteen/update.sh @@ -52,11 +52,16 @@ rm -f /etc/rc.d/init.d/networking/red.up/26-xtaccess # Remove old CGI files rm -f /srv/web/ipfire/cgi-bin/{dmzholes,outgoingfw,portfw,xtaccess}.cgi +# Generate chains for new firewall +/sbin/iptables -N INPUTFW +/sbin/iptables -N FORWARDFW +/sbin/iptables -N OUTGOINGFW + # Convert firewall configuration -/usr/bin/convert-xtaccess -/usr/bin/convert-outgoingfw -/usr/bin/convert-portfw -/usr/bin/convert-dmz +/usr/sbin/convert-xtaccess +/usr/sbin/convert-outgoingfw +/usr/sbin/convert-portfw +/usr/sbin/convert-dmz # Remove old firewall configuration files rm -rf /var/ipfire/{dmzholes,portfw,outgoing,xtaccess} -- 2.39.2