Skip to content

blackgiulia/docker-ocserv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About this docker image

This is a custom Docker image for ocserv which is a SSL VPN server.

Summary of build options:
  version:              1.1.2
  Host type:            x86_64-pc-linux-musl
  Install prefix:       /usr/local
  Compiler:             gcc
  CFlags:               -g -O2 -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -Wno-implicit-fallthrough -Wno-stringop-truncation
  CWrap testing:        no
  CWrap PAM testing:    no
  CWrap NSS testing:    no

  PAM auth backend:     yes
  Radius auth backend:  no
  GSSAPI auth backend:  yes
  OIDC Auth backend:    no
  Anyconnect compat:    yes
  TCP wrappers:         no
  namespaces:           yes
  systemd:              no
  (socket activation)
  worker isolation:     seccomp
  Compression:          yes
  LZ4 compression:      yes
  readline:             yes
  libnl3:               yes
  liboath:              yes
  libgeoip:             no
  libmaxminddb:         yes
  glibc (sha2crypt):    no
  local talloc:         yes
  local protobuf-c:     no
  local PCL library:    yes
  local http-parser:    yes
  seccomp trap:		no
  capture latency stats no

Build docker image

$ docker build -t ocserv https://github.com/blackgiulia/docker-ocserv.git

Run docker container

$ docker run --name ocserv --privileged -p 443:443 -p 443:443/udp -d ocserv

Add user

$ docker exec -ti ocserv ocpasswd -c /etc/ocserv/ocpasswd <username>
$ Enter password:
$ Re-enter password:

Delete user

$ docker exec -ti ocserv ocpasswd -c /etc/ocserv/ocpasswd -d <username>

Releases

No releases published

Packages

No packages published