Skip to content

Latest commit

 

History

History
50 lines (42 loc) · 1017 Bytes

04-network.md

File metadata and controls

50 lines (42 loc) · 1017 Bytes

04 Network

Network

Setting Network Limits

  • check bandwidth usage
    • vnstat -d
  • bd ... -listen=0
  • bd ... -maxconnections=20
  • bd ... -maxuploadtarget=500
  • bd ... -blocksonly

Tor

Run a bitcoin hidden service

  • add to torrc
HiddenServiceDir /var/lib/tor/bitcoin-service/
HiddenServicePort 8333 127.0.0.1:8333
  • ONION=cat /var/lib/tor/bitcoin-service/hostname

  • bd ... -proxy=127.0.0.1:9050

  • bd ... -listen=1

    • listen despite proxy
  • bd ... -listenonion=0

    • no ephemeral HS
  • bd ... -externalip=$ONION

  • bd ... -bind=127.0.0.1

    • otherwise still allowing non-Tor
  • bc getnetworkinfo

Ephemeral Hidden services

  • configure tor control port