Dockerized OpenVPN
Run OpenVPN inside a docker conyainer with Mozilla Firefox.
Firefox start with a clean state each time. (INCOGNITO)
- Docker or Podman
- OpenVPN Client Config file (.ovpn file)
- output of
id -u
to be added toDockerfile
as EXECUID - output of
id -g
to be added toDockerfile
as EXECGID - desired username for user to be added inside the container as EXECUSER in
Dockerfile
How to start Dockerized OpenVPN
- Build Docker Image :
bash docker-image-build.sh
- Download your OpenVPN Client config file (.ovpn) and rename it to
openvpn.conf
- Copy the
openvpn.conf
to theopenvpn
directory. - Start the dockerized openvpn conatiner :
bash run.sh firefox
This software is FREELY available under GNU/GPL v3. EXCEPT AS EXPRESSLY PROVIDED IN THIS AGREEMENT, NEITHER PARTY MAKES ANY OTHER REPRESENTATION OR WARRANTY, EXPRESS OR IMPLIED, EITHER IN FACT OR BY OPERATION OF LAW, STATUTE, OR OTHERWISE, AND EACH PARTY SPECIFICALLY DISCLAIMS ANY AND ALL IMPLIED OR STATUTORY WARRANTIES INCLUDING WARRANTIES OF MERCHANTABILITY AND OF FITNESS FOR A PARTICULAR PURPOSE.
The source used in this repo is originally taken from https://github.com/oseiskar/docker-vpn-browser.git
I have customized and corrected it to meet my requirements.