]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
firewall: Rename GUIINPUT chain to ICMPINPUT.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 20 May 2014 09:27:24 +0000 (11:27 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 20 May 2014 09:27:24 +0000 (11:27 +0200)
The name of the chain does not really explain what it does.

src/initscripts/init.d/firewall

index 83717811010da5f1f89c16aa8b7b6ed020ee1b89..853f195cf909a94bb546d7655f17067c2aa57058 100644 (file)
@@ -120,10 +120,10 @@ iptables_init() {
        iptables -N IPTVFORWARD
        iptables -A FORWARD -j IPTVFORWARD
 
-       # filtering from GUI
-       iptables -N GUIINPUT
-       iptables -A INPUT -j GUIINPUT
-       iptables -A GUIINPUT -p icmp --icmp-type 8 -j ACCEPT
+       # Allow to ping the firewall.
+       iptables -N ICMPINPUT
+       iptables -A INPUT -j ICMPINPUT
+       iptables -A ICMPINPUT -p icmp --icmp-type 8 -j ACCEPT
 
        # Accept everything on loopback
        iptables -N LOOPBACK