最近跟风玩VPN, 试验了几种配置。今天谈谈各种配置的网速比较。
(一) VPN Server(s)
(1) OpenVPN on Linksys WRT54G router (BCM CPU 216 MHz, 16M RAM) Tomato v1.28 USB/VPN
(2) OpenVPN on ASUS EEE PC Netbook Lubuntu 16.04 (Intel Celeron CPU 900 MHz , 2GB RAM)
(3) Softether OpenVPN on Dell PC Intel 2.66 MHz/4GB RAM (Intel Core 2 Duo CPU 2.66 GHz ) Windows 10
(4) Softether L2TP/IPSec on Dell PC Dual Core CPU 2.66 MHz/4GB RAM Windows 10
Home FIOS speed: 50/50 Mbps
(二) VPN Client
Iphone 6 L2TP iOS client/Openvpn connent app for iOS
Speedtest.net app for iOS
Verizon wireless 4G/LTE connection
(三) 结果
Softether OpenVPN: 下载最快,上传最快 (45-50/30 Mbps)
Softether L2TP/IPsec: 下载快,上传较快 (~40/20 Mbps)
OpenVPN on Lubuntu Linux: 下载快,上传一般 (~40/10 Mbps)
OpenVPN on WRT54G tomato: 下载上传最慢(~4/3 Mbps)
各种 OpenVPN 的加密(AES-128-CBC)与压缩(无)设置均相同。
(四)结论
(1)各种设置的硬件指标对网速影响可能较大。Linksys 的Router CPU 太不给力,速度最慢。
网上有人说:
“You are constrained by the CPU speed of your router. Asus RT-N16 is king of the hill in that department at this time [2010], but the best throughput of all will be achieved by hosting your VPN client and server on dedicated machines behind the router rather than on the router itself.”
(2)加密与压缩设置(Y/N) 对网速也有影响。