Hi,
I’m having a problem with a site-to-site VPN connection between two RouterOS devices, both running 6.29.1.
I can only initiate a VPN connection from Site A, but once the VPN is up, traffic flows unrestricted between Site A and Site B. If the SA times out, I can only re-initiate the connection from Site A. For example, if the connection is down and I try to ping a Site A host from Site B, I receive no response, but if I ping a Site B host from Site A, I receive a response and can ping in either direction until the connection times out.
Both routers are configured identically. I don’t know if DPD would help, but I’d prefer to leave it disabled and allow the connections to timeout when not in use.
Also, on one occasion, I had to flush the SAs and kill the remote peer connection before I could initiate a connection from Site A.
Here’s the configuration for each site:
Site A (WAN 1.0.1.0, LAN 10.0.10.0/24)
/ip firewall filter
add chain=forward dst-address=10.0.10.0/24 src-address=10.0.20.0/24
/ip firewall nat
add chain=srcnat dst-address=10.0.20.0/24 src-address=10.0.10.0/24
/ip ipsec peer
add address=1.0.2.0/32 secret=MySecret
/ip ipsec policy
add dst-address=10.0.20.0/24 sa-dst-address=1.0.2.0
src-address=10.0.10.0/24 sa-src-address=1.0.1.0 tunnel=yes
Site B (WAN 1.0.2.0, LAN 10.0.20.0/24)
/ip firewall filter
add chain=forward dst-address=10.0.20.0/24 src-address=10.0.10.0/24
/ip firewall nat
add chain=srcnat dst-address=10.0.10.0/24 src-address=10.0.20.0/24
/ip ipsec peer
add address=1.0.1.0/32 secret=MySecret
/ip ipsec policy
add dst-address=10.0.10.0/24 sa-dst-address=1.0.1.0 sa-src-address=1.0.2.0
src-address=10.0.20.0/24 tunnel=yes
Any help would be appreciated.
Thanks,
Rick