-
Hello! What I have done so far:
The container is then successfully created and I can access the web interface. Under Logs I can also see the connection to my server. But on the status page it says "Fix your configuration" and the OpenVPN version is not displayed. I hope you can help. |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 11 replies
-
You can't use localhost 2080 here. You have two options: the first is to use 0.0.0.0 2080 in server.conf, and the IP address of your OpenVPN server followed by :2080 in Configuration-Settings-Management Interface Address. (for example: 192.168.1.100:2080) The other option, which is better as it doesn't expose the management interface to your LAN, is to use 172.17.0.1 2080 in server.conf and 172.17.0.1:2080 in Settings. This is the IP of the default Docker Gateway, so all interaction with the Management Interface happens through this limited gateway. These values are suggested when you look at the help blocks under each data item in Configuration - OpenVPN Settings and Configuration - Settings. Be sure to make the change to your server.conf file first (best done by duplicating the initial server.conf directives in the WebUI) and reboot or restart the OpenVPN service. Once you've done this once the values will be stored in the database. Also, just to confirm, you are using OpenVPN 2.5.x or higher right? |
Beta Was this translation helpful? Give feedback.
-
Here's what I'm talking about from Configuration - Settings: |
Beta Was this translation helpful? Give feedback.
-
And from Configuration - OpenVPN Config: Be aware all of the values need to be correct the first time you create a server.conf using the WebUI. Have the PiVPN created server.conf file open in another window so you can copy and paste as needed. After that first time through, your OpenVPN-Admin-Plus database values will match the actual server.conf file. |
Beta Was this translation helpful? Give feedback.
-
Thank you, now it works. I have quite a few other questions. Should I ask them in this thread or open new ones? |
Beta Was this translation helpful? Give feedback.
-
Here is fine. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Making a backup of your original server.conf file is always a good idea, especially if you're not super familiar with OpenVPN's directives. Don't name it anything with .conf though -- I usually use server.pivpn for my backup. If you're new to Linux, having Cockpit installed with the Navigator plugin is really handy for "system" tasks. I used the command line for so many decades that one of my missions in life is to use it as little as possible from here forward. ;-) |
Beta Was this translation helpful? Give feedback.
-
If it'd help, send me a screenshot of your completed Server - Config (blur the port if you know how -- but even that's not really critical), and I'll tell you if I see any potential issues. Be sure to expand the Extra Server and Client Options so I can see everything in those fields. |
Beta Was this translation helpful? Give feedback.
-
The Certificates page is intended for issuing, revoking and deleting certificates from the database, not for monitoring! This page also allows you to download ready-made configurations (.zip or .ovpn) for your OpenVPN Client. Important! Using the certificate removal function from the database, keep in mind that it is deleted from the file index.txt which is necessary for forming a revoke list. If you delete a certificate from the database, it does not get into the new revocation list. |
Beta Was this translation helpful? Give feedback.
-
I am using openvpn-admin-plus now a few days. I am happy with the fact that I can watch the current users and their traffic on the status page. However, I am surprised that even after restarting the whole computer, my log continues to show data from 06 February 2023, although today is 14 February. |
Beta Was this translation helpful? Give feedback.
-
The section in your server.conf file that would be updated is: # status /var/log/openvpn-status.log 20
# status-version 3
# syslog
log /etc/openvpn/openvpn.log
verb 3
mute 10 This can, of course, be done manually too. :-) Restart OpenVPN or reboot after updating. |
Beta Was this translation helpful? Give feedback.
@2003flo
You can't use localhost 2080 here.
You have two options: the first is to use 0.0.0.0 2080 in server.conf, and the IP address of your OpenVPN server followed by :2080 in Configuration-Settings-Management Interface Address. (for example: 192.168.1.100:2080)
The other option, which is better as it doesn't expose the management interface to your LAN, is to use 172.17.0.1 2080 in server.conf and 172.17.0.1:2080 in Settings. This is the IP of the default Docker Gateway, so all interaction with the Management Interface happens through this limited gateway.
These values are suggested when you look at the help blocks…