Hello ,
i need to bridge a virtual network connection such as VPN connection, and not the physical connection .
can i implement this using VirtualBox ?
I have tried VirtualBox and configured bridging to the VPN Connection, but it just ping the pc which hosting the VM and didn't ping any of remote machines which are already pinged by hosted pc.
Host PC : windows 7
VM : ubuntu 11.04
Who can help me ?
thank you !
How to bridge virtual network (VPN connection)
-
adelhasoon
- Posts: 2
- Joined: 12. Jan 2012, 14:36
- Primary OS: MS Windows 7
- VBox Version: OSE self-compiled
- Guest OSses: ubuntu
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: How to bridge virtual network (VPN connection)
VPN connections are like dial-up and PPPoE connections: they can't be bridged. Mostly because they are virtual adapters, but also because the driver doesn't work and thus isn't installed on the adapter.
If you put the VM in NAT mode, then you should be able to access systems on the other side of the VPN connection from it.
If you put the VM in NAT mode, then you should be able to access systems on the other side of the VPN connection from it.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
adelhasoon
- Posts: 2
- Joined: 12. Jan 2012, 14:36
- Primary OS: MS Windows 7
- VBox Version: OSE self-compiled
- Guest OSses: ubuntu
Re: How to bridge virtual network (VPN connection)
If you put the VM in NAT mode, then you should be able to access systems on the other side of the VPN connection from it.
thats very nice , but can i ping the remote ip 10.10.10.50 .. for example ?
thats very nice , but can i ping the remote ip 10.10.10.50 .. for example ?
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: How to bridge virtual network (VPN connection)
That should work in theory. I cannot test it atm, because I don't have a VPN on my Host. If ping fails, then it doesn't mean it doesn't work. You may have other options to get to the other side of the VPN, like SSH, RDP or http.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
jonreid
- Posts: 1
- Joined: 14. Jan 2013, 17:38
- Primary OS: Mac OS X other
- VBox Version: OSE other
- Guest OSses: Ubuntu
- Location: Newfoundland / D.C.
- Contact:
Re: How to bridge virtual network (VPN connection)
I can confirm that putting the VM in NAT mode allows me to ping remote servers via a VPN.
In my case, I have the VPN configured only on my host, not the VM. Ping works whether I start the VPN before or after I boot my Ubuntu VM.
In my case, I have the VPN configured only on my host, not the VM. Ping works whether I start the VPN before or after I boot my Ubuntu VM.