How to use ifconfig-push and push route for Openvpn in Opnsense 23.7?

Started by elvinmammadov, October 05, 2023, 03:44:22 PM

Previous topic - Next topic
Hello,

We have updated our Opnsense to v23.7.5 yesterday. We have noticed that the configuration in OpenVPN Client Specific Overrides is lost. We are using fixed ip and routing for our vpn clients.
How can we do it in v23.7.5? Because advanced section is missing.



probably missed the release notes and updated docs. I would start there.

OPN ver 23.7 Migration notes, known issues and limitations:

o The new OpenVPN instances pages and API create an independent set of instances more closely following the upstream documentation of OpenVPN.  Legacy client/server settings cannot be managed from the API and are not migrated, but will continue to work independently.

https://docs.opnsense.org/manual/vpnet.html#openvpn-ssl-vpn

Quote from: elvinmammadov on October 05, 2023, 03:44:22 PM
Hello,

We have updated our Opnsense to v23.7.5 yesterday. We have noticed that the configuration in OpenVPN Client Specific Overrides is lost. We are using fixed ip and routing for our vpn clients.
How can we do it in v23.7.5? Because advanced section is missing.

Hello,
did you find a solution?

You can do it in the specific fields in CSO... I am only pushing IPs, not routes, but this should also work...
i am not an expert... just trying to help...

Thanks,
but still have no idea how can I add route here
Also, it's a big problem to add CSO for every user

For routes you must use the Local Network option (networks given here will be routed through VPN gateway).
CSO is meant for different configs for different users, if there is no need for that (for CSO) you can push routes in general to any client using Routing/Local Network option in Instance settings.
i am not an expert... just trying to help...