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