![]() ![]() Tor Expert Bundle uses SOCKSPort = 9050 and ControlPort = 9051 TBB uses SOCKSPort = 9150 and ControlPort = 9151 (technically) You effectively have 2 versions of Tor running, again one for Zcash P2P and the other for secure Tor browsing. R to reconnect etc., Note that Tor can also be stopped or restarted via the nyx menu.Īt this juncture you can download and run the Tor Browser Bundle (for browsing separately) File Name to Write: /etc/tor/torrc - is correct. This is because not having the default ports listed might make our client stand out!Īnd press the enter key i.e. Note that LongLivedPorts are the ‘default’ Tor settings + the Zcash P2P port. Now we can copy/paste our new Zcash on Tor ( torrc) settings ClientOnly 1 However, lets delete the example torrc by pressing and holding If you have never read the ‘default’ torrc then this would be a good opportunity to do just that. We can now edit our torrc file for Zcash client use. Or if easy_install is ‘missing’ you can install pip and nyx as follows:ĮDIT: If pip install -upgrade pip will not upgrade and the command returns something simila… Herewith, a basic guide for those already running Arm (now considered to be depreciated) and/or for those of you doing a fresh install. Set-up Guide for running Zcash on Tor (Ubuntu / Debian Linux Desktop) Technical Support Sudo apt-get install tor-geoipdb apparmor-utils torsocks Now lets install nyx (our Tor cli controller) and confirm some extra Tor (related) packages for Zcash use. The Tor Project provides a keyring to ensure that everything is kept up-to-date. We need to stop Tor to configure our torrc correctly. However, this time you will see get ‘pinged’ a few times. Then add the gpg key used to sign the packages by running the following commands at your command prompt: How can we help? | Tor Project | SupportĮcho 'deb trusty main' | sudo tee -a /etc/apt//torproject.list.You must add the correct package for your distribution from here: The provided example is for Ubuntu Trusty Tahr. ![]() the Tor expert bundle (for Zcash) and the Tor Browser Bundle for browsing!įirst we will install Tor (the expert bundle) and nyx.Īdd the correct package repository before you can fetch Tor. This guide will enable the user to effectively run 2 versions of Tor on a single Linux desktop i.e. Vim transparent_proxy.sh chmod +x transparent_proxy.sh. #!/bin/sh # destinations you do not want routed through Tor NON_TOR="192.168.1.0/24 192.168.0.0/24" # the UID Tor runs as, change this accordingly for your OS TOR_UID="43" # Tor's TransPort TRANS_PORT="9040" iptables -F iptables -t nat -F iptables -t nat -A OUTPUT -m owner -uid-owner $TOR_UID -j RETURN iptables -t nat -A OUTPUT -p udp -dport 53 -j REDIRECT -to-ports 5353 for NET in $NON_TOR 127.0.0.0/9 127.128.0.0/10 do iptables -t nat -A OUTPUT -d $NET -j RETURN done iptables -t nat -A OUTPUT -p tcp -syn -j REDIRECT -to-ports $TRANS_PORT iptables -A OUTPUT -m state -state ESTABLISHED,RELATED -j ACCEPT for NET in $NON_TOR 127.0.0.0/8 do iptables -A OUTPUT -d $NET -j ACCEPT done iptables -A OUTPUT -m owner -uid-owner $TOR_UID -j ACCEPT iptables -A OUTPUT -j REJECTĦ. Add this script to startup to have transparent proxy after you boot Finally we are going to set the iptables rules to send all DNS requests and etc through Tor. For this we will use a handy bash script to set everything up for us. Once you have added those 4 lines to the Torrc restart the Tor service tor restart Stopping tor daemon.done. Select all Open in new window The Torrc file is located at vim /etc/tor/torrcĤ. VirtualAddrNetwork 10.192.0.0/10 AutomapHostsOnResolve 1 TransPort 9040 DNSPort 5353 Now we're going to want to edit the Torrc configuration file and add these lines: Select all Open in new window If you are using a different distribution of Linux, use the appropriate command to start the Tor daemon.ģ. We are now going to want to start Tor, run this service tor start Starting tor daemon.done. Select all Open in new window If you are using a different distribution of Linux obviously use your package manager to install the Tor package.Ģ. To start install the 'Tor' package available in most repositories. This article assumes you will be using Linux, have a minimal knowledge of iptables and know basic Linux commands.ġ. ![]() Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. ![]()
0 Comments
Leave a Reply. |