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.
- Run podman as root - vpnc issue
- Capability NET_ADMIN is also required
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 |
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 |
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