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.7KB

5 년 전
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. * do not enable NTP, it will not work. Make sure your host has an accurate time, the guest will use it.
  12. * partition disk with LVM and crypto (use a long password, possibly a sentence)
  13. * don't allow root login, create an anonymous user account (for example "user")
  14. * unselect everything at tasksel (Desktop installation, print server,...)
  15. * finish install and reboot
  16. * after reboot, login and sudo su to become root
  17. * install git client `apt-get install git`
  18. * download installation setup `git clone https://git.home.spale.com/home/torvm.git`
  19. * in the VirtualBox VM "Devices" menu, select "Install Guest Additions CD Image..." (needed by the next step)
  20. * cd torvm and run `./install.sh` (still as root)
  21. * `reboot`
  22. * gdm should start after boot and you can then login and follow the setup wizard of enlightenment
  23. ## What's in the installer script ?
  24. * Install various packages including but not limited to, enlighenment window manager, gdm login, Xorg, redsocks, tor, iptables-persistent, firefox-esr, transmission, unbound, ...
  25. * Remove nano, because <full stop>
  26. * mount and compile VirtualBox drivers
  27. * copy configured configuration files for unbound, redsocks and iptables
  28. * disable IPv6 via `/etc/sysctl.conf`
  29. * install a preconfigured firefox profile for all existing users (except root)
  30. * delete all .bash_history files and replace them by symblink to `/dev/null`
  31. * clean apt cache
  32. * stop syslog (temporarly) and delete all files in `/var/log`
  33. ## What's in this firefox profile ?
  34. * security settings
  35. * default search engine set to duckduckgo
  36. * disabled saving passwords, history, ...
  37. * preconfigured socks proxy (it's still faster than doing REDIRECT in iptables, going over redsocks to finally land in the tor socks5 server)
  38. * preinstalled add-ons:
  39. * NoScript (default configuration)
  40. * uBlock Origin (default configuration)
  41. ## Should I trust you?
  42. - You can check the install.sh yourself or even do all the steps manually, there's really no magic here...
  43. - You can simply delete the "user/.mozilla" folder before running installation and it will not install the preconfigured firefox profile