Go to file
paspo f4119771e1
All checks were successful
continuous-integration/drone/push Build is passing
secrets support
2023-12-04 17:26:06 +01:00
src secrets support 2023-12-04 17:26:06 +01:00
.drone.star initial release 2023-07-20 15:29:14 +02:00
.gitignore initial release 2023-07-20 15:29:14 +02:00
LICENSE initial release 2023-07-20 15:29:14 +02:00
README.md secrets support 2023-12-04 17:26:06 +01:00

Dockerized Barracuda VPN client

Build Status

Usage with docker compose

version: '3.9'

services:
  vpn:
    image: docker.asperti.com/paspo/barracudavpn:latest
    restart: "no"
    network_mode: "host" # needed to permit host access to vpn
    cap_add:
      - NET_ADMIN # needed for tap access
    devices:
      - /dev/net/tun # needed for tap access
    environment:
      VPN_PASSWORD: "ThePassw0rd"
#      VPN_PASSWORD_FILE: /run/secrets/MYPASSWD # example with docker secrets file
      SERVER: vpn.server.it
      LIC_FILE: /config/vpn.lic
    volumes:
      - ./my_license.lic:/config/vpn.lic:ro

Usage with docker

docker run --rm --name vpn \
  --cap-add NET_ADMIN --device /dev/net/tun --net host \
  -e "VPN_PASSWORD=ThePassw0rd" \
  -e "SERVER=vpn.server.it" \
  -e "LIC_FILE=/config/vpn.lic" \
  -v "$PWD/my_license.lic:/config/vpn.lic:ro"
  -ti docker.asperti.com/paspo/barracudavpn:latest

TODO

  • add support for docker secrets
  • add ability to customize other parameters
  • add health check
  • set client binary release from drone