Connect to external VPN from VM

I need a VM to be connected to a VPN from sonicwall (Netextender) so that some code can access specific ip addresses.

However I am coming across an issue with running the netextender in the VM

root@48edde4b19ed48:/NetExtender.Linux-10.2.850.x86_64/netExtenderClientnetExtender example.com:2222 -u username-p password -d domain -T wireguard
NetExtender for Linux - Version 10.2.850
SonicWall
Copyright (c) 2023 SonicWall

Connecting to example.com:2222...
There is a problem with the site's security certificate. 
Warning: self signed certificate
Do you want to proceed? (Y:Yes, N:No, V:View Certificate)y

Connected.
Logging in...
Login successful.
Version header not found
sh: 1: wg: not found
WireGuard is not capable, can not find the WireGuard kernel module.
sh: 1: /sbin/lsmod: not found
SSL Connection is ready
Using SSL Encryption Cipher 'ECDHE-RSA-AES128-GCM-SHA256'
Saving profiles/preferences...
Done saving profiles/preferences
Using new PPP frame encoding mechanism
Using PPP async mode (chosen by server)
Connecting tunnel...
pppd: Please load the ppp_generic kernel module.

FATAL: The kernel does not support PPP, for example, the PPP kernel driver is not included or cannot be loaded. (4)
session check SSL connection to 'example.com:2222' succeed
unexpected response while retriving session status
SSL VPN connection is terminated.
Exiting NetExtender client

I tried using modprobe to enable ppp but it doesn’t look like this linux instance has modprobe.

Is there a way to connect to the VPN from the VM? Any ideas are welcome.

I figured out the issue - The VMS’ linux kernels that are built here (The fly linux kernel) it doesn’t come with the ppp_generic module built. I am going to try what I need on aws as I think that maybe the cheapest option that I can use that MAY give me ggg_generic in there linux kernel.

Best regards

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.