Skip to content

Commit

Permalink
whitelist internal ip range (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Sep 20, 2023
1 parent 01ac643 commit 1de960e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions logic/disk.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ function settingsToMultilineConfString(settings) {
umbrelBitcoinConfig.push(`bind=0.0.0.0:8333`);
umbrelBitcoinConfig.push(`bind=${constants.BITCOIND_IP}:8334=onion`);

umbrelBitcoinConfig.push(`# Whitelist local range`);
umbrelBitcoinConfig.push(`whitelist=10.21.0.0/16`);

return umbrelBitcoinConfig.join('\n');
}

Expand Down

0 comments on commit 1de960e

Please sign in to comment.