CSO "Redirect Gateway" Not Working, But Manual redirect-gateway def1 in Exported

Started by ozgurerdogan, June 26, 2025, 03:24:06 PM

Previous topic - Next topic
Hi everyone,

I'm facing an issue with OPNsense OpenVPN configuration related to client traffic redirection.

Situation:
In Client Specific Overrides (CSO), I enabled the "Redirect Gateway" option for a specific user. (Custom tunnel network set is fine.)
However, the client does not route all traffic through the VPN as expected.
But when I manually add redirect-gateway def1 to the exported .ovpn file (from VPN > OpenVPN > Client Export), the redirection works perfectly.