Change unix socket of the OpenVPN widget
-
It seems that the OpenVPN widget of the pfSense dashboard always uses the unix socket defined through the
management
directive of the respective OpenVPN server.However, this limits the integration with additional plugins that utilise the management interface (e.g., openvpn-auth-oauth2), since only one client can be connected to the unix socket.
I understand that there is an inherent limitation from OpenVPN to support a single client connecting to the management unix socket. However, this limitation is addressed by openvpn-auth-oauth2 by implementing a pass-through socket. Through this option, openvpn-auth-oauth2 connects to the original socket, and creates an additional socket, where an additional client can be connected.
Would it be possible to have the option to change the unix socket of an OpenVPN widget? If we could tell the widget to connect to the pass-through socket that openvpn-auth-oauth2 creates, then we could have both openvpn-auth-oauth2 and the widget functional.
I have also started a relevant conversation here: https://github.com/jkroepke/openvpn-auth-oauth2/issues/344