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