NAT-PMP port forwarding support #11902

issue laanwj opened this issue on December 14, 2017
  1. laanwj commented at 8:22 PM on December 14, 2017: member

    After repeated issues with libminiupnpc's security we disabled uPNP by default since release 0.11.1.

    However this means that by default there is no port forwarding, resulting in nodes not being reachable for incoming connections by default (unless they use tor), and a reduction in the number of externally reachable nodes compared to total nodes.

    NAT-PMP (RFC 6886) is another common automatic port forwarding protocol that would be much less risky than UPnP, because it uses fixed-size UDP packets instead of XML parsing. It would be fairly straightforward to support that without introducing a new dependency.

    (NAT-PMP was succeeded by PCP, or RFC 6887 which is backwards compatible, probably preferable to support the lowest common denominator)

  2. laanwj added the label help wanted on Dec 14, 2017
  3. laanwj added the label P2P on Dec 14, 2017
  4. 0xmichalis cross-referenced this on Jan 19, 2018 from issue Suggestion: move p2p out of grin by sesam
  5. annanay25 cross-referenced this on Jan 28, 2018 from issue [WIP][NET] Add NATPMP support. by annanay25
  6. MarcoFalke added the label good first issue on Nov 5, 2018
  7. MarcoFalke removed the label help wanted on Nov 5, 2018
  8. MishraShivendra commented at 8:04 PM on March 23, 2019: none

    Can someone please assign this issue to me?

  9. MarcoFalke commented at 11:49 PM on March 23, 2019: member

    @MishraShivendra Just go for it, no need to ask for permission or assignment.

  10. 0xmichalis cross-referenced this on Mar 24, 2019 from issue NAT traversal support by 0xmichalis
  11. MishraShivendra cross-referenced this on Apr 1, 2019 from issue Changes to support NAT-PMP by MishraShivendra
  12. Sjors cross-referenced this on Oct 1, 2019 from issue Add IPv6 pinhole support using UPnP / NAT-PMP by Sjors
  13. hebasto cross-referenced this on Feb 5, 2020 from issue net: Add NAT-PMP port forwarding support by hebasto
  14. jonjamcam cross-referenced this on Jun 13, 2020 from issue Implement NAT-PMP protocol to improve Private server port forwarding? by jonjamcam
  15. laanwj closed this on Jan 7, 2021

  16. bitcoin locked this on Aug 16, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:55 UTC