This article describes the issue of VPN Interopeability between SRX to Cisco, with multiple subnets behind the Cisco device, being able to pass traffic only to one subnet at a time
10.1.1.0/24 ------ SRX ------- Cisco ------- 172.16.10.0/24 192.168.10.0/24
This reason for this is that in a policy-based VPN, a separate subnet for each pair of Security Associations is required. In this scenario, only one pair of Security Associations was created. To resolve this issue, you will have to create a separate Phase 2 for each destination subnet.
root@FW# show security ike proposal pre-g2-3des-sha { authentication-method pre-shared-keys; dh-group group2; authentication-algorithm sha1; encryption-algorithm 3des-cbc; lifetime-seconds 86400; } proposal pre-g2-des-sha { authentication-method pre-shared-keys; dh-group group2; authentication-algorithm sha1; } policy ike-cisco-policy { mode main; proposals pre-g2-3des-sha; pre-shared-key ascii-text "$ABC123"; ## SECRET-DATA } gateway ike-srx3400-gw { ike-policy ike-cisco-policy; address 172.22.145.62; dead-peer-detection { interval 10; threshold 1; } external-interface ge-0/0/1.0; } root@FW# show security ipsec proposal g2-esp-3des-sha { protocol esp; authentication-algorithm hmac-sha1-96; encryption-algorithm 3des-cbc; lifetime-seconds 86400; } policy ipsec-cisco-policy { perfect-forward-secrecy { keys group2; } } vpn vpn1 { bind-interface st0.0; ike { gateway ike-srx3400-gw; proxy-identity { local 10.1.1.0/24; remote 172.16.10.0/24; service any; } ipsec-policy ipsec-cisco-policy; } establish-tunnels immediately; } vpn vpn2 { bind-interface st0.1; ike { gateway ike-srx3400-gw; proxy-identity { local 10.1.1.0/24; remote 192.168.10.0/24; service any; } ipsec-policy ipsec-cisco-policy; } establish-tunnels immediately; } root@FW# show interfaces } st0 { unit 0 { family inet; } unit 1 { family inet; } }
2020-02-26: minor non-technical edits.