Added information on how to use ufw

This commit is contained in:
Zachary Klosko 2020-05-01 13:28:23 -04:00
parent e8a22350cc
commit a9cb5b4b81

View file

@ -57,8 +57,17 @@ machine).
Setting up a local firewall is done differently on all the supported distros. Setting up a local firewall is done differently on all the supported distros.
* [Debian](https://wiki.debian.org/DebianFirewall) * [Debian](https://wiki.debian.org/DebianFirewall)
* [Ubuntu](https://help.ubuntu.com/lts/serverguide/firewall.html)
* [FirewallD](http://www.firewalld.org/) (CentOS) * [FirewallD](http://www.firewalld.org/) (CentOS)
* [Ubuntu](https://help.ubuntu.com/lts/serverguide/firewall.html)
* To quickly configure Ubuntu's firewall, `ufw`:
```
sudo ufw enable
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw allow 8000/tcp #only if streaming from your server
sudo ufw allow 8001/tcp #only if DJs will be directly connecting to stream in ports, also include 8002/tcp
sudo ufw status #to check setup
```
There are a vast amount of ways to configure your network, firewall included. There are a vast amount of ways to configure your network, firewall included.
Choose the way that best fits your deployment and don't expose internal parts of your Choose the way that best fits your deployment and don't expose internal parts of your