Skip to content

OpenVPN Client Enable/Disable #451

@danielearrighi

Description

@danielearrighi

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

{
  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:

  • pfSense Version: 2.7.2
  • Package Version 1.7.2

Affected Endpoints:

  • URL: [api/v1/services/openvpn/client]

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions