14 lines
219 B
Bash
14 lines
219 B
Bash
|
#!/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"
|