Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Generic User Avatar

Using VPN Tunnel of Host system from the VM


  • Please log in to reply
3 replies to this topic

#1 timler

timler

  •  Avatar image
  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:03:24 PM

Posted 11 June 2024 - 06:14 AM

I installed VMware on my Windows 11 OS (Host) and I have a virtual machine which is an Ubuntu. The Virtual Machine is set by a company and I can't install any app on it. But I can change the Network setting of VM.

I need to use a VPN on my host system to have a Spanish IP, because the features of this VM are only available in Spain. 
I started the VPN and then tried all of the network options on VMware (Nat, bridge und etc.) to get through the current Network (directed to Spain by VPN) of the Host system, but the virtual machine still uses the original network of of the Host to reach internet. 

Does anybody know the solution? 


Edited by timler, 11 June 2024 - 06:34 AM.


BC AdBot (Login to Remove)

 


#2 cryptodan

cryptodan

    Bleepin Madman


  •  Avatar image
  • Members
  • 36,797 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:01:24 PM

Posted 11 June 2024 - 12:00 PM

Have a read

https://docs.vmware.com/en/VMware-Workstation-Pro/17/com.vmware.ws.using.doc/GUID-D9B0A52D-38A2-45D7-A9EB-987ACE77F93C.html

Use bridge mode
US Navy Veteran from 2002 to 2006
Masters in Computer and Digital Forensics Expert - Stevenson University Alumni 2015
Arch Desktop - https://termbin.com/1h62
Arch Laptop - hhttps://www.termbin.com/98dd
Ubuntu Server - https://termbin.com/ng9t

#3 timler

timler
  • Topic Starter

  •  Avatar image
  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:03:24 PM

Posted 11 June 2024 - 03:05 PM

As I mentioned before, I tried all of the options and it did not work.



#4 cryptodan

cryptodan

    Bleepin Madman


  •  Avatar image
  • Members
  • 36,797 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:01:24 PM

Posted 11 June 2024 - 05:15 PM

Using bridged mode you should be able to access the router on the vm and activate the VPN on the vm.
US Navy Veteran from 2002 to 2006
Masters in Computer and Digital Forensics Expert - Stevenson University Alumni 2015
Arch Desktop - https://termbin.com/1h62
Arch Laptop - hhttps://www.termbin.com/98dd
Ubuntu Server - https://termbin.com/ng9t




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users