andromedi4/openconnect-client

By andromedi4

Updated 2 months ago

openconnect vpn client

Image
Networking
0

1.1K

andromedi4/openconnect-client repository overview

Docker implementation of openconnect-client

Docker Pulls Docker Image Size

Official site https://www.infradead.org/openconnect/

Image based on alpine 3.15

How to use this image

The basic pattern for starting a openconnect-client instance is Docker Compose:

services:
  openconnect-client:
    image: andromedi4/openconnect-client:latest
    container_name: openconnect-client
    env_file: ".env"
    volumes:
      - ./cert:/tmp/cert # if required ssl cert
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun
    privileged: true
    restart: unless-stopped

Example for .env file

VPN_SERVER=vpn.example.com
VPN_PROTOCOL=anyconnect
VPN_USERNAME=YOUR_USERNAME
VPN_PASSWORD=YOUR_PASSWORD
VPN_GROUP=AD
VPN_CERT=/tmp/cert/certificate.p12 # if required ssl cert

Tag summary

Content type

Image

Digest

sha256:7877fd020

Size

10.4 MB

Last updated

2 months ago

docker pull andromedi4/openconnect-client