How to make the perfect TOR VM in VirtualBox
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 2.8KB

5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # TORVM - a perfectly automated TOR VM
  2. ## About
  3. **TORMV is an installation script to setup a _pretty secure_ Linux VM (debian) for "super anonymous" browsing** (might need to rework that description, but you get it).
  4. ## Installation
  5. * install VirtualBox for your OS
  6. * create a new VM and make sure you have
  7. * enabled 3D acceleration
  8. * enabled NAT networking
  9. * download debian https://cdimage.debian.org/cdimage/buster_di_alpha5/amd64/iso-cd/debian-buster-DI-alpha5-amd64-netinst.iso (Buster is needed as it has an up-to-date enlightenment release)
  10. * install debian and make sure you do the following during installation:
  11. * select "Expert install" (under "Advanced options") in grub
  12. * do not enable NTP, it will not work. Make sure your host has an accurate time, the guest will use it.
  13. * partition disk with LVM and crypto (use a long password, possibly a sentence)
  14. * don't allow root login, create an anonymous user account (for example "user")
  15. * unselect everything at tasksel (Desktop installation, print server,...)
  16. * finish install and reboot
  17. * after reboot, login and sudo su to become root
  18. * install git client `apt-get install git`
  19. * download installation setup `git clone https://git.home.spale.com/home/torvm.git`
  20. * in the VirtualBox VM "Devices" menu, select "Install Guest Additions CD Image..." (needed by the next step)
  21. * cd torvm and run `./install.sh` (still as root)
  22. * `reboot`
  23. * gdm should start after boot and you can then login and follow the setup wizard of enlightenment
  24. ## What's in the installer script ?
  25. * Install various packages including but not limited to, enlighenment window manager, gdm login, Xorg, redsocks, tor, iptables-persistent, firefox-esr, transmission, unbound, ...
  26. * Remove nano, because <full stop>
  27. * mount and compile VirtualBox drivers
  28. * copy configured configuration files for unbound, redsocks and iptables
  29. * disable IPv6 via `/etc/sysctl.conf`
  30. * install a preconfigured firefox profile for all existing users (except root)
  31. * delete all .bash_history files and replace them by symblink to `/dev/null`
  32. * clean apt cache
  33. * stop syslog (temporarly) and delete all files in `/var/log`
  34. ## What's in this firefox profile ?
  35. * security settings
  36. * default search engine set to duckduckgo
  37. * disabled saving passwords, history, ...
  38. * preconfigured socks proxy (it's still faster than doing REDIRECT in iptables, going over redsocks to finally land in the tor socks5 server)
  39. * preinstalled add-ons:
  40. * NoScript (default configuration)
  41. * uBlock Origin (default configuration)
  42. ## Should I trust you?
  43. - You can check the install.sh yourself or even do all the steps manually, there's really no magic here...
  44. - You can simply delete the "user/.mozilla" folder before running installation and it will not install the preconfigured firefox profile