Can connect to internet in XP guest, but not VPN.

Discussions related to using VirtualBox on Windows hosts.
BillG
Volunteer
Posts: 5102
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Can connect to internet in XP guest, but not VPN.

Post by BillG »

Lou,

How a paid VPN connection works with Vbox NAT will depend on how the VPN connection looks to the software. As long as VirtualBox sees it as a connection which it can share there are no problems. (Some work, some don't.) If it doesn't, there is not much you can do except try to run the vm in bridged mode and set up its own VPN connection.

Like so many things, the theory does not always match what happens in practice. In theory, a VPN connection is a point to point connection which cannot be shared or routed. All sharing or routing should be done on the private LANs at either end of the connection. This is nearly true for a site to site VPN. The endpoints of the VPN link are routers which handle that sort of thing.

Client to server VPNs are a different matter. There are dozens of different versions which are all implemented differently with all sorts of options and it is impossible to generalise. (A bit like soho DSL routers. They all do basically the same job but...).
Bill
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Can connect to internet in XP guest, but not VPN.

Post by loukingjr »

Bill. I see (aorta). :D

As I mentioned I know very little about networking in general. When I read about it or hear it discussed I make the same face others do when I try and talk about the nature of consciousness or number theory. Those I can understand. :)

I do appreciate the explanation though. If you have any interest I am using Private Tunnel.

Lou
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Brainbuster
Posts: 30
Joined: 30. Mar 2015, 15:35

Re: Can connect to internet in XP guest, but not VPN.

Post by Brainbuster »

loukingjr wrote:@Brainbuster…

...

As to why yours stopped working I can only surmise adding PIA fouled something up.

...
PIA is what I used for over a year, when my VM was piggy-backing off my host's ip address.

You mentioned that NAT would explain that year. It seems to me (though my knowledge of networking is very limited as well),
that "Bridged" would explain it. I thought that's what bridged did.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Can connect to internet in XP guest, but not VPN.

Post by loukingjr »

I picked PIA at random. I had a 50-50 chance and I lost. :)
As I mentioned, with my guests set to NAT, if my host is connected to a VPN server, so are my guests. That's all I really know about VPN.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Brainbuster
Posts: 30
Joined: 30. Mar 2015, 15:35

Re: Can connect to internet in XP guest, but not VPN.

Post by Brainbuster »

loukingjr wrote:I picked PIA at random. I had a 50-50 chance and I lost. :)
As I mentioned, with my guests set to NAT, if my host is connected to a VPN server, so are my guests. That's all I really know about VPN.
Oh, that's how it used to work with me. Once my host connected to the VPN, my guests piggy-backed.

Now my host has my real ip address, and I have to connect to the VPN within any given guest VM
(and the host retains my real ip address while the guest has the gateway address).
I'm on Bridged connection though.
Post Reply