Ver código fonte

Accept loopback

Bob Mottram 10 anos atrás
pai
commit
cc936d05f7
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2
    0
      install-freedombone.sh

+ 2
- 0
install-freedombone.sh Ver arquivo

@@ -430,6 +430,8 @@ function configure_firewall {
430 430
   ip6tables -X
431 431
   iptables -P INPUT DROP
432 432
   ip6tables -P INPUT DROP
433
+  iptables -A INPUT -i eth0 -i lo -j ACCEPT
434
+  iptables -A INPUT -i eth0 -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
433 435
   echo 'configure_firewall' >> $COMPLETION_FILE
434 436
 }
435 437