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

14 lines
219 B
Bash
Executable file

#!/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"