adamwalach/openvpn-web-ui

Delete an existing users

3721518 opened this issue · 6 comments

1,The Clients certificates generated through web-gui are not stored in the database, are they!!!
2,How do I delete an existing user!!!

Hey @3721518 if you are still interesting, you can try to adopt my fork branch for this project.
It does include certificate revocation feature via GUI and OpenVPN back-end restart (as OpenVPN should be restarted to apply revocation).

bnhf commented

@d3vilh

Looks like we've been working along the same lines in terms of updating this project. I started with a fork myself but moved it early last year to a standalone project. I've just completed another round of additional features, so if you have a chance check out what I've done and perhaps we can combine our efforts? Probably doesn't make too much sense for us to be duplicating our endeavors. :-)

I've done certificate revocation and removal as well, along with adding a password option to certificate creation. https:// is now an option for the web ui. I've moved OpenVPN support to 2.5.x along with the latest version of EasyRSA. Dark Theme, host-based OpenVPN support (required to support TAP), all kinds of fixes and upgrades. I'm currently working on adding password support for the Management Interface. It would be great if we could work together in the great spirit of open source!

https://github.com/bnhf/pivpn-tap-web-ui

@bnhf seems everyone suddenly would have own and private VPN servers.
I did most of the things by my friend request, who is not much familiar with Linux, but would have same private VPN server with Pi-Hole on Raspberry-PI :)

BTW, we are using lot of the same features. You are welcome to grab password support from my repo, I pass it via Docker env to container with openvpn-web-ui, getting user and pass from Ansible config.

Here is main project Raspberry-Gateway.

bnhf commented

@d3vilh

Also, I haven't updated the README since the improvements I did in December, so don't rely on the screenshots for supported features. You'll need to spin-up the container to get the whole picture. PiVPN has been my standard for an OpenVPN installation script on the host. Debian, Ubuntu, and Raspbian are supported, and OpenVPN 2.5.x or higher is required.

bnhf commented

@d3vilh

Here is main project Raspberry-Gateway.

Looks nice -- and I see that you are off in a somewhat different direction, focusing on the Raspberry Pi. And yes, it does seem that we've added many of the same features. I'll definitely take a look at what you did for Management Interface password support.

bnhf commented

@d3vilh

You are welcome to grab password support from my repo, I pass it via Docker env to container with openvpn-web-ui, getting user and pass from Ansible config.

I actually didn't realize the original username and password environment variables didn't work, so I may incorporate what you've done there. However, I was talking about password protecting the OpenVPN Management Interface, and since you're still using the original go-openvpn library there wouldn't be any password support. Not a big deal when you're using a two container stack, but starts to matter when you want to control a host-based instance of OpenVPN.

Also, I updated the screenshots in my repository to reflect some of the more recent work I've done if you want to take a look. Here's an example showing certificate management, which includes revoke, remove and create with passphrase protection:

screenshot-nuc10-pc2 localdomain-2023 01 10-14_45_55

Also, here's the updated status page with a couple of TAP clients connected. It's great to have TAP as an option for clients that support it:

screenshot-nuc10-pc2 localdomain_8080-2023 01 10-15_31_48