VPN needs CPU (for encryption etc.) and bandwidth; increase both for better performance. I fail to see how Proxmox is involved here.The problem is when I use inside the Network (LAN) , the spice is working fine but when I use over VPN then really slow. How to overcome this issue? Most of the users are using VPN to use their VM.
IMHO OpenVPN is responsible for poor performance. It's secure but slow. I would use Wireguard in your setup.We are using OpenVPN.
We are using OpenVPN.
This is okay, server using UDP.My vpn server is already setup
# TCP or UDP server?
;proto tcp
proto udp
But still slow. My all users are complaining about the slow spice behavior. please help me. I have over 300 VMs.
cat /sys/devices/system/cpu/*/cpufreq/scaling_governor
cat /sys/devices/system/cpu/*/cpufreq/cpuinfo_max_freq
$> apt-get install cpufrequtils
$> cpufreq-info
$> cpufreq-set -g performance
$> cpufreq-info
/etc/init.d/cpufrequtils
GOVERNOR=performance
$> systemctl daemon-reload