Update Installer.sh

Fixed oopsie
This commit is contained in:
b.waal 2023-09-26 22:11:27 +02:00
parent 27b3b72f42
commit bf008184dd

View File

@ -228,13 +228,13 @@ if [[ $UFW == "true" ]]; then
if [[ $IPv6 == "false" ]]; then if [[ $IPv6 == "false" ]]; then
sed -i 's/IPV6=yes/IPV6=no/g' /etc/default/ufw sed -i 's/IPV6=yes/IPV6=no/g' /etc/default/ufw
ufw allow 80/tcp ufw allow 80/tcp
ufw allow 53/tcp ufw allow 53/udp
ufw limit 22/tcp ufw limit 22/tcp
echo "y" | ufw enable echo "y" | ufw enable
fi fi
if [[ $IPv6 == "true" ]]; then if [[ $IPv6 == "true" ]]; then
ufw allow 80/tcp ufw allow 80/tcp
ufw allow 53/tcp ufw allow 53/udp
ufw limit 22/tcp ufw limit 22/tcp
echo "y" | ufw enable echo "y" | ufw enable
fi fi