IPsec Password not saved/removed

Started by Hannes, May 06, 2025, 11:29:43 PM

Previous topic - Next topic
May 06, 2025, 11:29:43 PM Last Edit: May 09, 2025, 09:20:45 PM by Hannes
After updating to OPNsense 25.1.5_5 my IPsec RoadWarrior Setup (legacy configuration) is broken for me.

VPN/IPsec/Mobile & Advanced Settings/Attr/Cisco Unity-Save password is enabled.

I write the password into the config on my macos.

When i start the vpn connection, i am asked for the password. If i enter the password, the connection works, but the password is removed from my local configuration on macos - so i am asked again next time i start the connection.

I guess a problem with Cisco Unity?

On other OPNsense routers (with system 25.1 or prior) passwords are saved and the connection works immediately.

I found a note in another forum: https://github.com/opnsense/core/issues/1209
Seems to be the same problem

May 19, 2025, 12:52:11 PM #1 Last Edit: May 19, 2025, 12:54:32 PM by seiz
I got the exact same Problem. Using MacOS 15.4 and 15.5.

Password is saved in VPN Configuration and Keychain has both, the Password and Shared Scecret. When connecting to the VPN, I get asked for the Password. Then it connects fine and after it connected, the Password (Xauth) is removed from the keychain and the Password-Field in the VPN-Config is empty.

New information: Connection works without asking for password iOS Clients

iPhone 16e with iOS 18.5
iPad (10th Gen) iOS 18.5

New information2:

Although i did this before - i delete my vpn profile and generated it new - it works now - the x-auth key is saved and keeps saved!

Same here. Password is now saved after recreating the VPN Config on the Mac. Great, thanks a lot!