HgO 1 year ago
parent
commit
77346c0eaa
1 changed files with 4 additions and 4 deletions
  1. 4 4
      conf/scripts/route-down.d/10-unset-firewall

+ 4 - 4
conf/scripts/route-down.d/10-unset-firewall

@@ -12,9 +12,9 @@ if is_firewall_set; then
   
   # IPv4
 
-  iptables -w -D OUTPUT -i "${wired_device}" -j vpnclient_in
+  iptables -w -D INPUT -i "${wired_device}" -j vpnclient_in
   iptables -w -D OUTPUT -o "${wired_device}" -j vpnclient_out
-  iptables -w -D OUTPUT -o "${wired_device}" -j vpnclient_fwd
+  iptables -w -D FORWARD -o "${wired_device}" -j vpnclient_fwd
 
   iptables -w -F vpnclient_in
   iptables -w -F vpnclient_out
@@ -26,9 +26,9 @@ if is_firewall_set; then
 
   # IPv6
   
-  ip6tables -w -D OUTPUT -i "${wired_device}" -j vpnclient_in
+  ip6tables -w -D INPUT -i "${wired_device}" -j vpnclient_in
   ip6tables -w -D OUTPUT -o "${wired_device}" -j vpnclient_out
-  ip6tables -w -D OUTPUT -o "${wired_device}" -j vpnclient_fwd
+  ip6tables -w -D FORWARD -o "${wired_device}" -j vpnclient_fwd
 
   ip6tables -w -F vpnclient_in
   ip6tables -w -F vpnclient_out