i Route all network traffic through Tor – All things in moderation

Route all network traffic through Tor

    • What is Tor ?

      Tor or “The onion Route” is a service created to allow people anonymously browse the Internet. Tor makes it difficult for anyone to trace your internet activities back to you and is designed to protect your privacy online

    • How tor work?

      It work by routing your internet traffic through Tor’s network of random selected relays(run by volunteers) that scattered all over the world

      wat_is_tor_the_onion_routing

All the traffic that passes through these within the Tor network gets encrypted and re-encrypted multiple times until it reaches the exit node(the last computer in the Tor network)At the exit node, the last layer of encryption gets decrypted and the data sent to the destination withour revealing who the sendenr is

  • How to install Tor ?

    apt-get install tor
    #use tor :
    service tor start
    service tor status
    service tor stop

Route all network traffic through Tor

  • Enable the transperant proxy and the DNS proxy. Add these lines:

    gedit /etc/tor/torrc
    # add lines:
    # Range IP pirvate in LAN
    VirtualAddrNetwork 10.192.0.0/10
    AutomapHostsOnResolve 1
    TransPort 9040
    DNSPort 53

  • Download shell follow link:
    https://github.com/parrotsec/anonsurf

    Extract file then drag file anonsurf in the Terminal.
    Type ‘start’ press Enter . You are welcome in Tor’s network.

    Screenshot from 2016-04-01 11:29:42

Some keywords you should know when using Tor

Screenshot from 2016-04-01 15:31:13

  • VirtualAddrNetwork

    When Tor needs to assign a virtual (unused) address because of a MAPADDRESS command from the controller or the AutomapHostsOnResolve feature, Tor picks an unassigned address from this range. (Defaults: 127.192.0.0/10 and /10 respectively.)
    When providing proxy server service to a network of computers using a tool like dns-proxy-tor, change the IPv4 network to “10.192.0.0/10” or “172.16.0.0/12” or “192.168.0.0/16” and change the IPv6 network to “[FC00]/7”.

  • AutomapHostsOnResolve

    When serving a hostname lookup request on this port that should get automapped (according to AutomapHostsOnResolve), if we could return either an IPv4 or an IPv6 answer, prefer an IPv6 answer. (On by default.)

  • Transparent Proxy

    Transparent proxies are intermediary systems that sit between a user and a content provider. When a user makes a request to a web server, the transparent proxy intercepts the request to perform various actions including caching, redirection and authentication.

    Graphic for transparent proxy by MaxCDN.

  • ‘nameserver’

    In file anonsurf.sh like public DNS server, you can change DNS server default as goolgle(8.8.8.8/8.8.4.4) or other DNS server public.

Leave a Reply