VPN inside a guest
Dear Community,
i have arch linux running inside an vm on my work. For some purpose i want to connect my vm via vpn to my home network. Is there a way to do this?
Host is a Windows 10 device.
Regards Moritz
About this post
- Posted
- Archived
- Score
- 1 · 100% up
- Kind
- Text
- ID
- 7a28no
6 comments
Whilst I cannot give full details, the answer is yes, provided your company has not implemented a way of blocking VPN connections. You will need to run a VPN server on your home network and know your home external IP. If your IP is not static then you would need to set up DDNS.
Some routers support handling a VPN server. If this is not an option and you do not want to have a home computer persona you on you should confided a raspberry pi or similar. There are tons of tutorials out there for setting one up. I use one myself purely to protect myself when I am on public hotspots.
Edit: you can set up the VPN client inside you VM so only the VM is connected to your home network, not the host computer. Unless you want it the other way of course.
I have an USG with L2TP VPN at home, it's working from my windows host but not from any linux guest.
Have configured to networks for the vm, one NAT and one internal network
Bridged adapter?
This is odd. Have you checked basics such as you VM has internet access?