Hello,
I have a windows XP laptop, running VirtualBox 4.2.x
I am running a CentOS guest in bridged mode which I am hosting on my Windows desktop. From Windows, I can then SSH into CentOS via putty.
The issue I am having, is that I need to use my VPN connection for work. When I connect to my VPN session, I can no longer access my CentOS guest. Would anyone be able to point me in the right direction to have both working at the same time?
Thanks!
Barry
Configuring host-only to work on a laptop running VPN
-
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: Configuring host-only to work on a laptop running VPN
Your VPN client changes your network configuration, routes in particular, in a way that EVERYTHING is sent directly to the VPN.
This is not a Virtualbox problem. I would contact your VPN provider at work but usually this is done on purpose to prevent use of external items while you're connected.
There also could be some config in the VPN client to prevent this.
This is not a Virtualbox problem. I would contact your VPN provider at work but usually this is done on purpose to prevent use of external items while you're connected.
There also could be some config in the VPN client to prevent this.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
-
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: Configuring host-only to work on a laptop running VPN
What I would try is to give up on bridged mode. Run your host VPN on the ethernet connection and use host only to access the vm from the host.
Bill
Re: Configuring host-only to work on a laptop running VPN
Thanks for the quick replies, very much appreciated!
I do have two connections, the first one is nat'd (which of course does connect to the internet when I have my VPN on my laptop running), and the second one is bridged (which does not work when the vpn is connected).
I am using a Cisco VPN, and have turned on the 'Allow LAN access', which I hoped would work, but did not.
Has anyone tried any other connection types? Or, even better know specifically what to ask our IT folks?
Thanks!
I do have two connections, the first one is nat'd (which of course does connect to the internet when I have my VPN on my laptop running), and the second one is bridged (which does not work when the vpn is connected).
I am using a Cisco VPN, and have turned on the 'Allow LAN access', which I hoped would work, but did not.
Has anyone tried any other connection types? Or, even better know specifically what to ask our IT folks?
Thanks!
-
Martin
- Volunteer
- Posts: 2562
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: Configuring host-only to work on a laptop running VPN
Activating "Allow local LAN access" for a Cisco VPN must also be allowed on the server side.
Otherwise the VPN server will ignore this setting.
Otherwise the VPN server will ignore this setting.