Vpn – SonicWall is dropping encrypted packets with error “sonicwall ipsec vpn decryption failed selector check error”

ipsecjunipersonicwallvpn

I have implemented a Site-to-Site IPsec tunnel between a Juniper SSG firewall and a SonicWall.

However, any traffic that I send over the tunnel gets dropped on the SonicWall with an error saying sonicwall ipsec vpn decryption failed selector check error.

I have tried multiple things with no luck including disabling replay protection and enabling fragmented packets handling.

Does anyone know what this error message means? What is the selector check?

Best Answer

This sounds like an issue with traffic-selectors - if you are using policy-based VPN on both sides, you need to make sure the policy (eg: traffic you permit over the tunnel) is the same but reversed on each side. eg:

Side A:

From Side A Network to Side B Network then tunnel

Side B:

From Side B Network to Side A Network then tunnel