Bläddra i källkod

Firewall drops forwards

Bob Mottram 8 år sedan
förälder
incheckning
a25037f226
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2
    0
      src/freedombone-utils-firewall

+ 2
- 0
src/freedombone-utils-firewall Visa fil

@@ -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