Have the iptables script remove the ufw.
This commit is contained in:
parent
56a1280caa
commit
c64169c145
|
|
@ -21,6 +21,11 @@ if [ ."$os_codename" = ."bullseye" ]; then
|
||||||
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
|
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#remove ufw
|
||||||
|
ufw disable
|
||||||
|
apt-get remove ufw
|
||||||
|
#apt-get purge ufw
|
||||||
|
|
||||||
#run iptables commands
|
#run iptables commands
|
||||||
iptables -A INPUT -i lo -j ACCEPT
|
iptables -A INPUT -i lo -j ACCEPT
|
||||||
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
|
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue