Commit e87d3335 authored by Eduard Toloza's avatar Eduard Toloza

Update README.md

parent e8057f1b
......@@ -3,12 +3,37 @@
Tor Router allow you to use TOR as a transparent proxy and send all your trafic under TOR **INCLUDING DNS REQUESTS**, the only that you need is: a system using systemd (if you want to use the service) and tor.
# Script to install on distros using SystemD only
```
~$ git clone https://gitlab.com/edu4rdshl/tor-router.git && cd ./tor-router && sudo bash install.sh
```
# Usage
In distros using systemd, you should consideer using the install.sh script, anyways the process to install/configure tor-router is described here.
**It script require root privileges**
1. Open a terminal and clone the script using the following command:
```
~$ git clone https://gitlab.com/edu4rdshl/tor-router.git && cd tor-router/files
```
2. Put the following lines at the end of /etc/tor/torrc
```
# Seting up TOR transparent proxy for tor-router
VirtualAddrNetwork 10.192.0.0/10
AutomapHostsOnResolve 1
TransPort 9040
DNSPort 5353
```
3. Restart the tor service
4. Execute the tor-router script as root
```
# sudo ./tor-router
```
5. Now all your traffic is under TOR, you can check that in the following pages: https://check.torproject.org and for DNS tests: https://dnsleaktest.com
# Uninstalling/Stoping
Move your /etc/tor/torrc.backup file to /etc/tor/torrc (or delete the tor-router configuration lines), disable the tor-router.service using systemctl, remove /usr/bin/tor-router, /etc/systemd/system/tor-router.service and restart your computer.
Delete the tor-router configuration lines in /etc/tor/torrc, disable the tor-router.service using systemctl (if you used the install.sh script), remove /usr/bin/tor-router, /etc/systemd/system/tor-router.service and restart your computer.
# Distros using the script
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment