At whits end, made an account because between 2005 and 2019 apparently very few people ever tried this.
Trying to install and set up VPN's with 'ubuntu-18.04-standard_18.04.1-1_amd64.tar.gz'.
Installing PPTP, IPsec/L2TP, IPsec/IKEv2 and OpenVPN all have different kinds of issues relating to interfaces and permissions.
One thing that's fairly hard to find here is that ALL modprobe commands should be ran on the HOST, not the VM. (For archive purposes).
So following and running this: github.com hwdsl2/setup-ipsec-vpn
And enabling all modprob modules:
modprobe tun
modprobe ppp-compress-18
modprobe ppp_mppe
modprobe ppp_deflate
modprobe ppp_async
modprobe pppoatm
modprobe ppp_generic
The errors from syslog:
May 25 17:58:34 VPN pppd[1050]: Couldn't open the /dev/ppp device: Operation not permitted
May 25 17:58:39 VPN pppd[1050]: Kernel doesn't support ppp_generic - needed for PPPoL2TP
Other issues are that different modules aren't created, devices don't exist etc.etc.
I tried using mknod /dev/ppp c 108 0
and chmod 600 /dev/ppp
on both the Host and VM, but no results.
Conclusion: Is there anyone that knows how to solve this, or set up an IPsec/IKEv2 VPN on Proxmox with the Ubuntu container template?
Trying to install and set up VPN's with 'ubuntu-18.04-standard_18.04.1-1_amd64.tar.gz'.
Installing PPTP, IPsec/L2TP, IPsec/IKEv2 and OpenVPN all have different kinds of issues relating to interfaces and permissions.
One thing that's fairly hard to find here is that ALL modprobe commands should be ran on the HOST, not the VM. (For archive purposes).
So following and running this: github.com hwdsl2/setup-ipsec-vpn
And enabling all modprob modules:
modprobe tun
modprobe ppp-compress-18
modprobe ppp_mppe
modprobe ppp_deflate
modprobe ppp_async
modprobe pppoatm
modprobe ppp_generic
The errors from syslog:
May 25 17:58:34 VPN pppd[1050]: Couldn't open the /dev/ppp device: Operation not permitted
May 25 17:58:39 VPN pppd[1050]: Kernel doesn't support ppp_generic - needed for PPPoL2TP
Other issues are that different modules aren't created, devices don't exist etc.etc.
I tried using mknod /dev/ppp c 108 0
and chmod 600 /dev/ppp
on both the Host and VM, but no results.
Conclusion: Is there anyone that knows how to solve this, or set up an IPsec/IKEv2 VPN on Proxmox with the Ubuntu container template?