Configuring a VPN between a Juniper Firewall and a Cisco PIX

Juniper tends to have pretty good documentation in their knowledgebase, on how to configure equipment for different situations. I recently had to setup a VPN between a Juniper SSG-140 (at HQ) and a remote Cisco PIX. Going to Juniper's knowledgebase, you would most likely come across the article: . This article describes setting up a “route-based” VPN between the two devices. I believe these directions would work if you were trying to connect one subnet on each end.

My particular setup required accessing two completely different subnets ( and at HQ to one subnet ( at the remote site. I worked with JTAC for several hours, and they could not explain why it wasn't working with the above directions. The JTAC insisted we just needed an additional route to make it work… and couldn't explain why we couldn't get it working. At one point we were able to have the remote site connect to both subnets at HQ, but only one subnet at HQ could get back. It was an odd situation.

At this point most of my previous experience had been with the Cisco PIX, and I was confused by the Juniper. I then realized that the traditional Cisco PIX VPN implementation is NOT a route-based VPN, but is a policy-based VPN.

I completely deleted all previous work from the above directions and rebuilt the Juniper side with policies instead of the tunnel interface and routes. Everything worked perfectly and was much more reliable.

Juniper Policy Based VPN documentation:

netscreen, cisco, pix, firewall, vpn,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.