Skip to content

Firewall setup for servo master1

Josh Matthews edited this page Apr 25, 2020 · 1 revision

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.

Clone this wiki locally