CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. Come to CPUG CON 2008 EUROPE in Switzerland on September 8th - 9th!
    Two days full of technical content for Check Point administrators in the beautiful Swiss Alps!
    We already have 72 attendees signed up from 20 countries!
2. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 10/6, 11/3, 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3, 9/7.
3. Corrent S3500 SecureXL Turbocards For Sale - Last Six Remaining - Get Your Spares!
4. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 And Related Products > SmartDashboard
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2008-01-02
Startrek4u Startrek4u is offline
Junior Member
 
Join Date: 2007-05-17
Posts: 24
Rep Power: 0
Startrek4u has an average reputation (10+)
Default Rule being Ignored?

So here's my dilemma. I have two sites which I manage, for the sake of explanation, Site A and Site B. I have a rule setup for a server which is at Site B to allow traffic over SSH to any destination. This rule works, except when we try to access it from Site A. It recognizes the correct public IPs, etc. The services match and are selected for "Match Any" in the advanced properties. However when I try to access it from Site A it bypasses the allow rule and then is dropped by the implicit deny at the end of the policy. Has anyone seen this before and know how to fix it?

Thanks
Reply With Quote
  #2 (permalink)  
Old 2008-01-02
mcnallym mcnallym is offline
Senior Member
 
Join Date: 2007-06-04
Posts: 993
Rep Power: 2
mcnallym has an average reputation (10+)
Default Re: Rule being Ignored?

Quote:
Originally Posted by Startrek4u View Post
I have a rule setup for a server which is at Site B to allow traffic over SSH to any destination.
Thanks
Based on what you are saying then the Server at Site B is allowed SSH to any destination.

SSH from Site A to that Server won't match that rule, you need a rule that allows Site A to access the SSH Server.
Reply With Quote
  #3 (permalink)  
Old 2008-01-03
Startrek4u Startrek4u is offline
Junior Member
 
Join Date: 2007-05-17
Posts: 24
Rep Power: 0
Startrek4u has an average reputation (10+)
Default Re: Rule being Ignored?

I do have rules allowing the connection from Site A to Site B, and on the FW at Site A is it allowed out, it is at the FW at Site B where the traffic is being dropped.
Reply With Quote
  #4 (permalink)  
Old 2008-01-03
mcnallym mcnallym is offline
Senior Member
 
Join Date: 2007-06-04
Posts: 993
Rep Power: 2
mcnallym has an average reputation (10+)
Default Re: Rule being Ignored?

So on Site B Firewall there is a rule


Src = Site A
Dest = Public SSH Server Address
Service = SSH
Action = Accept

Write as above how the rules that you think should allow the traffic that is being dropped.
Reply With Quote
  #5 (permalink)  
Old 2008-01-03
Startrek4u Startrek4u is offline
Junior Member
 
Join Date: 2007-05-17
Posts: 24
Rep Power: 0
Startrek4u has an average reputation (10+)
Default Re: Rule being Ignored?

Not quite, the traffic is being dropped from the server at Site B destined for Site A at the firewall at Site B. The rule is as follows:

Src= Site B Server
Dest= Any
Service= SSH
Action= Accept

We do have a reverse rule setup to allow incoming connections as well.

Src= Any (as this is part of a web app that multiple customers use)
Dest- Site B Server
Service= SSH
Action= Accept

The dumb thing is that is works for anyone else, just not us.

Last edited by Startrek4u; 2008-01-03 at 08:46.
Reply With Quote
  #6 (permalink)  
Old 2008-01-03
Thorpuse Thorpuse is offline
Senior Member
 
Join Date: 2007-07-16
Posts: 461
Rep Power: 2
Thorpuse has an average reputation (10+)
Default Re: Rule being Ignored?

1. Is there a VPN between Site A and Site B?

2. Are you logging implied rules? Are you sure that your traffic is being dropped by the drop rule, or by an implied rule (rule 0)

3. Check the NAT properties for the drop. Make sure that the traffic is or isn't being NATted correctly.

If 1. is true, then NAT and encryption domain mismatches would fit this scenario exactly.
Reply With Quote
  #7 (permalink)  
Old 2008-01-03
Startrek4u Startrek4u is offline
Junior Member
 
Join Date: 2007-05-17
Posts: 24
Rep Power: 0
Startrek4u has an average reputation (10+)
Default Re: Rule being Ignored?

Quote:
Originally Posted by Thorpuse View Post
1. Is there a VPN between Site A and Site B?

2. Are you logging implied rules? Are you sure that your traffic is being dropped by the drop rule, or by an implied rule (rule 0)

3. Check the NAT properties for the drop. Make sure that the traffic is or isn't being NATted correctly.

If 1. is true, then NAT and encryption domain mismatches would fit this scenario exactly.
Good questions, here's what I have:
1. No (although we do have a direct fibre link with that location, this traffic still should travel externally, the destination is our external address at Site A which is routed to the internet from the FW at Site B)
2. Yes, and the rule it shows is #39, which is my last rule which is an implicit deny
3. This is where it gets curious... it should be NATing, but it's not. Again, only for this traffic. The NAT rule does have it set for Any destination to translate.

I've never seen this before... any suggestions on where to go from here?
Reply With Quote
  #8 (permalink)  
Old 2008-01-03
chillyjim chillyjim is offline
Senior Member
 
Join Date: 2005-08-29
Location: Upstate NY
Posts: 1,637
Rep Power: 5
chillyjim has an average reputation (10+)
Send a message via AIM to chillyjim Send a message via Skype™ to chillyjim
Default Re: Rule being Ignored?

Quote:
Originally Posted by Startrek4u View Post
3. This is where it gets curious... it should be NATing, but it's not. Again, only for this traffic. The NAT rule does have it set for Any destination to translate.

I've never seen this before... any suggestions on where to go from here?
Do you have nat turned off in the tunnel?
Reply With Quote
  #9 (permalink)  
Old 2008-01-03
Thorpuse Thorpuse is offline
Senior Member
 
Join Date: 2007-07-16
Posts: 461
Rep Power: 2
Thorpuse has an average reputation (10+)
Default Re: Rule being Ignored?

Quote:
Originally Posted by Startrek4u View Post
Good questions, here's what I have:

3. This is where it gets curious... it should be NATing, but it's not. Again, only for this traffic. The NAT rule does have it set for Any destination to translate.

I've never seen this before... any suggestions on where to go from here?
If it's not NATting, it suggests a NATting or routing problem. Check the logs for which NAT rule(s) are matched. Also check that your NAT rules (and your firewall rules!) are being applied on the correct gateway.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 14:03.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0