arch-automated-installer/scripts/system-setup/ufw-setup.sh

14 lines
219 B
Bash
Raw Normal View History

2024-06-28 19:13:14 +00:00
#!/bin/bash
if [[ $1 == "Debian" ]];then
echo "apt-get -y install ufw"
fi
if [[$1 == "Arch" ]];then
echo "ufw setup"
fi
echo "ufw default deny incoming"
echo "ufw default allow outgoing"
echo "ufw allow ssh"