Sign inSign up

oznu/openvpn-client

By oznu

Updated about 9 years ago

Just testing

Image
0

1.1K

oznu/openvpn-client repository overview

Docker OpenVPN Client

Just testing. This image should not be used yet.

Usage

docker run \
  --cap-add=NET_ADMIN \
  --device=/dev/net/tun \
  --dns 8.8.8.8 --dns 8.8.4.4 \
  -e PUID=<UID> -e PGID=<GID> \
  -e TZ=<timezone> \
  -v </path/to/config>:/config \
  oznu/openvpn-client

Docker Compose

version: '2'
services:
  openvpn-client:
    image: oznu/openvpn-client
    volumes:
      - ./volumes/openvpn-client:/config
    devices:
      - /dev/net/tun
    cap_add:
      - NET_ADMIN

  web-desktop:
    image: dorowu/ubuntu-desktop-lxde-vnc:latest
    network_mode: "service:openvpn-client"

  nginx:
    image: nginx
    ports:
      - "443:443"
      - "80:80"
    links:
      - openvpn-client:web-desktop
    volumes:
      - ./volumes/nginx:/config

Tag summary

Content type

Image

Digest

Size

8.5 MB

Last updated

about 9 years ago

docker pull oznu/openvpn-client