Code: Select all
/ip/ipsec/profile
name="roadwarrior" hash-algorithm=sha384 prf-algorithm=sha384 enc-algorithm=aes-256 dh-group=modp2048 lifetime=1d proposal-check=strict nat-traversal=no dpd-interval=1m
dpd-maximum-failures=5
name="site1" hash-algorithm=sha384 enc-algorithm=aes-256 dh-group=modp1536 lifetime=8h proposal-check=strict nat-traversal=yes dpd-interval=1m dpd-maximum-failures=5
/ip/ipsec/peer
name="roadwarrior" passive=yes profile=roadwarrior exchange-mode=ike2 send-initial-contact=yes
name="site1" local-address=1.2.3.4 passive=yes profile=site1 exchange-mode=ike2 send-initial-contact=yes
So RouterOS is choosing the proposal of site1, instead of roadwarrior, although site1 has a remote id matcher configured. Both tunnels are IKE2.can't agree on IKE proposal, my config:
enc: aes256-cbc
auth: sha384
dh: modp1536
prf: hmac-sha384
If I disable site1, connection for the road warrior works immediately.
Why doesn't Router OS choose the correct proposal? Can't I have multiple peers without remote peer address with RouterOS? I have been doing this successfully for like 12 years with other vendors...
Thanks for any advice.