I cannot access VPN through Virtual Box

Hello,

I have installed Windows XP on a Virtual Box space, everything is ok but when i tried to access the VPN it didn't want, this is the first time i try to access the VPN with the Virtual Box, with my normal PC to ISP the VPN works great, but it doesn't want to get connected through Virtual Box Windows XP image.

Please help.

Thank you
l1rz1mAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jakethecatukCommented:
Have you configure Virtualbox to use NAT or Bridge mode networking?

If it's NAT, then that is probably the cause of your problem.
0
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
NAT is most probably the issue if you use PPTP as VPN. In Bridge mode, you should not have issues. IPSec VPN with NAT-T enabled should not have issues, but I assume you are not using any (3rd party) VPN client.
0
l1rz1mAuthor Commented:
Hi,

Yes Mr jakethecatuk i checked and it's configured on NAT.

Mr Qlemo : should i use Mode Bridge? I don't use any 3rd party VPN client like OpenVPN, is this what you meant ? I only access it via Networking Place I add a new connection a choose VPN and start giving a name, host finally i create a shortcut to my desktop to access it I enter the login and the password and It stucks in "Verifying login and password" then it is saying error 721, cannot access the VPN ....

It is like this way :

My physical Computer ==> Internet ==> VPN ==> Access Guranteed .

My Windows XP image on Virtual Box ==> My physical Computer ==> Internet ===> VPN ===> Access CANNOT be established.

What Tips should i proceed now?

Thank you very much for your ideas and your help, it is more than appreciated guys.


0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

jakethecatukCommented:
Swap it over to bridge mode and your VPN will work.  However, this will be dependant on your XP Image getting an IP address from your local network and being able to see your internet connection.
0
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
"3rd party VPN" ==> OpenVPN, ShrewSoft, Cisco aso. You are using the integrated VPN connection, which uses PPTP as default.

721 is a generic error indicating the connection using GRE (protocol 47) cannot be established. Sources are almost always NAT of any kind.
0
l1rz1mAuthor Commented:
I sat it on NAT and i tried but didn't get connected to the VPN, same as Bridge Mode, still didn't work I don't know why
0
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
Sorry having to say that, but VM network emulation is not reliable, as you can see. In most cases it works, but there are surroundings which are not. Often changing from VM software A to B works.

For example, one of my VMs using VMWare Server had double ARP issues on my WLAN (sending ARPs with both the virtual and real MAC address for the virtual IP used). Using the same with a VirtualBox had no issues.

My recommendations are to try VMWare Server, which is free, or to capture network traffic, and compare. While capturing, you need either to work in promiscious mode, or do the capture on both real machine and VM. That way you will see if e.g. GRE is dropped between physical and virtual machine (what I assume to be the cause for your issue).
0
l1rz1mAuthor Commented:
So using Virtual Box for VPN is NOT possible at all?
0
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
That is nothing I have said. I'm convinced that IPSec VPN works, as it is much more reliable and can handle NAT situations well. If PPTP with GRE has a simple issue, you can only deternine by analyzing the network traffic.

BTW, I'm almost certain that PPTP will not work in VirtualBox NAT mode, but it should in Bridge mode.
0
l1rz1mAuthor Commented:
I just want to share another idea, when you connect to your VPN through your physical Computer, then with Virtual Box on NAT you will realise that you use the VPN also !!! I connected to the VPN ( a server in the US) then i connected to VirtualBox (win XP) then i could see the IP of the US Server.!!! I don't know if i make sense.
what do you think?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
That works, as VirtualBox NAT mode automatically allows for routing. That is, any service of your host system is available to the guest. It does make sense, if this simplifies what you want to do. I assumed you were required for some reason to use the guest for VPN connection.
0
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
http:#a30659005 is not a solution, but a workaround. Nevertheless, it works, and is acceptable in most cases. It does not explain why the guest VPN did not work - but that might not be important ;-)

Glad that you got a working "solution". That's the most important thing.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VPN

From novice to tech pro — start learning today.