Feature Request:​​ Integrate UPnP client functionality into the NetBird client to enable automatic port mapping via UPnP on upstream gateway devices. #1869

Open
opened 2025-11-20 06:08:17 -05:00 by saavagebueno · 4 comments
Owner

Originally created by @davidchi2020 on GitHub (May 6, 2025).

It would be highly beneficial to integrate a UPnP client directly into the NetBird client. This would allow NetBird to automatically request port mappings on UPnP-enabled routers/gateways, improving NAT traversal capabilities and reducing the need for manual port forwarding configurations. Such functionality would enhance connectivity in scenarios where users lack administrative access to network devices or want to simplify deployment.

Key benefits:

  1. Increased NAT traversal success rates
  2. Reduced manual configuration for end-users
  3. Higher success rate in establishing direct P2P connections between peers​. Improved peer-to-peer connectivity in restricted network environments
Originally created by @davidchi2020 on GitHub (May 6, 2025). It would be highly beneficial to integrate a UPnP client directly into the NetBird client. This would allow NetBird to automatically request port mappings on UPnP-enabled routers/gateways, improving NAT traversal capabilities and reducing the need for manual port forwarding configurations. Such functionality would enhance connectivity in scenarios where users lack administrative access to network devices or want to simplify deployment. Key benefits: 1. Increased NAT traversal success rates 2. Reduced manual configuration for end-users 3. Higher success rate in establishing direct P2P connections between peers​. Improved peer-to-peer connectivity in restricted network environments
saavagebueno added the feature-requestnetworking labels 2025-11-20 06:08:17 -05:00
Author
Owner

@1nerdyguy commented on GitHub (May 6, 2025):

While I get the idea on this, I can't think of where I've found an actually enabled UPnP environment in the wild for years, due to the MANY concerns on UPnP

@1nerdyguy commented on GitHub (May 6, 2025): While I get the idea on this, I can't think of where I've found an actually enabled UPnP environment in the wild for years, due to the MANY concerns on UPnP
Author
Owner

@Youwenqwq commented on GitHub (May 9, 2025):

Might help solve some problem in #3777

@Youwenqwq commented on GitHub (May 9, 2025): Might help solve some problem in #3777
Author
Owner

@demanuPL commented on GitHub (Jul 1, 2025):

This feature is more than necessary, especially for routers like pfSense or OPNSense where the only way to get p2p connection is setting separated static ports, opening these (and redirect on NAT in case of ipv4 connection) which negates the whole idea of ​​using Netbird.

@demanuPL commented on GitHub (Jul 1, 2025): This feature is more than necessary, especially for routers like pfSense or OPNSense where the only way to get p2p connection is setting separated static ports, opening these (and redirect on NAT in case of ipv4 connection) which negates the whole idea of ​​using Netbird.
Author
Owner

@josark2005 commented on GitHub (Jul 9, 2025):

Same problem with #3777 , upnp may helps a lot.

@josark2005 commented on GitHub (Jul 9, 2025): Same problem with #3777 , upnp may helps a lot.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1869