Skip to content

klo2k/openconnect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenConnect

OpenConnect is a multi-VPN-client for:

This repository builds and publish Docker images for my own use, but you're more than welcome to use it.

For official source code, go to openconnect/openconnect.

Run with Docker

e.g. Connect to Palo Alto Networks GlobalProtect SSL VPN:

docker run --rm -it --privileged --net=host klo2k/openconnect openconnect --protocol=gp vpn.example.com

Build with "docker buildx"

Initialise buildx, if you're on a x64 machine:

# Enable ARM support
docker run --rm --privileged multiarch/qemu-user-static --reset --persistent yes

# Create 'mybuilder' if not exist, set as default builder
docker buildx inspect mybuilder||docker buildx create --name mybuilder
docker buildx use mybuilder

# Start builder
docker buildx inspect --bootstrap

Build for x64 (x86_64):

docker buildx build --pull \
  --platform "linux/amd64" \
  --tag "klo2k/openconnect" \
  --output=type=docker \
  .

For ARM 32-bit (armv7l), use --platform "linux/arm/v7"

For ARM 64-bit (aarch64), use --platform "linux/arm64"