Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
GFW-knocker authored Feb 12, 2023
1 parent e39da08 commit 2f5deac
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions reset_iptable_and_use_ufw_again.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT

iptables -t nat -F
iptables -t mangle -F
iptables -t nat -X
iptables -t mangle -X
iptables -F
iptables -X

ufw --force disable
ufw --force enable

0 comments on commit 2f5deac

Please sign in to comment.