OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: hypemedia on May 08, 2020, 09:33:30 am

Title: Many users for OpenVPN
Post by: hypemedia on May 08, 2020, 09:33:30 am
Hi,

I have 100 users that I need to import and use 2FA and OpenVPN. I have the following problems.

1. I don't want to user Radius or LDAP and want to import the users. Is there any way of doing this? I don't see an API for this and I was thinking to do it with ansible or a basc CSV import.

2. After I have the users I need a simple way of exporting, username, Openvpn file (that contains certificate and connection data) and the QR code image for 2fa. Again I can do this by hand but for 100 users is going to be a pain.

3. Is there a way for example to let the users download this data after they login, without giving access to the rest of the system. If I give them access to the OpenVpn Client Export page will see and can download the profiles of all the users.

I really like OPNsense and Pfsense but the fact that there is not an complete api or any way that can be automated it is making the project more for individual and hobbyist than enterprise.

We want to deploy 20 installs and be able to manage them from scripts (deploying ssh keys, users and firewall rules across all of them) Did somebody used OPNsense like this or for the moment I need to look for some other solution?

Thanks
Title: Re: Many users for OpenVPN
Post by: CraigS on October 27, 2020, 03:50:01 pm
Hello hypemedia,

Have you had success with this request or found a product that can do it?

I have mostly the same situation.

Regards,
Craig