mirror of
https://github.com/fosrl/docs-v2.git
synced 2026-02-26 14:56:47 +00:00
Add 21820 ports in
This commit is contained in:
@@ -100,7 +100,8 @@ gerbil:
|
||||
ports:
|
||||
- "80:80" # HTTP/SSL verification and non-SSL resources
|
||||
- "443:443" # HTTPS for web UI and SSL resources
|
||||
- "51820:51820" # WireGuard for Newt and client connections
|
||||
- "51820:51820" # WireGuard for Newt connections
|
||||
- "21820:21820" # WireGuard for client connections
|
||||
```
|
||||
|
||||
### Firewall Configuration
|
||||
@@ -112,7 +113,7 @@ Ensure your VPS firewall allows these ports:
|
||||
Configure security groups/firewall rules in your cloud provider's dashboard to allow:
|
||||
|
||||
- TCP ports 80 and 443
|
||||
- UDP port 51820
|
||||
- UDP ports 51820 and 21820
|
||||
</Tab>
|
||||
|
||||
<Tab title="UFW (Ubuntu)">
|
||||
@@ -120,6 +121,7 @@ Ensure your VPS firewall allows these ports:
|
||||
sudo ufw allow 80/tcp
|
||||
sudo ufw allow 443/tcp
|
||||
sudo ufw allow 51820/udp
|
||||
sudo ufw allow 21820/udp
|
||||
sudo ufw enable
|
||||
```
|
||||
</Tab>
|
||||
@@ -129,6 +131,7 @@ Ensure your VPS firewall allows these ports:
|
||||
sudo firewall-cmd --permanent --add-port=80/tcp
|
||||
sudo firewall-cmd --permanent --add-port=443/tcp
|
||||
sudo firewall-cmd --permanent --add-port=51820/udp
|
||||
sudo firewall-cmd --permanent --add-port=21820/udp
|
||||
sudo firewall-cmd --reload
|
||||
```
|
||||
</Tab>
|
||||
|
||||
Reference in New Issue
Block a user