How To Use Tor As VPN (with virtual machines)

How To Use Tor As VPN (with virtual machines)



in today's tutorial on mostly tech I'm going to show you how to use tor as a VPN on virtual machines for those of you who don't know tor basically allows you to connect to the internet through nodes on the Tor network this allows you to unblock some websites and browse the internet more anonymously usually you would do it with the tor browser but that only affects your web browsing internet traffic however with this method all of the internet traffic from a virtual machine will go through the Tor network much like a VPN service this way you can use tor for many other applications on the desktop virtual machine to start off we need to download some files I will be using VirtualBox to create the virtual machines which you can get for free from VirtualBox org once you've downloaded and installed VirtualBox head over to wanax org to download the 1x xfce gateway this one has a graphical interface but there's also a command line or CLI version however that one is more difficult to set up next we need a desktop operating system to connect to the One X gateway there's a desktop version called 1x workstation which makes it easier to set up this whole thing but you can use any other operating system including Windows and other Linux distributions although I did not get tails to work with the 1x gateway for this example I will select Linux Mint which is my favorite Linux operating system and it also supports a live version if you want to use Mint just head over to Linux Mint comm and download the 64-bit cinnamon ISO file installing the 1x gateway is really simple just double left-click the 1x gateway OVA file that you downloaded and it will open up VirtualBox and start the process first off click on import then click on agree and wait for one X to be installed now that wanax is installed right-click it and select settings first go to system and increase the memory to 1024 megabytes or one gigabyte then go to the processor tab and reduce the amount from 4 to 2 processors click on ok next startup 1x by double left clicking it in the menu a blue screen will appear first just press ENTER and then wait for it to start up once 1x is activated it will first ask you how you plan to use tor you can either connect immediately or choose configure to set up a tour bridge if tor is censored in your country this may be necessary for countries like China personally I will just choose connect and then click on next then click on next again and now you should be good to go so just click on finish next we're going to install a Linux Mint on VirtualBox open up VirtualBox and click on the new icon on the left if you want to install windows obviously leave the type as Microsoft Windows and the version as your desired Windows operating system but for this video I will choose Linux and the version should be Ubuntu 64-bit if you only have 32-bit options then you probably have not enabled virtualization you have to restart your computer and go to the BIOS settings to fix that now just type in a name and click on next memory size should be at least 2048 megabytes or 2 gigabytes to run Linux Mint somewhat smoothly I'd recommend the same or more for Windows click on next you want to create a new virtual hard disk so click on create video is fine click on next you want to have it dynamically allocated which means that the virtual disk will grow as it gets more data click on next here you can choose the virtual hard disk size and where it should be saved for Windows you probably want 30 to 40 gigabytes but for Linux 20 to 30 should be fine however I will only use the live version for this test so for me 10 gigabytes is ok when you are done click on create now we have to still change some settings so right-click the operating system from the menu and select settings first go to system and select the processor tab increase it from 1 to 2 processors then go to Network click on where it says in 80 or net and select internal network the name should be 1x next click on OK now start up Linux Mint by double left clicking it from the menu and also be sure that One X is running as well select the startup disk which is the ISO file that you downloaded from Linux Mint com or you know Windows if you did that then click on start if you wanted to use windows then you would have to install it just like you would on a normal computer you can also do this for Linux Mint later as well it may be necessary in some cases because once you shut down the live version all your settings and new files will not be saved once it is running go to the lower part of the taskbar and click on the network icon select network settings next left click on the little cog wheel on the lower right from the left side menu choose ipv4 click where it says automatic DHCP and choose manual now enter in these IP settings then also make sure the DNS server isn't automatic instead manually type in the Gateway address as the DNS server when you are done click on apply now just wait a few seconds for it to connect there we go let's test it out and it works here's how to change your IP on the One X gateway first open up the One X virtual machine click on applications go to system and select tour control panel it will ask for a password the default one is changed me all with small letters next click on utilities now before you do this make sure that you have cleared all the identifying information that you might want to clear before changing your IP this could include closing tabs clearing your history clearing your cookies and so on depending on your privacy needs when you are ready just click on a new identity 1 X will now choose a different tour server to connect through this may take a minute or two to completely finish there we go I now have a u.s. IP address let's try it again cool now I have a Dutch IP address so it works basically now all connections to the Internet from this virtual machine are routed through the Tor network everything not just a web browser remember to be a bro and smash the like button also if you want more videos and tutorials subscribe to the channel with notifications on got any questions or suggestions or do you just like turtles let me know in the comments and that's it for now see you again in another video on mostly Tech

21 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *