It would be great to be able to change the configuration of an openVPN client configuration. This is for connecting the pfSense box to an upstream openVPN server, as distinct from changing settings for clients connecting to an openVPN server hosted in pfSense. Hope that makes sense!
In particular, I'm looking for a way to programmatically change the "server or hostname" field in the openVPN client configuration via API. For multiple openVPN client configurations, it would be very useful to be able to enumerate them and then target a specific client connection for change.
The purpose of all this is to be able to periodically switch between openVPN provider servers based on their load, stats for which which I can pull from the VPN provider's API.
It would be great to be able to change the configuration of an openVPN client configuration. This is for connecting the pfSense box to an upstream openVPN server, as distinct from changing settings for clients connecting to an openVPN server hosted in pfSense. Hope that makes sense!
In particular, I'm looking for a way to programmatically change the "server or hostname" field in the openVPN client configuration via API. For multiple openVPN client configurations, it would be very useful to be able to enumerate them and then target a specific client connection for change.
The purpose of all this is to be able to periodically switch between openVPN provider servers based on their load, stats for which which I can pull from the VPN provider's API.