Feature #6324

Improve IKEv2 multiple traffic selector per SA configuration GUI

Added by Jorge Albarenque over 1 year ago. Updated 14 days ago.

Target version:
Start date:
Due date:
% Done:



On IPsec IKEv2 tunnels, by default all defined Ph2s are configured within a single SA.
This could end up with undesired (and potentially security-compromising) settings (I am aware of the option to disable the single SA behavior, it is not my point)

Ph2 1: <->
Ph2 2: <->

This translates to:
leftsubnet =,
rightsubnet =,

Which means that and now have connectivity although no Ph2 is explicitly defined for them, while on IKEv1 with the same settings they don't.

I believe this is a GUI problem. This is the way I think it should behave:
  • When IKEv2 with single SA is selected, the GUI should let you create only one Ph2 where you specify all the subnets you want, on both sides, altogether.
  • When IKEv2 with split configuration is selected, it should behave as it does right now
  • Upgrades from previous versions should default to split configuration to avoid potential security issues.

I also found that this (kind of) breaks the IPsec widget. If you have multiple Ph2s defined with single SA settings, the output doesn't make sense, it shows only one tunnel with single subnets and names (the real problem here is that in fact there is just one SA!). I guess this could be easily fixed with the previous proposed solution.


#1 Updated by Chris Buechler over 1 year ago

  • Tracker changed from Bug to Feature
  • Subject changed from IKEv2 multiple traffic selector per SA lead to inappropiate configuration to Improve IKEv2 multiple traffic selector per SA configuration GUI
  • Target version changed from 2.3.1 to 2.3.2

The GUI should be as described so it's more clear what you're actually configuring.

#2 Updated by Chris Buechler about 1 year ago

  • Target version changed from 2.3.2 to 2.4.0

#3 Updated by Jim Thompson 9 months ago

  • Assignee set to Matthew Smith

#4 Updated by Renato Botelho 14 days ago

  • Target version changed from 2.4.0 to 2.4.1

Also available in: Atom PDF