Firewall drops forwards

This commit is contained in:
Bob Mottram 2016-11-29 23:10:55 +00:00
parent 4eced972fd
commit a25037f226
1 changed files with 2 additions and 0 deletions

View File

@ -87,6 +87,8 @@ function configure_firewall {
ip6tables -X
iptables -P INPUT DROP
ip6tables -P INPUT DROP
iptables -P FORWARD DROP
ip6tables -P FORWARD DROP
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -m conntrack --ctstate ESTABLISHED -j ACCEPT