Accept loopback

This commit is contained in:
Bob Mottram 2014-09-21 22:55:21 +01:00
parent d0661538a1
commit cc936d05f7
1 changed files with 2 additions and 0 deletions

View File

@ -430,6 +430,8 @@ function configure_firewall {
ip6tables -X
iptables -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
}