What is the advantage of using a VM connected to VPN host?

Discussion in 'privacy technology' started by JoeAverage, Nov 2, 2013.

Thread Status:
Not open for further replies.
  1. JoeAverage

    JoeAverage Registered Member

    Joined:
    Oct 26, 2013
    Posts:
    25
    I just want to understand it better, as I read many posts of users doing this.

    I created VM (ubuntu) and my VPN is in the host.

    I can connect to the internet automatically through the VPN, even with TOR, no

    tweak necessary.

    I would like to understand why it could benefit my privacy and security.

    Thanks a lot in advance

    Cheers
     
  2. PaulyDefran

    PaulyDefran Registered Member

    Joined:
    Dec 1, 2011
    Posts:
    1,163
    You generally can't connect to two different VPN providers from the same machine if using a computer like "normal". Running a VM on it though, allows you to connect the main OS (host) to one VPN, and then connect the VM to another VPN...giving a true "two hop" VPN setup. Mirimir is the go to guy on this.

    PD
     
  3. TheCatMan

    TheCatMan Registered Member

    Joined:
    Aug 16, 2013
    Posts:
    327
    Location:
    sweden
  4. mirimir

    mirimir Registered Member

    Joined:
    Oct 1, 2011
    Posts:
    9,252
    There's another benefit. With the VPN client in the host, it's isolated from exploits that compromise userland in the VM. Adversaries would need to break out from the VM to the host in order to learn the ISP-assigned IP address.

    Using pfSense VMs as VPN clients does the same. You also have a router/firewall protecting the VPN tunnel from leaks and attacks. It's just like using a router/firewall on your ISP connection. Routing and firewall rules are easily configured with the webGUI. If you want hardcore protection, you can easily add additional security packages.
     
  5. JoeAverage

    JoeAverage Registered Member

    Joined:
    Oct 26, 2013
    Posts:
    25
    Thanks guys for the replies

    Mirimir guide is a litle bit advanced for me, so I am tryng something simpler for me.

    The only problem for me using the VM machine is that the screen size is too small, about hallf the size of my laptop screen, making the surfing experince not so pleasant.

    I`ve searched for an way to put the screen full, with no help.

    My VM is a VirtualBox with Ubuntu.

    Any help, please?
     
  6. mirimir

    mirimir Registered Member

    Joined:
    Oct 1, 2011
    Posts:
    9,252
    In the VM's Display tab, set Video Memory to 128 MB. That will help some.

    But to get best video performance, you need to install Guest Additions. That does reduce VM-host isolation somewhat, however.
     
  7. J_L

    J_L Registered Member

    Joined:
    Nov 6, 2009
    Posts:
    8,738
    This is how I install Guest Additions on Ubuntu (back quote not single quote):
    Code:
    sudo apt-get update && sudo apt-get dist-upgrade
    sudo apt-get install build-essential linux-headers-`uname -r` dkms
    Host+D
     
  8. TheCatMan

    TheCatMan Registered Member

    Joined:
    Aug 16, 2013
    Posts:
    327
    Location:
    sweden
    Welcome to my endless world :D

    I am still getting to grips with everything even after a few months on being here.

    But the good news is you will pick up the ideas and learn quite a fair deal on wilders.... more so then anywhere else !
     
  9. mirimir

    mirimir Registered Member

    Joined:
    Oct 1, 2011
    Posts:
    9,252
    On some distros, it's necessary to manually mount the Guest Additions ISO. It may also be necessary to create a driectory in /media to mount it on.

    Code:
    sudo mkdir /media/cdrom
    sudo mount /dev/cdrom /media/cdrom
    cd /media/cdrom
    sudo ./VBoxLinuxAdditions.run
     
  10. JoeAverage

    JoeAverage Registered Member

    Joined:
    Oct 26, 2013
    Posts:
    25
    Bingo, I installed Guest Additions and full scream, there you go! (actually I mounted a ISO, as you said, piece of cake)

    I think there is no problem reducing a little bit the isolation, I`m only learning.

    I will try pfsense and see what happens:thumb:

    Thanks again for you all, specially mirimir.
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.