OPNsense Forum

English Forums => 25.1, 25.4 Production Series => Topic started by: Hannes on May 06, 2025, 11:29:43 PM

Title: IPsec Password not saved/removed
Post by: Hannes on May 06, 2025, 11:29:43 PM
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
Title: Re: IPsec Password not saved/removed
Post by: seiz on May 19, 2025, 12:52:11 PM
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.
Title: Re: IPsec Password not saved/removed
Post by: Hannes on July 08, 2025, 11:31:59 AM
New information: Connection works without asking for password iOS Clients

iPhone 16e with iOS 18.5
iPad (10th Gen) iOS 18.5
Title: Re: IPsec Password not saved/removed
Post by: Hannes on July 08, 2025, 12:56:22 PM
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!
Title: Re: IPsec Password not saved/removed
Post by: seiz on July 08, 2025, 01:06:54 PM
Same here. Password is now saved after recreating the VPN Config on the Mac. Great, thanks a lot!