基本上适用docker即可

先克隆这个项目: github docker

然后写docker-compose.yml

any:
image: wppurking/ocserv
ports:
- "443:443/tcp"
privileged: true
volumes:
- ./ocserv:/etc/ocserv
restart: always

初始化好的两个账户: wyatt:616 holly:525