| 12345678910111213141516171819202122232425 | #!/bin/shecho -e '  _   _ _____      __ | | | | __\ \    / / | |_| | _| \ \/\/ /  \___/|_|   \_/\_/'echo -e "Installing ufw and setup firewall (allowing only ssh and http)". bin/checkroot.shsleep 2# TODO use awall instead of ufw ?# ufwapk add ufw@testingufw allow ssh # knockd will open the ssh portufw allow httpufw allow https# TODO ask for allowing ssh for some ipufw enableufw status verboseecho -e "ufw installed and firwall configured"
 |