885 B
885 B
open vpn admin
Simple web UI to manage OpenVPN users.
swagger ui <> python <> openvpn-install.sh
usage
- run server
Install python3.10
cd project-path
pip install -r -i https://mirrors.aliyun.com/pypi/simple/ requirements.txt
openvpn_ui/bin/run_http_server.sh
- access swagger ui
http://0.0.0.0:8080/api/docs
develop
docker run -it -v /Users/songgs/_git/openvpn-install:/app -p 8080:8080 --cap-add=NET_ADMIN python:3.10.14-bullseye bash
pip install -r -i https://mirrors.aliyun.com/pypi/simple/ requirements.txt
sed -i 's/deb.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list
!! comment this line in openvpn-install.sh
# Discard stdin. Needed when running from an one-liner which includes a newline
read -N 999999 -t 0.001