Hi, we’ve been trying to stablish an IPSec tunnel between our institution (with Mikrotik hardware) and Amazon AWS IPsec implementation with no success. The problem is a little weird so I will try to describe it.
Amazon AWS provides us a generic configuration documentation so we can configure the router in our side. The IPSec tunnel gets stablished correctly, it works for some minutes but it suddenly gets disconnected (the installed SA’s dissappear). It reconnects after a new negotiation, but this behaviour makes the tunnel unsuable (4 minutes perfect, 20 seconds stuck).
We’re using this configuration in our side (removed the private part of the configuration, ip’s and secret key):
/ip ipsec peer add address=xx.xx.xx.xx/32 dpd-interval=10s dpd-maximum-failures=3 enc-algorithm=aes-128 lifetime=8m local-address=xx.xx.xx.xx nat-traversal=no secret=xxxxxx
/ip ipsec policy add dst-address=xx.xx.xx.xx/16 sa-dst-address=xx.xx.xx.xx sa-src-address=xx.xx.xx.xx src-address=xx.xx.xx.xx/32 tunnel=yes
Everything gets negotiated perfectly, but after this few minutes the installed keys dissapera.
Does anyone has any experience connecting Mikrotik HW with AWS VPN which can provide us any suggestion about the problem?