Accept loopback
This commit is contained in:
parent
d0661538a1
commit
cc936d05f7
|
@ -430,6 +430,8 @@ function configure_firewall {
|
||||||
ip6tables -X
|
ip6tables -X
|
||||||
iptables -P INPUT DROP
|
iptables -P INPUT DROP
|
||||||
ip6tables -P INPUT DROP
|
ip6tables -P INPUT DROP
|
||||||
|
iptables -A INPUT -i eth0 -i lo -j ACCEPT
|
||||||
|
iptables -A INPUT -i eth0 -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
|
||||||
echo 'configure_firewall' >> $COMPLETION_FILE
|
echo 'configure_firewall' >> $COMPLETION_FILE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue