I am trying to setup an IPsec server that can accept different parameters, because I have found that defaults used by RouterOS are ancient and no longer supported in some more modern software.
E.g. the default phase1 profile uses SHA1 hashing and 3des or aes-128 encryption, the default phase2 proposal has DH modp1024.
Newer software uses at least SHA256 and no longer implements modp1024 as "too insecure".
Of course in RouterOS you can make all kinds of settings, but now I face the problem that some users which use RouterOS already
are using ancient defaults, and new users who want to use e.g. "libreswan" cannot connect using those parameters.
So at first I thought "let's allow some more parameter values so we can deprecate the old ones later".
First problem I encounter is that a phase 1 profile can have only a single hash algorithm (it can have multiple encryption and DH settings).
I tried making two profiles, one with SHA1 and one with SHA256, and then have 2 peers (IKE2) for the ::/0 remote address with these two profiles, but the latter is rejected by an error that the second one is "unreachable". And a single peer cannot have 2 profiles.
Is there no other trick to have two options for the hash algorithm? Other software can have phase1 profiles with different hash/encrypt combos and it is possible to have e.g. aes-sha1 and aes-sha256 in the same profile.
Can that not be done in RouterOS and if so, why?