<!DOCTYPE html><head><metacharset="utf-8"/><metaname="description"content="C.C.M. personal website"/><metaname="viewport"content="width=device-width, initial-scale=1"/><title>🛡️ Torando — C.C.M. Homepage</title><linkrel="stylesheet"href="/css/default.css"/></head><body><header><divid="block"><p>+>---------------------------<+</p><p>[<ahref="/about.html">About</a>]--[<ahref="/research.html">Research</a>]--[<ahref="/projects.html">Projects</a>]</p><p>+>---------------------------<+</p><br/></div></header><divid="block"><h1>🛡️ Torando</h1><div>February 17, 2024</div><div><h2>Tor VPN on whole system</h2><p><divstyle="text-align: center"><imgsrc="/images/torando.png"/></div></p><p>🇧🇷 Para o tutorial em português clique [<ahref="https://github.com/cristiancmoises/torando/blob/main/LEIA-ME.md">aqui</a>]</p><hr/><h1>Download</h1><h2>[<ahref="/download/torando.sh">Torando</a>]</h2><h2>[<ahref="/download/toroff.sh">Toroff</a>]</h2><h2>Do you need the tor package to run this. Instal tor first!</h2><blockquote><p>DEBIAN:</p></blockquote><divid="code"><prestyle="overflow: auto"><code> apt update && apt upgrade && apt install tor torsocks -y</code></pre></div><blockquote><p>GENTOO:</p></blockquote><divid="code"><prestyle="overflow: auto"><code> emerge tor torsocks</code></pre></div><blockquote><p>ARCH:</p></blockquote><divid="code"><prestyle="overflow: auto"><code> pacman tor torsocks -Syu</code></pre></div><blockquote><p>OPENSUSE:</p></blockquote><divid="code"><prestyle="overflow: auto"><code> zypper install tor torsocks -y</code></pre></div><h2>FIRST STEP - CHANGE THE CONFIG</h2><p>Clone the repo and open the <em>torando.sh</em> and change USERAQUI for your username.
Do the same on <em>toroff.sh</em></p><divid="code"><prestyle="overflow: auto"><code>git clone https://github.com/cristiancmoises/torando
cd torando
chmod +x *
nano torando.sh</code></pre></div><h2>EDIT TORRC</h2><divid="code"><prestyle="overflow: auto"><code>nano /etc/tor/torrc</code></pre></div><p>Then paste in the end:</p><divid="code"><prestyle="overflow: auto"><code>VirtualAddrNetwork 10.192.0.0/10
AutomapHostsOnResolve 1
TransPort 9040
DNSPort 53</code></pre></div><h2>NOW EDIT THE RESOLV.CONF</h2><divid="code"><prestyle="overflow: auto"><code>nano /etc/resolv.conf</code></pre></div><h2>FOR SECURITY</h2><divid="code"><prestyle="overflow: auto"><code>chattr +i /etc/resolv.conf</code></pre></div><h2>THEN REMOVE ALL AND PASTE</h2><divid="code"><prestyle="overflow: auto"><code>nameserver 127.0.0.1 </code></pre></div><h2>FIREFOX CONFIG - NO DNS LEAK</h2><p><em>Go to the firefox and digit <em>about:config</em> then press enter.</em></p><divid="code"><prestyle="overflow: auto"><code> about:config</code></pre></div><blockquote><h4>OK, Now paste the command and search, then change the value:</h4></blockquote><divid="code"><prestyle="overflow: auto"><code>network.proxy.socks_remote_dns |True
browser.safebrowsing.enabled |True
browser.safebrowsing.malware.enabled |False </code></pre></div><h2>NOW YOU CAN TURN ON THE TORANDO.SH!</h2><divid="code"><prestyle="overflow: auto"><code> cd torando
./torando.sh</code></pre></div><h2>FOR DISABLE</h2><divid="code"><prestyle="overflow: auto"><code> cd torando
./toroff.sh</code></pre></div><h2>BONUS! EDIT YOUR BASHRC/FISH OR WHATEVER...</h2><divid="code"><prestyle="overflow: auto"><code> nano .bashrc</code></pre></div><h3>INCLUDE:</h3><divid="code"><prestyle="overflow: auto"><code> alias torando="./torando.sh"