mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update menu-ufw
This commit is contained in:
parent
20560a4cc6
commit
46bc856b2d
|
|
@ -2,7 +2,7 @@
|
|||
sudo cat > /bin/menu-ufw <<- "EOF"
|
||||
#!/bin/bash
|
||||
while : ; do
|
||||
choix=$(whiptail --title "Raspbian Proyect HP3ICC Menu UFW Firewall" --menu "Nota: puede agregar o remover puertos uno a uno , o agregar multiples puertos separados por coma, ejemplo: 80,9000,62031" 20 75 11 \
|
||||
choix=$(whiptail --title "Raspbian Proyect HP3ICC Menu UFW Firewall" --menu "Note: DO NOT delete input port 22, you could lose control of your server, output port 53, 5353, 80, 443 are very necessary for communication via internet." 18 80 8 \
|
||||
1 " Enable Firewall" \
|
||||
2 " Disable Firewall " \
|
||||
3 " List Port open " \
|
||||
|
|
@ -48,6 +48,6 @@ done
|
|||
exit 0
|
||||
|
||||
|
||||
|
||||
EOF
|
||||
|
||||
chmod +x /bin/menu-ufw
|
||||
|
|
|
|||
Loading…
Reference in New Issue