VM access to host side VPN

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
aestetix
OpenVpn Newbie
Posts: 1
Joined: Tue Jun 13, 2023 11:00 am

VM access to host side VPN

Post by aestetix » Tue Jun 13, 2023 11:04 am

Hi.

I'm trying to configure my system so that I can connect to my company VPN on Windows 10 with OpenVPN Connect, and then run an old version of Ubuntu in a VirtualBox VM and have that OS also connect to the VPN.

The Ubuntu version is too old to connect directly, it doesn't support the required encryption in its ancient version of openvpn. I haven't had any luck upgrading it either.

How can I configure this so that the Ubuntu VM can access the VPN on the host side?

The client config is:

Code: Select all

dev tun
client
proto tcp
<ca>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
</key>
remote-cert-eku "TLS Web Server Authentication"
remote x.x.x.x 443
persist-key
persist-tun
verb 3
mute 20
keepalive 10 60
cipher AES-256-CBC
auth SHA256
float
reneg-sec 28800
nobind
mute-replay-warnings
auth-user-pass
tls-version-min 1.2
;remember_connection 1
;auto_reconnect 1
I don't control the server but I can ask IT to look at it.

Thanks.

Post Reply