Skip to content

Commit

Permalink
Update start_vpn.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Julio Gutierrez authored Feb 15, 2021
1 parent f3d6c64 commit 02e078c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions start_vpn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ DOCKER_NET="$(ip -o addr show dev eth0 | awk '$3 == "inet" {print $4}')"

kill_switch() {
iptables -F
iptables -t nat -F
iptables -X
iptables -P INPUT DROP
iptables -P FORWARD DROP
Expand Down Expand Up @@ -38,7 +37,6 @@ kill_switch() {
fi
[[ -n ${NETWORK} ]] && for net in ${NETWORK//[;,]/ }; do return_route "${net}"; done

ipttables -t nat -F 2>/dev/null
ip6tables -F 2>/dev/null
ip6tables -X 2>/dev/null
ip6tables -P INPUT DROP 2>/dev/null
Expand Down

0 comments on commit 02e078c

Please sign in to comment.