From 3fc660d267191dc04f2b4528fc2b991c52c83e95 Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Thu, 17 Jul 2025 12:43:04 -0400 Subject: [PATCH 1/2] mapport: turn -natpmp to on by default --- src/mapport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mapport.h b/src/mapport.h index 3f16b2ea619..ea16aef7da0 100644 --- a/src/mapport.h +++ b/src/mapport.h @@ -5,7 +5,7 @@ #ifndef BITCOIN_MAPPORT_H #define BITCOIN_MAPPORT_H -static constexpr bool DEFAULT_NATPMP = false; +static constexpr bool DEFAULT_NATPMP = true; void StartMapPort(bool enable); void InterruptMapPort(); From b2d07f872c58af9cfdf9f9a4af0645376f9b98cb Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Thu, 17 Jul 2025 13:01:05 -0400 Subject: [PATCH 2/2] Add release notes for -natpmp enabled by default --- doc/release-notes-33004.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 doc/release-notes-33004.md diff --git a/doc/release-notes-33004.md b/doc/release-notes-33004.md new file mode 100644 index 00000000000..c8a869f5046 --- /dev/null +++ b/doc/release-notes-33004.md @@ -0,0 +1,6 @@ +Updated settings +---------------- + +* The `-natpmp` option is now set to `1` by default. This means nodes with `-listen` enabled (the + default) but running behind a firewall, such as a local network router, will be reachable if the + firewall/router supports any of the `PCP` or `NAT-PMP` protocols.