OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: elvinmammadov on October 05, 2023, 03:44:22 PM

Title: How to use ifconfig-push and push route for Openvpn in Opnsense 23.7?
Post by: 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.

Title: Re: How to use ifconfig-push and push route for Openvpn in Opnsense 23.7?
Post by: elvinmammadov on October 11, 2023, 09:39:09 AM
Could anyone help me with how to solve it? Thanks.
Title: Re: How to use ifconfig-push and push route for Openvpn in Opnsense 23.7?
Post by: cookiemonster on October 11, 2023, 12:39:05 PM
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
Title: Re: How to use ifconfig-push and push route for Openvpn in Opnsense 23.7?
Post by: NFKhalaychidi on June 18, 2024, 01:01:05 PM
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?
Title: Re: How to use ifconfig-push and push route for Openvpn in Opnsense 23.7?
Post by: tiermutter on June 18, 2024, 01:23:57 PM
You can do it in the specific fields in CSO... I am only pushing IPs, not routes, but this should also work...
Title: Re: How to use ifconfig-push and push route for Openvpn in Opnsense 23.7?
Post by: NFKhalaychidi on June 18, 2024, 01:43:47 PM
Thanks,
but still have no idea how can I add route here
Also, it's a big problem to add CSO for every user
Title: Re: How to use ifconfig-push and push route for Openvpn in Opnsense 23.7?
Post by: tiermutter on June 18, 2024, 01:51:46 PM
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.