aboutsummaryrefslogtreecommitdiffstats
path: root/posts/torando.md
blob: 0d8f30955fe79a558c6d3b22dbd061e1a29711a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
title:🛡️ Torando
date: 2024-02-17 19:00
tags: projects
summary: Tor VPN on whole system
---
Tor VPN on whole system
---
![torando](/images/torando.png)

🇧🇷 Para o tutorial em português clique [aqui](https://github.com/cristiancmoises/torando/blob/main/LEIA-ME.md)
_____________________________________________
# Download
## [Torando](/download/torando.sh)
## [Toroff](/download/toroff.sh)

## Do you need the tor package to run this. Instal tor first!
> DEBIAN:
              
          apt update && apt upgrade && apt install tor torsocks -y
> GENTOO: 
       
          emerge tor torsocks

> ARCH: 
          
         pacman tor torsocks -Syu

> OPENSUSE: 
          
         zypper install tor torsocks -y

## FIRST STEP - CHANGE THE CONFIG
Clone the repo and open the _torando.sh_ and change USERAQUI for your username.
Do the same on _toroff.sh_

    git clone https://github.com/cristiancmoises/torando
    cd torando
    chmod +x *
    nano torando.sh
    
## EDIT TORRC

    nano   /etc/tor/torrc

Then paste in the end:

    VirtualAddrNetwork 10.192.0.0/10
    AutomapHostsOnResolve 1
    TransPort 9040
    DNSPort 53

## NOW EDIT THE RESOLV.CONF

    nano /etc/resolv.conf

## FOR SECURITY

    chattr +i /etc/resolv.conf
    
## THEN REMOVE ALL AND PASTE
    nameserver 127.0.0.1 
    
## FIREFOX CONFIG - NO DNS LEAK
_Go to the firefox and digit *about:config* then press enter._
                
           about:config

> #### OK, Now paste the command and search, then change the value:
    network.proxy.socks_remote_dns       |True     
    browser.safebrowsing.enabled         |True                     
    browser.safebrowsing.malware.enabled |False             

## NOW YOU CAN TURN ON THE TORANDO.SH!
      cd torando
     ./torando.sh
## FOR DISABLE
     cd torando
    ./toroff.sh

## BONUS! EDIT YOUR BASHRC/FISH OR WHATEVER... 
     nano .bashrc
### INCLUDE:
     alias torando="./torando.sh"
     alias toroff="./offtor.sh"

    
## THAT'S ALL! 
![anon](/images/anon.gif)