forked from norman/fusionpbx-install.sh-github-mirror
Remove ufw chains
This commit is contained in:
18
debian/resources/iptables.sh
vendored
18
debian/resources/iptables.sh
vendored
@@ -28,6 +28,24 @@ ufw reset
|
|||||||
ufw disable
|
ufw disable
|
||||||
apt-get remove -y ufw
|
apt-get remove -y ufw
|
||||||
#apt-get purge ufw
|
#apt-get purge ufw
|
||||||
|
iptables --delete-chain ufw-after-forward
|
||||||
|
iptables --delete-chain ufw-after-input
|
||||||
|
iptables --delete-chain ufw-after-logging-forward
|
||||||
|
iptables --delete-chain ufw-after-logging-input
|
||||||
|
iptables --delete-chain ufw-after-logging-output
|
||||||
|
iptables --delete-chain ufw-after-output
|
||||||
|
iptables --delete-chain ufw-before-forward
|
||||||
|
iptables --delete-chain ufw-before-input
|
||||||
|
iptables --delete-chain ufw-before-logging-forward
|
||||||
|
iptables --delete-chain ufw-before-logging-input
|
||||||
|
iptables --delete-chain ufw-before-logging-output
|
||||||
|
iptables --delete-chain ufw-before-output
|
||||||
|
iptables --delete-chain ufw-reject-forward
|
||||||
|
iptables --delete-chain ufw-reject-input
|
||||||
|
iptables --delete-chain ufw-reject-output
|
||||||
|
iptables --delete-chain ufw-track-forward
|
||||||
|
iptables --delete-chain ufw-track-input
|
||||||
|
iptables --delete-chain ufw-track-output
|
||||||
|
|
||||||
#flush iptables
|
#flush iptables
|
||||||
iptables -P INPUT ACCEPT
|
iptables -P INPUT ACCEPT
|
||||||
|
|||||||
Reference in New Issue
Block a user