I'm trying to setup an API call to disconnect and reconnect the VPN client on demand.
To Reproduce
When I call the /api/v1/services/openvpn/client with
it works, but the auth_user property gets set to null (no problem if I pass the user in the request's body).
If I then call the same API with
It doesn't work and the VPN Client stays disabled.
Expected behavior
Disable and Enable the VPN client correctly.
pfSense Version & Package Version:
- pfSense Version: 2.7.2
- Package Version 1.7.2
Affected Endpoints:
- URL: [api/v1/services/openvpn/client]
I'm trying to setup an API call to disconnect and reconnect the VPN client on demand.
To Reproduce
When I call the
/api/v1/services/openvpn/clientwith{ disable: true }it works, but the auth_user property gets set to
null(no problem if I pass the user in the request's body).If I then call the same API with
{ disable: false }It doesn't work and the VPN Client stays disabled.
Expected behavior
Disable and Enable the VPN client correctly.
pfSense Version & Package Version:
Affected Endpoints: