现象:
服务端日志
MULTI: no free --ifconfig-pool addresses are available
客户端报错:
Tue Dec 22 16:31:30 2020 OpenXXX ROUTE: OpenXXX needs a gateway parameter for a --route option and no default was specified by either --route-gateway or --ifconfig options
Tue Dec 22 16:31:30 2020 OpenXXXROUTE: failed to parse/resolve route for host/network: 10.8.10.1
原因:
地址池不够用,每个客户端会占用4个IP位,参考https://blog.csdn.net/weini1111/article/details/104770090
解决办法:
- 调整地址池,
server 10.8.0.0 255.255.254.0 - 调整iptables 规则