[gpt-4] # README for Docker Image: ustclug/ocserv
ustclug/ocserv is a Docker image that provides the OpenConnect VPN server, branded as ocserv maintained by the University of Science and Technology China Linux User Group (USTCLUG).
docker pull ustclug/ocserv
To start the VPN server with the default configuration (change the password and username as needed):
docker run --name ocserv_simple -p 443:443 --detach ustclug/ocserv
If you want to provide a customized configuration file, you can mount it with Docker's volume option. First, create a configuration in your local system, let's say at /path/to/ocserv.conf:
docker run --name ocserv_customized -v /path/to/ocserv.conf:/etc/ocserv/ocserv.conf -p 443:443 --detach ustclug/ocserv
No specific environment variables are supported at this version.
/etc/ocserv: the location of configuration files for ocserv.443: the port ocserv listens on for incoming VPN connections.This Docker image is maintained and provided by the University of Science and Technology China Linux User Group (USTCLUG).
Reminders:
ocserv configurations.Content type
Image
Digest
sha256:7ce38d9fd…
Size
80.5 MB
Last updated
about 4 hours ago
docker pull ustclug/ocserv