I have a few VPSes that can only be accessed via Wireguard (full-tunnel). A some hosted apps with external access are behind a Caddy authentication.

None of this is possible with an cheap exotic VPS I got recently, because (1) it’s KVM with Linux 4.19 kernel, implying no native Wireguard support, (2) I have access to only 10 ports, from 2101 to 2110, while Caddy needs access to ports 80 and 443, at least in my understanding.

I’ve tried various tutos to compile and install Wireguard for old kernels, to no avail so far. I’ve also tried changing the port when installing Caddy, doesn’t go through either.

How would you people secure such a VPS like that? Nothing critical is hosted on it.

Thanks in advance.