Hi,
I've read many postings concerning using the VPN with VirtualBox, even though I couldn't really figure out how it works.
I'm running a Windows 7 x64 host system and a CentOS 5.6 guest system using VirtualBox 4.1.0.
On the host, I have a working and running VPN connection using Cisco AnyConnect VPN client.
So, what is the correct way now to access this VPN connection from the guest OS?
Bridging to the VPN adapter? using NAT? Which additional settings do I have to use?
Thank you very much for any support,
Alex'
Using Host - VPN connection
-
chessat2002
- Posts: 3
- Joined: 9. Aug 2011, 10:53
- Primary OS: MS Windows 7
- VBox Version: OSE Fedora
- Guest OSses: Fedora
Re: Using Host - VPN connection
Only with NAT your guest can use this vpn.
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
-
chessat2002
- Posts: 3
- Joined: 9. Aug 2011, 10:53
- Primary OS: MS Windows 7
- VBox Version: OSE Fedora
- Guest OSses: Fedora
Re: Using Host - VPN connection
ok, this means I start the VPN - connection, afterwards I start the Vbox with a NAT - network - adapter and then it should already work?!
Re: Using Host - VPN connection
It should work, you might have to set and use 'the vpn gateway' as well.
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
-
joro
- Posts: 1
- Joined: 7. Mar 2013, 11:19
- Primary OS: MS Windows 8
- VBox Version: OSE other
- Guest OSses: Ubuntu 12.10
Re: Using Host - VPN connection
I have pretty much a similar config :
Windows 8 64 bit host with Cisco AnyConnect in it and a Ubuntu 12.10 guest.
I'm using NAT for the guest.
When the AnyConnect is off the guest boots up and properly discovers my DNS config (adds a search with my ISP's domain etc) and DNS queries work in the guest.
However when I connect to the VPN with the AnyConnect client the DNS configuration is wrong. it still points to the local dnsmasq, but it's not working.
So now I have no other option but manually edit my /etc/resolv.conf with my AnyConnect's connection DNS servers.
It works, but it's really annoying to have to do it on each boot :/
Windows 8 64 bit host with Cisco AnyConnect in it and a Ubuntu 12.10 guest.
I'm using NAT for the guest.
When the AnyConnect is off the guest boots up and properly discovers my DNS config (adds a search with my ISP's domain etc) and DNS queries work in the guest.
However when I connect to the VPN with the AnyConnect client the DNS configuration is wrong. it still points to the local dnsmasq, but it's not working.
So now I have no other option but manually edit my /etc/resolv.conf with my AnyConnect's connection DNS servers.
It works, but it's really annoying to have to do it on each boot :/
-
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: Using Host - VPN connection
Please don't hijack 1+ years old topics. As stated by forum guidelines, one issue, one topic.
Your issue is not related to Virtualbox at all, but how the AnyConnect is handling Linux configuration for the VPN link. You should seek support on Cisco forum.
Your issue is not related to Virtualbox at all, but how the AnyConnect is handling Linux configuration for the VPN link. You should seek support on Cisco forum.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!