How to make the perfect TOR VM in VirtualBox
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

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