Przeglądaj źródła

Firewall drops forwards

Bob Mottram 8 lat temu
rodzic
commit
a25037f226
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2
    0
      src/freedombone-utils-firewall

+ 2
- 0
src/freedombone-utils-firewall Wyświetl plik

@@ -87,6 +87,8 @@ function configure_firewall {
87 87
     ip6tables -X
88 88
     iptables -P INPUT DROP
89 89
     ip6tables -P INPUT DROP
90
+    iptables -P FORWARD DROP
91
+    ip6tables -P FORWARD DROP
90 92
     iptables -A INPUT -i lo -j ACCEPT
91 93
     iptables -A INPUT -m conntrack --ctstate ESTABLISHED -j ACCEPT
92 94