Go to file
xxx_stroboscope_420_xxx 8972bfc43f Added files 2023-05-11 23:35:40 +03:00
LICENSE Initial commit 2023-05-11 20:26:02 +00:00
README.md Added files 2023-05-11 23:35:40 +03:00
build.sh Added files 2023-05-11 23:35:40 +03:00
requirements.txt Added files 2023-05-11 23:35:40 +03:00
torswitch.py Added files 2023-05-11 23:35:40 +03:00
torswitch_openrc.py Added files 2023-05-11 23:35:40 +03:00

README.md

TorSwitch

What is it?

TorSwitch is a fork of TorGhost. It configures the onion router to redirect all internet traffic through SOCKS5 Tor proxy. DNS requests are also redirected via Tor, thus preventing DNS leaks. The script also disables unsafe packets exiting the system. Some packets like ping request can compromise your identity, therefore they are blocked.

Build and install from source

If you are feeling lucky and running SystemD, then you can try out build script, that is mostly untested and deprecated:

sh ./build.sh

Usage

sudo python3 torswitch/torswitch.py -h

or

Make script executable:

cd torswitch && chmod u+x torswitch.py && mv torswitch.py torswitch

And use it like:

torswitch -h

TODO

  1. Fix build script on trisquel
  2. Test the OpenRC version
  3. Make auto-detection of init system and merge both versions to single script
  4. Rewrite in 6502 assembly