PPTP Ubuntu 12.04 guest Win7 64x host

Discussions related to using VirtualBox on Windows hosts.
Post Reply
andrewbeggs
Posts: 2
Joined: 24. Jan 2013, 17:29

PPTP Ubuntu 12.04 guest Win7 64x host

Post by andrewbeggs »

Hi

I have been trying to run a piece of software that needs to be authenticated over a VPN.

I am running a Win7 64x host and a Ubuntu 12.10 guest.

I have searched all the forums and cannot get either bridged mode or Host-adapter mode to work.

Has anyone got any simple guides on how to get a PPTP VPN working?

Thanks

Andrew
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: PPTP Ubuntu 12.04 guest Win7 64x host

Post by mpack »

If "host adapter" refers to "Host-Only mode" then, as the name implies, that has no external connection and can only be used to talk to the host. You have not made clear what you want to connect to what, using VPN.

Lets step back a bit. Does bridged networking work for the purpose of internet browsing from the guest?
andrewbeggs
Posts: 2
Joined: 24. Jan 2013, 17:29

Re: PPTP Ubuntu 12.04 guest Win7 64x host

Post by andrewbeggs »

Hi

Thanks for your help

* I want to be able to connect to my PPTP VPN through the linux guest
* When I set up a PPTP VPN in Ubuntu I can't connect, but it works fine in the Win64 host
* Looking at the forums Virtualbox doesn't seem to be able to do this via a NAT interface
* Thus I tried to set up a second interface (eth1) as a host-only adapter, setting its IP address in ubuntu to 1 greater than the IP of the host Virtualbox adapter
* This didn't work
* I then tried to set up bridged networking by selecting this option for the 1st interface in Virtualbox, clearing the ubuntu network config and restarting - this didn't work either as I couldn't browse the internet.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: PPTP Ubuntu 12.04 guest Win7 64x host

Post by mpack »

The fact that you have been adding and removing NICs has possibly confused the Linux guest. Unfortunately I'm not a Linux user, someone else will have to help you with that.

For bridged networking to work you need a wired or wireless NIC to bridge to, and there needs to be a router or other DHCP server on the other end to farm out local IP addresses, or else you would need to know how to configure a static IP address as assigned by your internet service provider.

Like I said, we are stepping back a bit - forget VPN for now and concentrate on why bridged networking isn't working - most people find it very easy to get working.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: PPTP Ubuntu 12.04 guest Win7 64x host

Post by Perryg »

Reset the Linux network.
edit the /etc/udev/rules.d/70-persistent-net.rules or you can delete the rules and Linux will configure it on the next boot

Oh and you should have the proper plugin for PPTP.
https://help.ubuntu.com/community/VPNClient
Post Reply