How do disconnect from VPN

Discussion in 'privacy technology' started by NotRight, Jul 25, 2013.

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

    NotRight Registered Member

    Joined:
    Jun 12, 2013
    Posts:
    37
    Location:
    Here
    Do I need to exit/close every open browser/connection I used with my VPN when I am ready to stop using it?

    For example, I have youtube opened, from earlier when I listening to music. I want to close my VPN to play a game; do I have to close out of firefox? I also open my Thunderbird mail thru the VPN, if I just disconnected from the VPN is my info going to be revealed to the active connections I have??

    I am assuming everything I have opened with the VPN I need to close, or am I confused :\

    Regards,
    me
     
  2. mirimir

    mirimir Registered Member

    Joined:
    Oct 1, 2011
    Posts:
    9,252
    Yes, close everything before disconnecting the VPN.

    Even so, you can't readily control background processes, so any remote servers that they access will see changing IP addresses.

    It's best to use the VPN from a dedicated machine or VM.
     
  3. NotRight

    NotRight Registered Member

    Joined:
    Jun 12, 2013
    Posts:
    37
    Location:
    Here
    "If you create a VM that never connects to the Internet except through
    the VPN, you don't need to worry about all that"

    I used VirtualBox to create a VDI(VirtualBox Disk Image). And have successfully got the .iso file of ubuntu for the VM. How do I allow it to connect only thru my VPN??

    edit: to contiue from above, at the very beginning of installing Ubuntu, it needs to install updates/drivers,etc. do I bypass that step?


    Regards,
    me
     
    Last edited: Jul 25, 2013
  4. LockBox

    LockBox Registered Member

    Joined:
    Nov 20, 2004
    Posts:
    2,328
    Location:
    Here, There and Everywhere
    When you've logged out of the VPN - I would highly recommend immediately turning off the internet connection. I don't know what OS you're using, but use the appropriate shortcut to shut your network card off.

    1. Log-out
    2. Shut down your network card
    3. Close all applications
    3. Clean-up with CCleaner or Privazer or (insert other good choice for your OS here) to clear cookies and temp files, flush the cache, etc.
    4. Then - and only then - do you get back on the network.

    And even with that, some would say reboot as well.
     
  5. NotRight

    NotRight Registered Member

    Joined:
    Jun 12, 2013
    Posts:
    37
    Location:
    Here
    useful info. Do I still need to go that route if I am going to start using a VPN through a VM?
     
  6. mirimir

    mirimir Registered Member

    Joined:
    Oct 1, 2011
    Posts:
    9,252
    Basically, you create an Ubuntu VM, attach the iso to its virtual CD/DVD drive, and run it. Then you go through the installation, just as with a physical machine. There are lots of tutorials out there for installing Ubuntu in VirtualBox.

    If you install Ubuntu in the VM while the host is connected to your VPN, it will have never seen the Internet directly. Then set up the VPN in the VM, with firewall rules that block Internet connections except through the VPN. Then remove the VPN from the host.

    I've been working on a new set of tutorials, but I don't know when they'll go live. For now, see the old thread https://www.wilderssecurity.com/showthread.php?t=315680. There are links to more at https://www.wilderssecurity.com/showthread.php?t=316044.

    There's a good VPN firewall for Linux from adrelanos at -https://github.com/adrelanos/VPN-Firewall.
     
  7. mirimir

    mirimir Registered Member

    Joined:
    Oct 1, 2011
    Posts:
    9,252
    No.

    I think that it's safer to isolate stuff.
     
  8. Taliscicero

    Taliscicero Registered Member

    Joined:
    Feb 7, 2008
    Posts:
    1,439
    Eh, I only bother closing sensitive tabs. I live under the assumption not to care who knows I'm using a VPN. I only care about them not knowing my traffic which they can't if my browser is not unique and the server has only one IP for everyone.
     
  9. Palancar

    Palancar Registered Member

    Joined:
    Oct 26, 2011
    Posts:
    2,402
    VM's are a nice way to go. Personally, I find it easier and completely safe to use a hidden OS approach, which is only used/mounted when in a VPN tunnel without any exceptions. For me there are several programs that seem to run better and faster in native true OS mode.

    My linux VM's run much slower than using a native true install would. Either of these approaches provides for separation from the actual system you would show an adversary or to avoid leaving tracks in the main/family computer OS.
     
  10. happyyarou666

    happyyarou666 Registered Member

    Joined:
    Jan 29, 2012
    Posts:
    803
    its rather easy peasy , what you want to do to have your host pc or vm ever only seeing your vpn ip or the apps on it , do the following :

    setup comodo firewall global rules to block out everything , aka mac any to mac any , of course the pfsense vm adapter needs an allowed rule logically , then setup a pfsense vm that you configure over a VM like xubuntu etc , once you set it up with your vpns certificates and keys , and its firewall according to mirimirs instructions over in this thread for an explicitly detailed walkthrough or you can check out mirimirs tutorial clips

    https://www.wilderssecurity.com/showthread.php?t=339051


    your good to go , essentially what will happen is once your pfsense vm disconnects your host will have 0 net connectivity even without comodo firewall , just make sure to deactivate ipv4 and ipv6 in your NIC as mentioned in the above thread , thou i still use comodo firewall just to be sure lols, enjoy the one and only true way to be safe from isp ip leaks
     
    Last edited: Jul 28, 2013
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.