Tor Router - A Tool That Permit Yous To Brand Tor Your Default Gateway Together With Post All Mesh Connections Nether Tor
Tor Router allow you lot to purpose TOR equally a transparent proxy in addition to mail all your trafic nether TOR INCLUDING DNS REQUESTS, the solely that you lot require is: a organization using systemd (if you lot desire to purpose the service) in addition to tor.
Script to install on distros using SystemD only
If you lot are using BlackArch Linux (https://blackarch.org) you lot tin install the script from the repos using the next command:
# pacman -S tor-router
To install from source:
$ git clone https://gitlab.com/edu4rdshl/tor-router.git && cd ./tor-router && sudo bash install.sh
Usage
In distros using systemd, you lot should consideer using the install.sh script, anyways the procedure to install/configure tor-router is described here.
It script require root privileges
- Open a final in addition to clone the script using the next command:
$ git clone https://gitlab.com/edu4rdshl/tor-router.git && cd tor-router/files
- Put the next lines at the goal of /etc/tor/torrc
# Seting upwardly TOR transparent proxy for tor-router VirtualAddrNetwork 10.192.0.0/10 AutomapHostsOnResolve 1 TransPort 9040 DNSPort 5353
- Restart the tor service
- Execute the tor-router script equally root
# sudo ./tor-router
- Now all your traffic is nether TOR, you lot tin cheque that inward the next pages: https://check.torproject.org in addition to for DNS tests: https://dnsleaktest.com
- In club to automate the procedure of the script, you lot should add together it to the SYSTEM autostart scripts according that the init that you lot are using, for systemd nosotros accept a .service file inward the files folder.
Uninstalling/Stoping
Delete the tor-router configuration lines inward /etc/tor/torrc, disable the tor-router.service using systemctl (if you lot used the install.sh script), take away /usr/bin/tor-router, /etc/systemd/system/tor-router.service in addition to restart your computer.
Proof of concept
After of run the script, follow the side past times side steps to ensure that all is working equally expected:
- Ip hidden in addition to TOR network configured: Visit https://check.torproject.org, you lot should come across a message similar it:
- Checking DNS Leaks: Visit https://dnsleaktest.com in addition to brand a extended exam to come across what are your DNS. You shloud decease to a greater extent than or less similar it:
Distros using the script
BlackArch Linux: https://github.com/BlackArch/blackarch/blob/master/packages/tor-router