ustclug/ocserv

By ustclug

Updated about 4 hours ago

Image
Networking
Security
1

10K+

ustclug/ocserv repository overview

[gpt-4] # README for Docker Image: ustclug/ocserv

Introduction

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).

Features

  • Pre-configured with sensible defaults for easy setup.
  • Optimized for minimal size and efficient running.

Usage

docker pull ustclug/ocserv
Simple Run

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
With Customized Configurations

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

Environment Variables

No specific environment variables are supported at this version.

Volumes

  • /etc/ocserv: the location of configuration files for ocserv.

Ports

  • 443: the port ocserv listens on for incoming VPN connections.

Maintainers

This Docker image is maintained and provided by the University of Science and Technology China Linux User Group (USTCLUG).


Reminders:

  1. Please ensure that your firewall allows traffic on the appropriate port (443 by default).
  2. For a production server, it is highly recommended to read and customize the ocserv configurations.
  3. This README reflects the image's status as of Oct 26, 2023; for the most current image information, please refer to the Docker image's website or GitHub repository.

Tag summary

Content type

Image

Digest

sha256:7ce38d9fd

Size

80.5 MB

Last updated

about 4 hours ago

docker pull ustclug/ocserv