OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: Manny P on January 02, 2025, 04:21:18 PM

Title: After WAN IP change, old WAN ip still is used in OpenVPN client exports
Post by: Manny P on January 02, 2025, 04:21:18 PM
Hello all,

I have changed the WAN IP of my Opnsense and all is working well except that when I export an existing users VPN certificate from OpenVPN the .ovpn file still has the old WAN IP address. In the management interface (ui/openvpn/export)I have an option to enter a new "hostname" but there is no way to save it.

Currently I have to manually edit the exported ovpn files to update it to the new WAN IP.

Does anyone know how to change what the exports generate so I don't need to manually update them going forward?

Thanks. MP.