diff options
Diffstat (limited to 'deploy/network.sh')
-rwxr-xr-x | deploy/network.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/network.sh b/deploy/network.sh index c6d0df5d..9f1a7b90 100755 --- a/deploy/network.sh +++ b/deploy/network.sh @@ -1,4 +1,4 @@ - +#!/bin/bash function clear_forward_rejct_rules() { while sudo iptables -nL FORWARD --line-number|grep -E 'REJECT +all +-- +0.0.0.0/0 +0.0.0.0/0 +reject-with icmp-port-unreachable'|head -1|awk '{print $1}'|xargs sudo iptables -D FORWARD; do :; done |