Making a VM Use Host’s VPN Connection
Feb 24, 2022
This sounds suspiciously specific yes but I needed a VM to connect to my computer’s VPN. Suprisingly difficult to find around so I decided to post it here in a compressed form.
Get your favorite VM setup and add this network to it,
Next, find your ip;
Finally, add this to your port forwarding rules. Basically, you connect host 2522 port to guest 22.
This should be about it.
Thanks for reading and hope this was/will be useful to you. See you next time.