Firewall configuration #167

Closed
opened 2025-11-20 05:07:18 -05:00 by saavagebueno · 6 comments
Owner

Originally created by @misuzu on GitHub (Aug 19, 2022).

What ports must be open for netbird to function?

Originally created by @misuzu on GitHub (Aug 19, 2022). What ports must be open for netbird to function?
Author
Owner

@mlsmaycon commented on GitHub (Aug 19, 2022):

Hello @misuzu, for peers to function, usually you won't need any open ports for incoming traffic, but if you are in a more strict network, you can follow the guide here: https://netbird.io/docs/FAQ/firewall-ports

If you are self-hosting, you can view the ports here: https://netbird.io/docs/getting-started/self-hosting#requirements

@mlsmaycon commented on GitHub (Aug 19, 2022): Hello @misuzu, for peers to function, usually you won't need any open ports for incoming traffic, but if you are in a more strict network, you can follow the guide here: https://netbird.io/docs/FAQ/firewall-ports If you are self-hosting, you can view the ports here: https://netbird.io/docs/getting-started/self-hosting#requirements
Author
Owner

@misuzu commented on GitHub (Aug 19, 2022):

I've had to open incoming 51820 udp port for netbird to work between my devices. Maybe I'm doing something wrong?

@misuzu commented on GitHub (Aug 19, 2022): I've had to open incoming 51820 udp port for netbird to work between my devices. Maybe I'm doing something wrong?
Author
Owner

@mlsmaycon commented on GitHub (Aug 19, 2022):

Probably not. Could you share the output from the command below?

netbird status -d --filter-by-ips TARGET_IP

Replace TARGET_IP with an address that only worked after you opened the port

@mlsmaycon commented on GitHub (Aug 19, 2022): Probably not. Could you share the output from the command below? ```shell netbird status -d --filter-by-ips TARGET_IP ``` Replace TARGET_IP with an address that only worked after you opened the port
Author
Owner

@misuzu commented on GitHub (Aug 19, 2022):

I can't reproduce this anymore, everything is working fine without opening any ports ¯_(ツ)_/¯

@misuzu commented on GitHub (Aug 19, 2022): I can't reproduce this anymore, everything is working fine without opening any ports ¯\_(ツ)_/¯
Author
Owner

@firestrife23 commented on GitHub (Aug 9, 2023):

Hello @misuzu, for peers to function, usually you won't need any open ports for incoming traffic, but if you are in a more strict network, you can follow the guide here: https://netbird.io/docs/FAQ/firewall-ports

If you are self-hosting, you can view the ports here: https://netbird.io/docs/getting-started/self-hosting#requirements

I tried opening the second link for self-hosting, but i'm getting 404 message. I had to disable my firewall in order for all peers to be reachable... I would like to know what ports i need to open.

@firestrife23 commented on GitHub (Aug 9, 2023): > Hello @misuzu, for peers to function, usually you won't need any open ports for incoming traffic, but if you are in a more strict network, you can follow the guide here: https://netbird.io/docs/FAQ/firewall-ports > > If you are self-hosting, you can view the ports here: https://netbird.io/docs/getting-started/self-hosting#requirements I tried opening the second link for self-hosting, but i'm getting 404 message. I had to disable my firewall in order for all peers to be reachable... I would like to know what ports i need to open.
Author
Owner

@mlsmaycon commented on GitHub (Aug 9, 2023):

@firestrife23 you can use this link: https://docs.netbird.io/selfhosted/selfhosted-guide#requirements

@mlsmaycon commented on GitHub (Aug 9, 2023): @firestrife23 you can use this link: https://docs.netbird.io/selfhosted/selfhosted-guide#requirements
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#167