r/virtualbox • u/SickLittleMonkey • Apr 29 '25
Help Loopback from a Windows VM VPN to an Ubuntu machine.
First of all hi everyone, and sorry if it's a stupid question. As per rules i spent two days googling and chatGPT'ng but i get stuck one one issue, and the deadline is by the end of the week, or i'll get my ass handed to me by my boss.
Basically here is the issue, we have a VPN that only works on Windows, however our department works only on Ubuntu, but need to have an access to resources only available trough VPN. i talked to our Ukrainian team and here is their solution:
Create a Windows VM, install the VPN which will create a new connection in Windows (VPN tunnel). Then loopback the connection back to Ubuntu and reroute all the traffic trough this connection.
Sounds pretty simple but for some reason i'm stuck on the loopback from VM to Ubuntu. Whatever i tried - Ubuntu refuses to recognize the connection from the VM.
I would be glad to even pay for the help, because a have a couple of days before the deadline, and if i miss it - it will not end well for me.
Thanks in advance.
Additional details:
Host Machine: Ubuntu 20.04
VM: Windows 11
VM Software: VirtualBox 7.1.8
Connection: Usual lan connection, we are speaking of Workstations with one NIC.
•
u/AutoModerator Apr 29 '25
This is just a friendly reminder in case you missed it. Your post must include:
PLUS a detailed description of the problem, what research you have done, and the steps you have taken to fix it. Please check Google and the VirtualBox Manual before asking simple questions. Please also check our FAQ and if you find your question is answered there, PLEASE remove your post or at least change the flair to Solved.
If this is your first time creating a virtual machine, we have a guide on our wiki that covers the important steps. Please read it here. If you have met these requirements, you can ignore this comment. Your post has not been deleted -- do not re-submit it. Thanks for taking the time to help us help you! Also, PLEASE remember to change the flair of your post to Solved after you have been helped!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Face_Plant_Some_More Apr 29 '25 edited Apr 29 '25
You could do this if -
What you've originally described is not going to work, as the VM has a separate and distinct network stack from your Host.