五洲闲话2016-07-02 17:08:32

最近跟风玩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) 对网速也有影响。

hot_powerz2016-07-02 20:07:33
你这是家里内网测试? 没在4g网络测? 没看到测Softether独家的Ethernet over https(ssl vpn)
五洲闲话2016-07-02 21:55:48
用的是Verizon LTE/4G 移动网。 手机上没有Softether client。
hot_powerz2016-07-03 02:02:45
没有讲下无VPN时的速度?不过你的服务器全部不同,比较的参考价值就打了折扣啦!
五洲闲话2016-07-03 02:11:31
大约60/30Mbps。这里的比较不是比软件,是比硬件,供选择参考。
五洲闲话2016-07-03 04:17:48
OpenVPN performance discussion