However, if I reboot mikrotik on one side of the tunnel (site A) to simulate a failure this is the behavior -
While site A is down, site B removes active SA per deed peer detection. When site A comes back onlne, and once keepalive ping triggers on site B, tunnel comes back up on site B, but site A never comes up.
If tunnel is established and site B is rebooted, site A removes SA per deed peer detection, once site B comes back online and keepalive ping triggers, tunnel comes up on both sides.
I have tried all combinations of ‘send-initial-contact’ (disabled on one side and not the other and vise-versa, and enabled / disabled on both at the same time) and behavior doesnt change.
SITE A
address=y.y.y.y/32 passive=no port=500 auth-method=pre-shared-key secret=“secret” generate-policy=no exchange-mode=main send-initial-contact=no nat-traversal=no proposal-check=obey hash-algorithm=md5 enc-algorithm=3des dh-group=modp1024 lifetime=8h lifebytes=0 dpd-interval=30s dpd-maximum-failures=1