1
0
Fork 0

Install Tor

This commit is contained in:
Braiden Vasco 2017-09-27 17:07:58 +00:00
parent 53cf3fdbd4
commit 3775ec1cc7
2 changed files with 23 additions and 0 deletions

View file

@ -259,6 +259,15 @@ systemctl disable hwclock.sh
fake-hwclock save
EOF
##
# Install Tor (without torsocks because Tor SOCKS proxy is disabled).
#
on_chroot << EOF
apt-get install -y --no-install-recommends tor
EOF
apply_file 644 '/etc/tor/torrc'
##
# Cleanup after Quilt patching.
#

14
files/etc/tor/torrc Normal file
View file

@ -0,0 +1,14 @@
SocksPort 0
VirtualAddrNetworkIPv4 10.192.0.0/10
AutomapHostsOnResolve 1
AutomapHostsSuffixes .onion,.exit
TransPort 9040
TransListenAddress 127.0.0.1
TransListenAddress 192.168.82.1
DNSPort 5353
DNSListenAddress 127.0.0.1
DNSListenAddress 192.168.82.1