bnhf / openvpn-admin-plus

Docker-based web interface (with golang backend) for monitoring and admin of an OpenVPN TAP/TUN server setup with PiVPN or other OpenVPN server installations. This project has been renamed from pivpn-tap-web-ui, to reflect its new broader scope.
MIT License
141 stars 23 forks source link

Make conf directory mappable #39

Open bnhf opened 1 year ago

bnhf commented 1 year ago

Seems like a good plan to me to make the conf directory mappable (through volume binding in Docker). This would allow advanced users to edit the app.conf (Beego web framework config file), and the template files that are used to create OpenVPN client files, at the host level (by command line editors, Cockpit with the Navigator addon, or Webmin for example).

We'd check for the existence of these files at container start, and if they don't exist (e.g. mapped for the first time), we'd copy them from a default directory.

palzino commented 2 months ago

would this feature enable the usage of multiple different subnets instead of a single one?