summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-includes/etc/tor/tor-tsocks-git.conf
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-includes/etc/tor/tor-tsocks-git.conf')
-rw-r--r--config/chroot_local-includes/etc/tor/tor-tsocks-git.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/config/chroot_local-includes/etc/tor/tor-tsocks-git.conf b/config/chroot_local-includes/etc/tor/tor-tsocks-git.conf
new file mode 100644
index 0000000..8bc623c
--- /dev/null
+++ b/config/chroot_local-includes/etc/tor/tor-tsocks-git.conf
@@ -0,0 +1,19 @@
+# This is the configuration for libtsocks (transparent socks) for use
+# with Git: /usr/local/bin/git
+#
+# See tsocks.conf(5) and torify(1) manpages.
+
+server = 127.0.0.1
+server_port = 9050
+
+# We specify local as 127.0.0.0 - 127.191.255.255 because the
+# Tor MAPADDRESS virtual IP range is the rest of net 127.
+local = 127.0.0.0/255.128.0.0
+local = 127.128.0.0/255.192.0.0
+
+
+# My local networks
+local = 10.0.0.0/255.0.0.0
+local = 172.16.0.0/255.240.0.0
+local = 192.168.0.0/255.255.0.0
+