diff --git a/menu/menu-ufw b/menu/menu-ufw index 9ee78c9..ad5b3ae 100644 --- a/menu/menu-ufw +++ b/menu/menu-ufw @@ -7,9 +7,9 @@ choix=$(whiptail --title "Raspbian Proyect HP3ICC Menu UFW Firewall" --menu "Not 2 " Disable Firewall " \ 3 " List Port open " \ 4 " List IP auto reject " \ -5 " Add or Remove port in " \ -6 " Protection standard (all out open) " \ -7 " Protection strong (only 53,80,443 out open) " \ +5 " Add or Remove port ( In, Out or Both ) " \ +6 " Protection standard (all port out is open) " \ +7 " Protection strong (only 53,5353,80,443 out open) " \ 8 " Menu Principal " 3>&1 1>&2 2>&3) exitstatus=$? #on recupere ce choix @@ -33,6 +33,7 @@ ufw status | grep REJECT >> /tmp/port0.txt && nano /tmp/port0.txt && rm /tmp/por sh /bin/auto-ufw.sh ;; 6) sudo ufw delete allow out to any port 53 +sudo ufw delete allow out to any port 5353 sudo ufw delete allow out to any port 80 sudo ufw delete allow out to any port 443 sudo ufw default allow outgoing ;; @@ -46,5 +47,7 @@ esac done exit 0 + + EOF chmod +x /bin/menu-ufw