VPN within VirtualBox on Windows 7 Host.

Discussions related to using VirtualBox on Windows hosts.
Post Reply
aebbs
Posts: 2
Joined: 15. Mar 2013, 20:11

VPN within VirtualBox on Windows 7 Host.

Post by aebbs »

Hi, I am running VirtualBox on a Windows 7 host and a Windows XP client. I am trying to connect to a VPN on the Windows XP VM and it can't establish a connection with either L2TP or PPTP protocols, which both work fully on the Win 7 host.

I am using a NAT connection in virtualbox.

Thanks.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VPN within VirtualBox on Windows 7 Host.

Post by Perryg »

See Chapter 6.3.3 NAT limitations
aebbs
Posts: 2
Joined: 15. Mar 2013, 20:11

Re: VPN within VirtualBox on Windows 7 Host.

Post by aebbs »

Perryg wrote:See Chapter 6.3.3 NAT limitations
Ok thanks. Can you recommend any VPN services which use only the TCP protocol for communication? or does that not exist?
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: VPN within VirtualBox on Windows 7 Host.

Post by noteirak »

OpenVPN is configurable with TCP.
But I would advice against the usage of TCP due to inherent issues with TCP on TCP, and move away from NAT if possible - did you try with Bridged?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Petr Vones
Posts: 89
Joined: 27. Dec 2012, 01:20
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10 64-bit
Location: Czech Republic

Re: VPN within VirtualBox on Windows 7 Host.

Post by Petr Vones »

Would be possible to introduce something like passthrough or shared network setup option ? Virtual machine would use host network as it was just an ordinary application running on the physical machine.

Unfortunately bridged networking is not always possible to use. When I am connected to a home router that gives me IP via DHCP, that's ok. But when I use mobile connection (via internal 3G modem in notebook) I can't use bridged networking at all thus can not use VPN from virtual machines because of NAT. In this case "sharing" host's network would be the solution.
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: VPN within VirtualBox on Windows 7 Host.

Post by BillG »

Petr Vones wrote:Would be possible to introduce something like passthrough or shared network setup option ? Virtual machine would use host network as it was just an ordinary application running on the physical machine.
In a word, no. That is basically what bridged networking does, but it requires that you connected to a physical LAN.
Bill
Post Reply