From 2692f08d3b3418097f7c4e5360e4ca7d5c37100d Mon Sep 17 00:00:00 2001 From: Kristaps Kaupe Date: Tue, 12 Apr 2022 02:57:49 +0300 Subject: [PATCH] Update local Tor config --- install.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 8ff0a48..6da5229 100755 --- a/install.sh +++ b/install.sh @@ -385,9 +385,12 @@ tor_install () pushd "${tor_version}" if tor_build; then $make install - # Create blank tor config, it will default to running socks5 proxy - # at 127.0.0.1:9050 and should be enough for us. - > "${jm_root}/etc/tor/torrc" + echo "# Default JoinMarket Tor configuration +Log warn stderr +SOCKSPort 9050 IsolateDestAddr IsolateDestPort +ControlPort 9051 +CookieAuthentication 1 + " > "${jm_root}/etc/tor/torrc" else return 1 fi