Page MenuHomeVyOS Platform

Command 'set vpn ipsec disable-uniqreqids' does nothing
Closed, ResolvedPublicBUG

Description

Command 'set vpn ipsec disable-uniqreqids' does nothing

Details

Version
2025.06.06-0019-rolling, 1.4.2
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

a.apostoliuk triaged this task as Normal priority.
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.

In VyOS 1.3, this command was used to integrate with StrongSwan's uniqueids=no setting in ipsec.conf, facilitating environments requiring non-unique IKE_SAs. However, with StrongSwan's transition to swanctl.conf, such unique ID management should ideally be performed via the connections.<conn>.unique parameter. More details about the migration you can find here.

Additionally, the current set vpn ipsec remote-access connection rw unique command in newer VyOS versions supports modern uniqueness policies, which align better with updated StrongSwan configurations. https://vyos.dev/T1210

Given the situation, I can propose the following actions:

  1. Deprecate disable-uniqreqids: Phase out this command and guide users to the remote-access uniqueness settings.
  2. Modernize Configurations: Transition settings to use the connections.<conn>.unique parameter, defaulting to similar behavior as uniqueids=no.
  3. Standardize Behavior: Apply the same uniqueness handling as the remote-access settings (L2TP, profile, peer) for consistency across the platform.

Other helpful links:

I think we should go for option #2, since it's pretty flexible now. The old disable-uniqreqids option can be migrated to never on every connection.

Unknown Object (User) closed this task as Resolved.Oct 8 2025, 12:54 PM
Unknown Object (User) moved this task from Backlog to Finished on the VyOS 1.4 Sagitta (1.4.4) board.Oct 8 2025, 5:24 PM
Unknown Object (User) moved this task from Need Triage to Completed on the VyOS Rolling board.