Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/docs/guides/vpn-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Run these four commands:
```sh
sudo ufw allow OpenSSH
sudo ufw allow 500,4500/udp
sudo ufw allow 5
sudo ufw allow 53
Copy link

Copilot AI Mar 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sudo ufw allow 53 opens DNS (TCP+UDP) to the public internet from any source. If the intent is only to let VPN clients resolve DNS through the tunnel, it’s safer to restrict this rule to the VPN client subnet/interface (e.g., 10.10.10.0/24) and/or specify the exact protocol(s) needed (53/udp and only add 53/tcp if required) to avoid accidentally creating an open resolver/amplification surface.

Suggested change
sudo ufw allow 53
sudo ufw allow from 10.10.10.0/24 to any port 53 proto udp

Copilot uses AI. Check for mistakes.
sudo ufw enable
```

Expand Down
Loading