openvpn连接报错The local and remote VPN endpoints cannot use the first or last address within a given 255.255.255.252 subnet的解决办法

今天测试openvpn,无法连接,报错信息如下

There is a problem in your selection of --ifconfig endpoints [local=10.10.0.248, remote=10.10.0.249].  The local and remote VPN endpoints cannot use the first or last address within a given 255.255.255.252 subnet.  This is a limitation of --dev tun when used with the TAP-WIN32 driver.  Try 'openvpn --show-valid-subnets' option for more info.
Exiting due to fatal error

解决办法

修改ifconfig-push的地址如下格式即可解决

ifconfig-push 10.3.0.26 10.3.0.25

发表评论

后才能评论