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. 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();