Commit 406f924a authored by intrigeri's avatar intrigeri

Merge remote-tracking branch 'origin/feature/11736_add_torsocks_config' into...

Merge remote-tracking branch 'origin/feature/11736_add_torsocks_config' into feature/stretch (refs: #11736)
parents b6695097 b4659b6a
......@@ -4,9 +4,9 @@ set -e
echo "Configure torsocks"
# Allow TCP outbound connections to the loopback interface, so
# Allow TCP and UDP outbound connections to the loopback interface, so
# that we can wrap git with torsocks without breaking Git-over-SSH
# (SSH is torified via ProxyCommand already).
sed -i'' \
--regexp-extended 's,^#?AllowOutboundLocalhost\s+.*,AllowOutboundLocalhost 1,' \
--regexp-extended 's,^#?AllowOutboundLocalhost\s+.*,AllowOutboundLocalhost 2,' \
/etc/tor/torsocks.conf
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment