OPNsense Forum

English Forums => General Discussion => Topic started by: adminexploit on October 02, 2025, 05:46:08 PM

Title: OPENVPN client specific overrides not working
Post by: adminexploit on October 02, 2025, 05:46:08 PM
Hi,
I migrated old openvpn servers (25.1) to new openvpn instances (25.7.4). And I'm not able to attribute ip address depending on their CommonName anymore, it has always worked before migration. Openvpn just attribute first available IP.

Please help.
regards.
Title: Re: OPENVPN client specific overrides not working
Post by: adminexploit on October 03, 2025, 11:22:32 AM
UPDATE:
I played with multiple options such like: username as CN and/or Require Client Provisioning and/or AD authentication, it's unable to attribute specific client's override IP. I need helps. Or, I've to allow all traffics for all clients on openvpn interfaces ... that's not fun.
Title: SOLVED and update: Re: OPENVPN client specific overrides not working
Post by: adminexploit on October 03, 2025, 05:56:54 PM
UPDATE: SOLVED
Ok, I find finally the problem and it was (almost) my bad. As I migrated from an old openvpn server to a new instance, I just put the same name. But I didn't realized that I have check the new openvpn instance on server box of client override dial menu ( as they have the same name ). So, I would suggest that openvpn instances should not have same name to avoid confusion.

Thanks.