-
Notifications
You must be signed in to change notification settings - Fork 25
Configuration OpenVPN config
This page will create a server.conf file in the /etc/openvpn directory. Initially the field values are all defaults, and will not match the server.conf file created by PiVPN. Creating this initial update to that file will add important directives for the OpenVPN management interface, log files and a few other things for OpenVPNAdmin to function properly.
Here's where having an application like Cockpit with the Navigator addon comes in handy, as you'll be able view and/or print the current contents of server.conf to compare against the default values in the WebUI, and make appropriate changes. After you've done this once, what you see in the WebUI will match the directives in server.conf.
Setting the Management
directive properly is crucial here, and should either be set to 0.0.0.0 2080
if used your LAN IP on the settings page, or 172.17.0.1 2080
if you used the Docker host gateway IP. The Docker gateway approach is preferred, as the management interface is not exposed to your LAN.