UDP port is inaccessible #389

Closed
opened 2025-11-20 05:10:42 -05:00 by saavagebueno · 12 comments
Owner

Originally created by @fbzhong on GitHub (Jun 30, 2023).

Describe the problem
It seems like any UDP based services are inaccessible between nodes even if "Allow ALL between SRC and DEST" is enabled in access control.

To Reproduce
Steps to reproduce the behavior:

  1. Enable "Default" rule in Access Control page.
    image
  2. Listen udp port in one node by executing "nc -ul 5001"
  3. Execute the following command to test udp port on other node 'echo "hello" | nc -u {{node_ip}} 5001'
  4. See error

Expected behavior
There is "hello" printed in server node.

Originally created by @fbzhong on GitHub (Jun 30, 2023). **Describe the problem** It seems like any UDP based services are inaccessible between nodes even if "Allow ALL between SRC and DEST" is enabled in access control. **To Reproduce** Steps to reproduce the behavior: 1. Enable "Default" rule in Access Control page. <img width="1158" alt="image" src="https://github.com/netbirdio/netbird/assets/479845/92aa572a-f3f8-4088-898e-deae38dba793"> 2. Listen udp port in one node by executing "nc -ul 5001" 3. Execute the following command to test udp port on other node 'echo "hello" | nc -u {{node_ip}} 5001' 4. See error **Expected behavior** There is "hello" printed in server node.
Author
Owner

@mlsmaycon commented on GitHub (Jul 3, 2023):

Hello @fbzhong is this issue happening with peers running which version and what are the operating systems of the peers?

@mlsmaycon commented on GitHub (Jul 3, 2023): Hello @fbzhong is this issue happening with peers running which version and what are the operating systems of the peers?
Author
Owner

@fbzhong commented on GitHub (Jul 3, 2023):

Those nodes are all running 0.21.7 netbird, and OS includes Mac 13.4.1 (M1), Ubuntu 22.04.2 LTS (amd64), AlmaLinux release 8.5 (amd64).

Server:
image

Client:
image

@fbzhong commented on GitHub (Jul 3, 2023): Those nodes are all running 0.21.7 netbird, and OS includes Mac 13.4.1 (M1), Ubuntu 22.04.2 LTS (amd64), AlmaLinux release 8.5 (amd64). Server: ![image](https://github.com/netbirdio/netbird/assets/479845/b98abc99-c4a1-49e4-82c7-c3aaaf2a2a4b) Client: ![image](https://github.com/netbirdio/netbird/assets/479845/c75dc619-7491-4c09-877f-51b85fd7940a)
Author
Owner

@fbzhong commented on GitHub (Jul 13, 2023):

@mlsmaycon any comments or updates on this issue?

@fbzhong commented on GitHub (Jul 13, 2023): @mlsmaycon any comments or updates on this issue?
Author
Owner

@gpncarl commented on GitHub (Jul 18, 2023):

same, it seems only happen between mac and linux

@gpncarl commented on GitHub (Jul 18, 2023): same, it seems only happen between mac and linux
Author
Owner

@9kko commented on GitHub (Jul 22, 2023):

Same happens here but between two windows machines v0.21.8

@9kko commented on GitHub (Jul 22, 2023): Same happens here but between two windows machines v0.21.8
Author
Owner

@mlsmaycon commented on GitHub (Jul 22, 2023):

Hello @fbzhong @gpncarl @9kko , can you validate the new version 0.21.10?

@mlsmaycon commented on GitHub (Jul 22, 2023): Hello @fbzhong @gpncarl @9kko , can you validate the new version 0.21.10?
Author
Owner

@gpncarl commented on GitHub (Jul 22, 2023):

Hello @fbzhong @gpncarl @9kko , can you validate the new version 0.21.10?

yeah, it works for me

@gpncarl commented on GitHub (Jul 22, 2023): > Hello @fbzhong @gpncarl @9kko , can you validate the new version 0.21.10? yeah, it works for me
Author
Owner

@9kko commented on GitHub (Jul 22, 2023):

Hello @fbzhong @gpncarl @9kko , can you validate the new version 0.21.10?

In my case it isn't fixed, but I'm trying to remote connect through moonlight/sunshine and it seems to get slightly further now but still throwing errors about udp ports, so I'll do some troubleshooting of my own as well.

@9kko commented on GitHub (Jul 22, 2023): > Hello @fbzhong @gpncarl @9kko , can you validate the new version 0.21.10? In my case it isn't fixed, but I'm trying to remote connect through moonlight/sunshine and it seems to get slightly further now but still throwing errors about udp ports, so I'll do some troubleshooting of my own as well.
Author
Owner

@mlsmaycon commented on GitHub (Jul 22, 2023):

@9kko, can you confirm if the issue happens when the windows firewall is disabled?

@mlsmaycon commented on GitHub (Jul 22, 2023): @9kko, can you confirm if the issue happens when the windows firewall is disabled?
Author
Owner

@9kko commented on GitHub (Jul 22, 2023):

@mlsmaycon still happening, ye.

@9kko commented on GitHub (Jul 22, 2023): @mlsmaycon still happening, ye.
Author
Owner

@mlsmaycon commented on GitHub (Jul 22, 2023):

In that case, can you confirm that both clients are using the latest version? Besides that, we are using an MTU smaller than the default, 1280; can you confirm that both peers have the same MTU for the netbird interface?

It may be faster if you reach out via our Slack channel

@mlsmaycon commented on GitHub (Jul 22, 2023): In that case, can you confirm that both clients are using the latest version? Besides that, we are using an MTU smaller than the default, `1280`; can you confirm that both peers have the same MTU for the netbird interface? It may be faster if you reach out via our [Slack channel](https://join.slack.com/t/netbirdio/shared_invite/zt-vrahf41g-ik1v7fV8du6t0RwxSrJ96A)
Author
Owner

@nazarewk commented on GitHub (Apr 17, 2025):

I am closing this for lack of feedback/activity, feel free to comment if it's still relevant to reopen.

@nazarewk commented on GitHub (Apr 17, 2025): I am closing this for lack of feedback/activity, feel free to comment if it's still relevant to reopen.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#389