docs: create 3.0.0-alpha.12 docs
This commit is contained in:
parent
05342e2e83
commit
16d7461263
108 changed files with 5103 additions and 0 deletions
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
title: How to setup a firewall using UFW
|
||||
---
|
||||
|
||||
This tutorials will walk you though the steps required to setup a firewall using [UFW](https://doc.ubuntu-fr.org/ufw).
|
||||
|
||||
## 1. Install and enable `UFW`
|
||||
|
||||
First you need to make sure UFW is installed and enabled:
|
||||
|
||||
```bash
|
||||
sudo apt install ufw
|
||||
sudo ufw enable
|
||||
```
|
||||
|
||||
## 2. Configure allowed ports
|
||||
|
||||
Next, you need to configure the firewall allowed ports:
|
||||
|
||||
```bash
|
||||
sudo ufw allow 22,80,8000/tcp
|
||||
```
|
||||
|
||||
If you plan to use the live stream input endpoint, be sure to open the `8001` and `8002` ports:
|
||||
|
||||
```bash
|
||||
sudo ufw allow 8001,8002/tcp
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue