Improve torrc

This commit is contained in:
Jesús 2021-05-24 19:12:41 -05:00
parent 0d0db95b46
commit 16c2bf4984
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -80,7 +80,7 @@ fi
if [ "$ROUTE_TOR" = 1 ] || [ "$ROUTE_TOR" = 2 ]; then if [ "$ROUTE_TOR" = 1 ] || [ "$ROUTE_TOR" = 2 ]; then
cat > /etc/torrc <<- EOF cat > /etc/torrc <<- EOF
Log notice stdout Log notice stdout
SocksPort 0.0.0.0:9050 SocksPort 9050 # Default: Bind to localhost:9050 for local connections.
EOF EOF
tor -f /etc/torrc --runasdaemon 1 tor -f /etc/torrc --runasdaemon 1
fi fi