https://github.com/trydock/dockerized-openvpn
Dockerized OpenVPN
https://github.com/trydock/dockerized-openvpn
Last synced: 10 months ago
JSON representation
Dockerized OpenVPN
- Host: GitHub
- URL: https://github.com/trydock/dockerized-openvpn
- Owner: trydock
- License: gpl-3.0
- Created: 2022-01-16T17:44:26.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-16T19:37:17.000Z (over 4 years ago)
- Last Synced: 2025-06-10T22:41:53.654Z (about 1 year ago)
- Language: Shell
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dockerized-openvpn
Dockerized OpenVPN
Run OpenVPN inside a docker conyainer with Mozilla Firefox.
Firefox start with a clean state each time. (INCOGNITO)
## Requirements
- Docker or Podman
- OpenVPN Client Config file (.ovpn file)
- output of `id -u` to be added to `Dockerfile` as EXECUID
- output of `id -g` to be added to `Dockerfile` as EXECGID
- desired username for user to be added inside the container as EXECUSER in `Dockerfile`
## Invocation
How to start Dockerized OpenVPN
1. Build Docker Image : `bash docker-image-build.sh`
2. Download your OpenVPN Client config file (.ovpn) and rename it to `openvpn.conf`
3. Copy the `openvpn.conf` to the `openvpn` directory.
4. Start the dockerized openvpn conatiner : `bash run.sh firefox`
## Warning
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.
# SOURCE
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.
## References
- http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/
- https://stackoverflow.com/questions/16296753/can-you-run-gui-applications-in-a-linux-docker-container