OpenVPN Exporter - Allow for name customization
The Exporter Module creates client configurations that show up in the client workstation with the Netgate/pfSense hostname and the TCP port number. This is abritrary when assigning many TCP targets on the same or multiple OpenVPN servers spread across a large network of Netgate devices.
My request is the ability to leave the default naming structure or select a box on the OpenVPN server to allow for a customized name to be inserted into the exported OpenVPN Client configuration.
A list of installed clients on a computer shows the gateway name and TCP/UDP port.
Allow an optional config name: <$variable> or default if not changed.
Result => config name injected into the OpenVPN config to display a meaningful description.
gatewayBob-TCP4-20000-config => CorpIT_Restricted
gatewayBob-TCP4-20010-config => CorpIT_SplitTunnel
gatewayBob-TCP4-20021-config => CorpXX_EmployeeAccess
MFGGWCore-TCP4-1194-config => CorpYY_ReadOnlyReporting
MFGGWCore-TCP4-3000-config => CorpYY_EmergencySupport
The pulldown on a computer with multiple OpenVPN configurations can be far more descriptive, but the Export from pfSense is not configurable at this time.
Alternatives used at this time include the download of an OpenVPN configuration and manually editing the .conf so it shows a different name when an end user installs it. This is not possible when installing the "all-in-one" OpenVPN client installer w/ config.