leleobhz / cpyvpn-docker

Docker implementation of cpyvpn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker implementation of cpyvpn

Badges

Build cpyvpn Build cpyvpn - ipsec branch

Introduction

This container is able to run cpyvpn in a container. This image was designed to be used with vpnc (Inside container) mode, creating a network interface.

Requirements

  • Run podman as root - vpnc issue
  • Capability NET_ADMIN is also required

Environment Variables

Variable Default value Required Description
USER Yes VPN Username
PASSWORD Yes VPN Password
MODE l No VPN mode
ADDITIONAL_OPTIONS No Additional command line options to cpyvpn.client
INTERFACE snxvpn No VPN Interface
LOGLEVEL INFO No Log Verbosity

Images Available:

Image Description Build periodicity Archs Available
quay.io/pqatsi/cpyvpn:latest Latest is tagged to last released numbered version Weekly linux/amd64
linux/arm/v5
linux/arm/v7
linux/arm64/v8
quay.io/pqatsi/cpyvpn:ipsec Ipsec is tagged to last commit on ipsec branch of cpyvpn Weekly linux/amd64
linux/arm/v5
linux/arm/v7
linux/arm64/v8

Example

sudo podman run --init --rm --name cpyvpn --cap-add NET_ADMIN --network=host --device=/dev/net/tun --privileged -e USER='YOUR_USERNAME_HERE' -e PASSWORD='YOUR_PASSWORD_HERE' -e HOST='YOUR_VPN_ENDPOINT_HERE' -e MODE='l' quay.io/pqatsi/cpyvpn:latest

About

Docker implementation of cpyvpn

License:GNU General Public License v3.0


Languages

Language:Dockerfile 100.0%