A repo to help users implement system wide proxy chaining using tornet which routes all traffic through tor.
Follow the write up for help: medium.com/@0xc7r/
Issues with electron apps and starting them:
proxychains4 issue
You can try to add --no-sandbox --in-process-gpu
to attempt to get the electron app to boot however some apps like discord will boot and then close which will require a flatpak installation.
git clone https://github.com/0XC7R/Tornet-x-Proxychains # clone it
cd Tornet-x-Proxychains # go to the path we cloned
chmod +x 'installer.sh' # allow us to execute the sh scripts
chmod +x 'setup.sh' # allow us to execute the sh scrips
chmod +x 'edit profile.sh' # user later
chmod +x 'edit proxychain.sh' # used later
sudo ./installer.sh && sudo ./setup.sh # run both scripts with super user
# We run the installer first so we can install needed packages
# like python3, pip, proxychains etc
# put at the very very bottom
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libproxychains.so.4
export PROXYCHAINS_CONF_FILE=/etc/proxychains.conf
Open your proxychains configuration file and add the following line(s):
# put directly above '[ProxyList]'
localnet 127.0.0.0/255.0.0.0 # allows you to connect to anything on those ips while keeping you connected to your proxies
# This can expose your home ip to applications.
# I recommend adding 'proxychains4' before the app command, running all traffic through the tor nodes like wanted
# Electrum apps not starting then add: --no-sandbox --in-process-gpu
# ^ Will usually fix electrum apps breaking
This shell script downloads tornet using pip and creates a new python script for tornet called "tornet.py" at /usr/local/bin/ and will also install python3 if it is not installed same for pip.
curl -X GET https://api.ipify.org # request our ip from the api
# Example output 192.168.0.154
Compare your ip to the one outputted from curl.
If there is an issue with running setup.sh download the tornet.py script and put it at /usr/local/bin your self.
Make sure you have sufficent perms to run. This will install tornet, python3, pip and also proxychains package. If you cannot install any of those packages please configure your apt source and then come back.