Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Site-to-Site VPN from Checkpoint to Juniper SSG-5

Site-to-Site VPN from Checkpoint to Juniper SSG-5

Site-to-Site VPN from Checkpoint to Juniper SSG-5


I want to upload data to our provider's datacenter, hence we tried to create an IPSec site-to-site VPN.

Our Checkpoint firewall is configured as following:
- VPN device : CheckPoint VPN-1, Firewall-1 NGX (R65)
- Let's say the IP address of our FW is :
- Auhtentication: Preshared key
- IKE Phase 1 : 3DES/SHA-1
- IPSec Phase 2 : 3DES/SHA-1
- Diffie-Hellman: Group 2 (1024 bit)
- NAT : disabled in VPN community
- Our host : (just an example)

The provider's confinguration:
- VPN device : Juniper SSG-5
- Auhtentication: Preshared key
- Phase 1 : standard (???)
- Phase 2 : standard (???)
- Diffie-Hellman: standard (???)
- their server : (just an example)

When I tried to upload data to their server (which IP is

The connection failed on the phase 1 with the following error(from their log) :
==== ERROR =====
IKE Phase 1: Main mode negotiations have failed.
Rejected an IKE packet on ethernet0/5 from to xxxxx:500 with cookies ***** and ****** because Phase-1: no user configuration was found for the received IKE ID type: IP Address,1.
==== END ERROR ====

I have no idea how to configure Juniper FW.
Is there someone who may help, how to configure the SSG-5,
to create site-to-site VPN between Checkpoint and Juniper SSG-5 ?

Any help would be appreciated.


RE: Site-to-Site VPN from Checkpoint to Juniper SSG-5

The negociation fails when the juniper receive the first packet UDP 500. It looks like the juniper doesn't know who is the peer sending the packet.

VPN > autokey advanced

Gateway : create your checkpoint VPN peer using IKEv1. From what I can remember, IKEv2 is useful if you need asymetric auth.
Go to advanced option ->
Enter you preshared secret.
security level: use user defined and select pre-g2-3des-sha

then go to autokey IKE, create your VPN, select the profile you've just created, go to advanced, security level go to user defined select g2-esp-3des-sha (I'm guessing by DH g2 you mean perfect forward secrecy)

Then, IKE phase 2 depends on your policy. You need a rule in the juniper that matches the encryption domain defined with CP

create a rule from untrust to destinaton zone source dest service any action: tunnel, tunnel : your vpn and select Modify matching bidirectional VPN policy  so it will create the reverse rule.

That should work.

RE: Site-to-Site VPN from Checkpoint to Juniper SSG-5


thank you for your answer, I'll tell our provider tomorrow  to configure their Juniper Firewall as you recommended.
I hope this will help.


RE: Site-to-Site VPN from Checkpoint to Juniper SSG-5


our provider updated their configuration and allowed Auth.
There error "no user configuration was " disappeared,
but there is still the error like :
Rejected an IKE packet on ethernet0/5 from to xxxxx:500 with cookies ***** and ******
It seems the VPN is not created at all.
We even tried to set Aggressive mode on both Juniper and Checkpoint VPN settings, but didn't help.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close