Skip to content

OpenVPN-UI builder for AMDx64 platform, compatible with Debian AWS EC2 instance and bare-metal servers.

License

Notifications You must be signed in to change notification settings

d3vilh/openvpn-ui-docker-build-amd64

Repository files navigation

openvpn-ui-docker-build

Scripts simplifying build of openvpn-ui for AMDx64 arch compatible with AWS EC2 Debian instance.

To build the image

As prerequisite, you need to have Docker installed and running:

sudo apt-get install docker.io -y
sudo systemctl restart docker

To build own image you need to set local path to openvpn-ui sources into OVPN_UI_HOME var in the build_openvpn-ui.sh and openvpn-ui-pack2.sh files. For example:

# Set the home directory of the openvpn-ui project
OVPN_UI_HOME="/home/admin/build/openvpn-ui"

Then run build_openvpn-ui.sh to build the image. The image will be named openvpn-ui:amd64.

To run the image

docker run \
-v /home/philipp/openvpn:/etc/openvpn \
-v /home/philipp/openvpn/db:/opt/openvpn-gui/db \
-v /home/philipp/openvpn/pki:/usr/share/easy-rsa/pki \
-v /var/run/docker.sock:/var/run/docker.sock \
-e OPENVPN_ADMIN_USERNAME='admin' \
-e OPENVPN_ADMIN_PASSWORD='gagaZush' \
-p 8080:8080/tcp \
--privileged local/openvpn-ui 

About

OpenVPN-UI builder for AMDx64 platform, compatible with Debian AWS EC2 instance and bare-metal servers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published