Skip to content

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

1 points6 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 100% up
Kind
Text
ID
7a28no

Author

10
posts
20
comments
1
media
View profile

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.

3 points

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

1 points

This is odd. Have you checked basics such as you VM has internet access?

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.