]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Again allow all IP's on loopback.
authorArne Fitzenreiter <arne_f@ipfire.org>
Tue, 14 Dec 2010 00:41:20 +0000 (01:41 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 14 Dec 2010 00:41:20 +0000 (01:41 +0100)
src/initscripts/init.d/firewall

index 88889a4c2609186b22eee3a013eba7c762cc2a0b..9a4e5eb17b877a571e573709a8fc8f3b02936f74 100644 (file)
@@ -188,10 +188,10 @@ case "$1" in
        /sbin/iptables -A FORWARD -j OUTGOINGFW
 
        # localhost and ethernet.
-       /sbin/iptables -I INPUT 1 -i lo -s 127.0.0.0/8 -d 127.0.0.0/8 -m state --state NEW -j ACCEPT
+       /sbin/iptables -I INPUT 1 -i lo -m state --state NEW -j ACCEPT
        /sbin/iptables -A INPUT   -s 127.0.0.0/8 -m state --state NEW -j DROP   # Loopback not on lo
        /sbin/iptables -A INPUT   -d 127.0.0.0/8 -m state --state NEW -j DROP
-       /sbin/iptables -A FORWARD -i lo -s 127.0.0.0/8 -d 127.0.0.0/8 -m state --state NEW -j ACCEPT
+       /sbin/iptables -A FORWARD -i lo -m state --state NEW -j ACCEPT
        /sbin/iptables -A FORWARD -s 127.0.0.0/8 -m state --state NEW -j DROP
        /sbin/iptables -A FORWARD -d 127.0.0.0/8 -m state --state NEW -j DROP
        /sbin/iptables -A INPUT   -i $GREEN_DEV  -m state --state NEW -j ACCEPT ! -p icmp