Replies: 6 comments
|
Hi I really appreciate the reply. In fact I was wondering if it is
possible to start only a specific client connection of the vpn service not
the whole service itself!
…On Tue, May 24, 2022 at 10:38 AM Jared Hendrickson ***@***.***> wrote:
Hey!
The /api/v1/services/restart endpoint has the service property that you
can use to specify a single service to restart. To only restart OpenVPN,
your request body to this endpoint should be: {"service": "openvpn"}
[image: Screen Shot 2022-05-24 at 8 35 42 AM]
<https://user-images.githubusercontent.com/50180862/170061866-36558096-c6be-4b90-9ad3-067059aec49e.png>
Hope this helps.
Thanks!
—
Reply to this email directly, view it on GitHub
<#233 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGCUHVQF42GP66U6SFCHZHLVLTSVBANCNFSM5WPTES5Q>
.
You are receiving this because you authored the thread.Message ID:
<jaredhendrickson13/pfsense-api/repo-discussions/233/comments/2812728@
github.com>
|
0 replies
|
in fact I always get this message back
On Sun, May 29, 2022 at 2:49 PM Christopher Kooistra ***@***.***>
wrote:
… Hi I really appreciate the reply. In fact I was wondering if it is
possible to start only a specific client connection of the vpn service not
the whole service itself!
On Tue, May 24, 2022 at 10:38 AM Jared Hendrickson <
***@***.***> wrote:
> Hey!
>
> The /api/v1/services/restart endpoint has the service property that you
> can use to specify a single service to restart. To only restart OpenVPN,
> your request body to this endpoint should be: {"service": "openvpn"}
>
> [image: Screen Shot 2022-05-24 at 8 35 42 AM]
> <https://user-images.githubusercontent.com/50180862/170061866-36558096-c6be-4b90-9ad3-067059aec49e.png>
>
> Hope this helps.
>
> Thanks!
>
> —
> Reply to this email directly, view it on GitHub
> <#233 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AGCUHVQF42GP66U6SFCHZHLVLTSVBANCNFSM5WPTES5Q>
> .
> You are receiving this because you authored the thread.Message ID:
> <jaredhendrickson13/pfsense-api/repo-discussions/233/comments/2812728@
> github.com>
>
|
0 replies
|
[image: image.png]
On Sun, May 29, 2022 at 3:01 PM Christopher Kooistra ***@***.***>
wrote:
… in fact I always get this message back
On Sun, May 29, 2022 at 2:49 PM Christopher Kooistra ***@***.***>
wrote:
> Hi I really appreciate the reply. In fact I was wondering if it is
> possible to start only a specific client connection of the vpn service not
> the whole service itself!
>
> On Tue, May 24, 2022 at 10:38 AM Jared Hendrickson <
> ***@***.***> wrote:
>
>> Hey!
>>
>> The /api/v1/services/restart endpoint has the service property that you
>> can use to specify a single service to restart. To only restart OpenVPN,
>> your request body to this endpoint should be: {"service": "openvpn"}
>>
>> [image: Screen Shot 2022-05-24 at 8 35 42 AM]
>> <https://user-images.githubusercontent.com/50180862/170061866-36558096-c6be-4b90-9ad3-067059aec49e.png>
>>
>> Hope this helps.
>>
>> Thanks!
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <#233 (comment)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/AGCUHVQF42GP66U6SFCHZHLVLTSVBANCNFSM5WPTES5Q>
>> .
>> You are receiving this because you authored the thread.Message ID:
>> <jaredhendrickson13/pfsense-api/repo-discussions/233/comments/2812728@
>> github.com>
>>
>
|
0 replies
|
Currently, no. There is not a supported method of restarting OpenVPN clients. There is an open feature request for this though (#136). Feel free to follow that issue for updates on future progress. |
0 replies
|
I don't seem to be able to restart the openvpn service. In my case I got two openvpn server. Any suggestions? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Hi there I have a specific use case for which I installed this package. I would like to be able to reboot my openvpn client service. I see that I can restart all services but is there a way to pass parameters to target specific services? Sorry I have been looking around in the documentation but not seeing what I am looking for. Thanks for your help!
All reactions