Created
January 7, 2026 16:40
-
-
Save gadzhimari/0947db4e3c10f746aca2011ddf4b32e8 to your computer and use it in GitHub Desktop.
UFW firewall rules for Netbird
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # HTTP/HTTPS | |
| sudo ufw allow 80/tcp comment 'NetBird HTTP' | |
| sudo ufw allow 443/tcp comment 'NetBird HTTPS' | |
| # Signal and TURN services | |
| sudo ufw allow 10000/tcp comment 'NetBird Signal' | |
| sudo ufw allow 3478/udp comment 'NetBird STUN/TURN' | |
| # Relay services | |
| sudo ufw allow 33073/udp comment 'NetBird TURN Relay' | |
| sudo ufw allow 33080/tcp comment 'NetBird Relay' | |
| sudo ufw allow 49152:65535/udp comment 'NetBird Dynamic Relay Range' | |
| # Verify | |
| sudo ufw status numbered |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment