I'm running a IPSec/IKEv2 vpn on an ubuntu VM in proxmox and having weird, seemingly random, latency spikes when running the VPN 'externally'.
10.0.0.0/8 is my 'intranet'
192.168.178.0/24 is my 'local network'
192.168.42.0/24 is my vpn network.
So when I connect to my VPN via 192.168.178.200 my latency is <1ms to 3ms as one would expect from an internal network with 1-2 hops.
For IPSec I've port-forwarded UDP ports: 500 and 4500 and when I connect to the VPN via my public-ip, the above happens. average packet times of >1000ms and 50% loss rates.
I used to have a similar setup with virtualbox and ubuntu as host and it worked fine. Now that I've switched to proxmox I have this weird latency issue occur on both IPSec and OpenVPN when connecting from my Public IP, when using my local network ip, it works flawlessly.
If anyone has an idea how to troubleshoot this further, please let me know.
10.0.0.0/8 is my 'intranet'
192.168.178.0/24 is my 'local network'
192.168.42.0/24 is my vpn network.
So when I connect to my VPN via 192.168.178.200 my latency is <1ms to 3ms as one would expect from an internal network with 1-2 hops.
For IPSec I've port-forwarded UDP ports: 500 and 4500 and when I connect to the VPN via my public-ip, the above happens. average packet times of >1000ms and 50% loss rates.
I used to have a similar setup with virtualbox and ubuntu as host and it worked fine. Now that I've switched to proxmox I have this weird latency issue occur on both IPSec and OpenVPN when connecting from my Public IP, when using my local network ip, it works flawlessly.
If anyone has an idea how to troubleshoot this further, please let me know.