guest@backslash:~/posts/bitcoin/tor-for-bitcoin$

TOR for Bitcoin

~1 mincrypto bitcoin lightning network linux

TOR with bitcoin

A Tor config that opens a SOCKS proxy, so Bitcoin services on the local network can route their traffic through Tor.

Config

sh
SocksPort 0.0.0.0:9050
ControlPort 0.0.0.0:9051

DataDirectory /home/tor/data

## debug
# Log debug stdout
Log notice stdout

NickName TestSmallDocker

SocksPolicy accept 172.24.0.0/24
SocksPolicy reject *

HashedControlPassword 16:2E145AA4CFF0FF4960D9B49DAB4D99ABBA6257FF00C84CE4732C46862D
# CookieAuthentication 1

Test

sh
torsocks -a 192.168.1.2 -P 9050 curl https://api.ipify.org/?format=json

BACKSLASH(1)                  User Commands

NAME
       backslash - keyboard navigation

KEYS
       j / k      scroll down / up
       n / p      next / previous post
       gg / G     top / bottom of the page
       /          filter posts
       ?          this help
       Esc        close