Page MenuHomeVyOS Platform

"reset openvpn" op-mode command should terminate and restart OpenVPN process
Closed, ResolvedPublicFEATURE REQUEST


RIght now when the user sends reset openvpn interface vtun1 A SIGUSR1 is send to the OpenVPNM proces sin question.

This has the disadvantage that Key files are not reloaded from disk even when they have been updated (--persistent-key option)

Insted of sending SIGUSR1 via the MGMT socket, just kill -9 the process and restart it using start-stop-daemon see interfaces-openvpn-py as example.


Difficulty level
Easy (less than an hour)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Improvement (missing useful functionality)

Related Objects

Event Timeline

c-po triaged this task as Low priority.Sep 26 2019, 5:14 PM
c-po created this task.
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
c-po claimed this task.
erkin set Issue type to Bug (incorrect behavior).Aug 31 2021, 6:43 PM
erkin changed Issue type from Bug (incorrect behavior) to Improvement (missing useful functionality).