新版的 openvpn 2.5.4 配置上面还有些需要注意的地方:
报错
OpenVPN ROUTE: OpenVPN needs a gateway parameter for a --route option and no default was specified by either --route-gateway or --ifconfig options这个新版的需要配置网关地址,旧版的不需要。 在
client1.ovpn配置route xxx这样的形式不行,需要配置成route-gateway xxx这样的形式。
修改网络适配器名称
在 win10 系统下,新版的 openvpn 会生成两个适配器 OpenVPN TAP-Windows6 和 OpenVPN Wintun,把 OpenVPN TAP-Windows6 改为 NETGEAR-VPN 即可。
参考:
https://forum.netgate.com/topic/95918/openvpn-tap-openvpn-needs-a-gateway-parameter/2
https://serverfault.com/questions/806414/openvpn-needs-a-gateway-parameter-fo-a-route-option