Jump to content

Does anyone know if there is a way to have my vpn only setup inside my virtual machine ? at the moment I have to connect through my vpn on my host computer in order to access the network, if I try to connect to the vpn inside the virtual machine it just tells me that the password is wrong and that it can't connect.

 

I got 2 lan ports on my motherboard is it possible to use 1 for my VPN inside the VirtualMachine only and the other one for the host only ?

Link to comment
https://linustechtips.com/topic/14289-vpn-virtual-machine-virtualbox/
Share on other sites

Link to post
Share on other sites

How is your virtual box connected to the network.

You want to goto the settings for the particular VM, click on network, change it to bridged adapter and then set it to the physical NIC you want to use.

then go to the network and sharing center, click on change adapter settings, highlight the VBox Virtual adapter and the physical NIC, Right click and go to bridge connections.

 

That should work.

One Steam to rule them all, One Sale to find them, One Sale to bring them all and with their wallets, bind them! - r/pcmasterrace 17/01/2014

Spoiler
  • CPU: Intel Core i7 6700k
  • CPU Cooler: CM Hyper 212+ 
  • RAM: 16GB Kingston HyperX Fury 2400Mhz (2x8GB)
  • GPU: Gigabyte G1 R9 390 
  • Mobo: Asus Z170-AR
  • PSU: Antec High Current Gamer 900W 
  • Storage: 240GB intel 520 SSD (OS), Sandisk 128GB SSD(Other OS) 2x 2TB Seagate Barracuda 
  • Case: Fractal Design R4

 

Link to post
Share on other sites

How is your virtual box connected to the network.

You want to goto the settings for the particular VM, click on network, change it to bridged adapter and then set it to the physical NIC you want to use.

then go to the network and sharing center, click on change adapter settings, highlight the VBox Virtual adapter and the physical NIC, Right click and go to bridge connections.

 

That should work.

Thanks this worked!

Link to post
Share on other sites

No worries :)

One Steam to rule them all, One Sale to find them, One Sale to bring them all and with their wallets, bind them! - r/pcmasterrace 17/01/2014

Spoiler
  • CPU: Intel Core i7 6700k
  • CPU Cooler: CM Hyper 212+ 
  • RAM: 16GB Kingston HyperX Fury 2400Mhz (2x8GB)
  • GPU: Gigabyte G1 R9 390 
  • Mobo: Asus Z170-AR
  • PSU: Antec High Current Gamer 900W 
  • Storage: 240GB intel 520 SSD (OS), Sandisk 128GB SSD(Other OS) 2x 2TB Seagate Barracuda 
  • Case: Fractal Design R4

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×