OPNsense Forum

English Forums => Virtual private networks => Topic started by: ozgurerdogan on June 26, 2025, 03:24:06 PM

Title: CSO "Redirect Gateway" Not Working, But Manual redirect-gateway def1 in Exported
Post by: ozgurerdogan on June 26, 2025, 03:24:06 PM
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.