I have pfsense 2.4.3-RELEASE (netgate) and I want to automate user VPN creating. Steps are:
- Create user with password.
1.1 User name / Full name / Password. - Create certificate with specific Cert Authority.
2.1 Client cert description.
2.2 Choose which CA to use. - Export OpenVPN client configuration.
3.1 Select which OpenVPN server to use (I have two on different ports).
3.2 Export specific user inline configuration.
It seems there is some soft of API but I cannot find good documentation.I'm also familiar with bash but I read on some forums that its not a good idea.
P.S.Im new to pfsense but I'm experienced sys admin.