zet: document UFW rules required for nginx on LAN
Ports 80 and 443 must be open in UFW so LAN clients using split DNS can reach nginx directly without going through pfSense NAT. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -63,6 +63,17 @@ sudo systemctl restart nginx # full restart
|
|||||||
sudo nginx -t # test config syntax before applying
|
sudo nginx -t # test config syntax before applying
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## UFW Firewall Rules
|
||||||
|
|
||||||
|
Ports 80 and 443 must be open in UFW on zet for LAN clients to reach nginx directly (split DNS bypasses pfSense NAT):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo ufw allow 80/tcp comment 'nginx HTTP'
|
||||||
|
sudo ufw allow 443/tcp comment 'nginx HTTPS'
|
||||||
|
```
|
||||||
|
|
||||||
|
Current UFW status also allows: Samba, NFS (LAN only), SSH (22), Squid (3128), Gitea (3000).
|
||||||
|
|
||||||
## pfSense NAT Rules
|
## pfSense NAT Rules
|
||||||
|
|
||||||
| WAN Port | Redirect to | Port | Description |
|
| WAN Port | Redirect to | Port | Description |
|
||||||
|
|||||||
Reference in New Issue
Block a user