18 lines
284 B
Bash
Executable File
18 lines
284 B
Bash
Executable File
#!/bin/sh
|
|
|
|
iptables -t filter -F
|
|
iptables -t filter -X
|
|
|
|
iptables -t nat -F
|
|
iptables -t nat -X
|
|
|
|
iptables -P INPUT ACCEPT
|
|
iptables -P OUTPUT ACCEPT
|
|
iptables -P FORWARD ACCEPT
|
|
|
|
iptables -t nat -P PREROUTING ACCEPT
|
|
iptables -t nat -P POSTROUTING ACCEPT
|
|
iptables -t nat -P OUTPUT ACCEPT
|
|
|
|
|