-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use existing openvpn server with ovpn-admin #238
Comments
Hi, I think it may not be easy to do as it is currently. At the moment, ovpn-admin and openvpn share some directories:
If you're using your own OpenVPN server, you should also set up similar access there. In addition, you will need to specify environment variables/flags values according to your openvpn server values. But I will note that we have not tested this scenario. |
For what it's worth, in my very time limited tests, I was able to make it work by specifying quite a lot of command line parameters to match my specific setup:
The PATH was needed because otherwise oven-admin expects easyrsa to be in PATH which is not my case (I expected it to use the path passed as a parameter but it seems not to). |
@marcomusso you can check that the openvpn management interface (
this command should show active clients, example
|
If I remember correctly the output of the status command can be of different type: here is mine (for some reasons I think I changed it probably because some other tool needed this format):
|
I had the same problem on Ubuntu 20.04 & openvpn 2.4.7. It occurs because in the systemd unit the openvpn server is started with the "--status-version 2" parameter, which adds additional fields. The problem can be solved by adding "status-version 1" to the openvpn config. |
Yes, you're right. this will be fixed in future versions. we are already aware of this problem |
I am already running cli of openvpn server. I would like to use ovpn-admin using existing openvpn server. Could you please tell me the steps to get this? @sprait Thanks in adavance
The text was updated successfully, but these errors were encountered: