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

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