Page MenuHomePhabricator

net: Add -natpmp command line option
ClosedPublic

Authored by PiRK on Sep 29 2022, 14:14.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCa5c67b8aa9ae: net: Add -natpmp command line option
Summary
Test Plan
ninja 
src/bitcoind -natpmp=1
src/qt/bitcoin-qt -natpmp=1

In bitcoin-qt, go to menu Settings > Options > Network, and check for a message "Options set in this dialog are overridden by the command line or in the configuration file: -natpmp=1"

In the bitcoind output, search for lines containing natpmp:
2022-09-29T14:07:00Z natpmp: The gateway does not support NAT-PMP.