install_tor.sh 256 B

12345678
  1. #!/bin/bash
  2. cp /etc/tor/torrc /etc/tor/torrc.bak
  3. echo "Log notice file /var/log/tor/notices.log
  4. VirtualAddrNetwork 10.192.0.0/10
  5. AutomapHostsSuffixes .onion,.exit
  6. AutomapHostsOnResolve 1
  7. TransPort 192.168.4.1:9040
  8. DNSPort 192.168.4.1:53" >> /etc/tor/torrc