Use legacy iptables
This commit is contained in:
parent
5773ee0a52
commit
f5a71764bd
|
@ -3,6 +3,10 @@
|
|||
set -e
|
||||
set -x
|
||||
|
||||
# Make sure we are using legacy iptables
|
||||
update-alternatives --set iptables /usr/sbin/iptables-legacy || true
|
||||
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy || true
|
||||
|
||||
# Add default rules
|
||||
ufw default deny incoming
|
||||
ufw default allow outgoing
|
||||
|
|
Loading…
Reference in New Issue
Block a user