Clone
1
Firewall setup for servo master1
Josh Matthews edited this page 2020-04-25 19:08:34 -04:00

Goal:

Only expose HTTP/HTTPS, homu hooks, and SSH to the outside world.

Setup

# ufw allow ssh
# ufw allow "Nginx Full"
# ufw allow 54856/tcp
# ufw enable

Troubleshooting

To disable the firewall rules, run ufw disable. Use https://linuxize.com/post/how-to-setup-a-firewall-with-ufw-on-ubuntu-18-04/ to aid in setting up new rules as necessary.