sudo bash << EOF
ufw --force reset
ufw default deny incoming
ufw default deny outgoing
ufw limit 22 # ssh
ufw allow out 53 # dns
ufw allow out 80 # http
ufw allow out 443 # https
ufw enable
EOF
Last active
June 26, 2023 07:53
-
-
Save ethicnology/d55d066ed136edf7031cf6b9d9f68598 to your computer and use it in GitHub Desktop.
ufw
Author
ethicnology
commented
Jun 2, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment