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 52 attendees signed up from 14 countries!
2. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 8/25, 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 > Dynamic Routing
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2006-11-01
Kubann Kubann is offline
Member
 
Join Date: 2006-07-21
Posts: 34
Rep Power: 0
Kubann has an average reputation (10+)
Default Policy Based Routing

Hi there

How does one configure the checkpoint firewall to route for eg smtp traffic out to a certain interface only.

I know Checkpoint on the rule base has only permit , deny , traffic classification.

But there is no where, to specify on what interface the traffic should go out or come in

Please help
Reply With Quote
  #2 (permalink)  
Old 2006-11-01
northlandboy northlandboy is offline
Senior Member
 
Join Date: 2006-07-28
Location: New Zealand
Posts: 776
Rep Power: 3
northlandboy has an average reputation (10+)
Default Re: Policy Based Routing

Check Point doesn't do (or really care about) routing.

That's up to the OS. Check Point enforces policy in terms of what is allowed, not how to route it.

You'll need to look into what's possible with whatever OS your firewall is running on.
Reply With Quote
  #3 (permalink)  
Old 2006-12-11
membree membree is offline
Junior Member
 
Join Date: 2006-05-01
Location: Halifax, Nova Scotia, Canada
Posts: 6
Rep Power: 0
membree has an average reputation (10+)
Default Re: Policy Based Routing

Policy routing based on source IP can be done on SmartPlatform, however, Check Point provide no support for doing this so you need to figure out how from Linux documentation and manually issue the appropriate commands in rc.local.

Any policy routing that would require tagged packets is not possible on SPLAT because NetFilter is not installed.
Reply With Quote
  #4 (permalink)  
Old 2007-01-04
packnet packnet is offline
Junior Member
 
Join Date: 2006-08-30
Posts: 5
Rep Power: 0
packnet has an average reputation (10+)
Default Re: Policy Based Routing

I've asked about this on Nokia IPSO and was told that it wasn't supported - by IP address, so I would assume that it certainly wouldn't do so based on protocol.

If you're trying to get SMTP to route one direction, you might put a relay server in a DMZ and have your internal SMTP servers point to it. Just a thought, this might not cover what you're trying to do.
Reply With Quote
  #5 (permalink)  
Old 2007-01-07
linuxsrc linuxsrc is offline
Junior Member
 
Join Date: 2006-01-25
Posts: 20
Rep Power: 0
linuxsrc has an average reputation (10+)
Default Re: Policy Based Routing

If your platform is Linux (including Crossbeam/Resilience/SecurePlatform/Redhat...), you can do whatever you want, for Linux support advaned routing, so you can configure the Policy-Based routing using 'ip rule' and 'ip route', good luck!
Reply With Quote
  #6 (permalink)  
Old 2007-01-11
rayden69 rayden69 is offline
Junior Member
 
Join Date: 2006-09-18
Posts: 19
Rep Power: 0
rayden69 has an average reputation (10+)
Default Re: Policy Based Routing

The way to do this is with the use of all of the policy including NAT and a little bit of what is called in the Cisco world PAT. Since you are only asking tcp port 25 (SMTP) to go out the other interface you will need to set up a NAT rule before you overload traffic.

on the Original Packet Side:

Source: the network, group or host
Destination: you can set as any (if you do this you may need to build a no nat between your own networks rule prior to this)
Service: SMTP (TCP 25)

Translated Packet Side:

Source: the ip nat ip you want all smtp traffic coming from (has to be on the inteface side you want traffic to go out)
Destination: any
Service: SMTP

After that you will need a rule allowing traffic outbound

you will then most likely want to reverse this for incoming traffic and set your mx to the nat ip you specified above.

If you this isn't clear enough please let me know and I can give examples!
Reply With Quote
  #7 (permalink)  
Old 2007-01-11
northlandboy northlandboy is offline
Senior Member
 
Join Date: 2006-07-28
Location: New Zealand
Posts: 776
Rep Power: 3
northlandboy has an average reputation (10+)
Default Re: Policy Based Routing

Quote:
Originally Posted by rayden69 View Post
The way to do this is with the use of all of the policy including NAT and a little bit of what is called in the Cisco world PAT. Since you are only asking tcp port 25 (SMTP) to go out the other interface you will need to set up a NAT rule before you overload traffic.

on the Original Packet Side:

Source: the network, group or host
Destination: you can set as any (if you do this you may need to build a no nat between your own networks rule prior to this)
Service: SMTP (TCP 25)

Translated Packet Side:

Source: the ip nat ip you want all smtp traffic coming from (has to be on the inteface side you want traffic to go out)
Destination: any
Service: SMTP

After that you will need a rule allowing traffic outbound

you will then most likely want to reverse this for incoming traffic and set your mx to the nat ip you specified above.

If you this isn't clear enough please let me know and I can give examples!
Can you explain how this will work? I can source NAT something to anything I want to, but that isn't going to control how the OS will route it. If you implement that NAT, it will still get routed out whatever interface is the default. This will only change the behaviour of where reply packets go to. You are then in an asymmetric routing situation, which will probably work if they are simple routers outside the firewall, but it becomes a pain after a while, especially for troubleshooting.
Reply With Quote
  #8 (permalink)  
Old 2007-01-11
rayden69 rayden69 is offline
Junior Member
 
Join Date: 2006-09-18
Posts: 19
Rep Power: 0
rayden69 has an average reputation (10+)
Default Re: Policy Based Routing

you are correct, you will either need to at a static route for the host (mail server) or add 2 equal cost default routes out if you are hiding networks.
Through use of NAT you can get the traffic to route back correctly.

In our case we use dynamic routing (OSPF) between the border routers and the nokia firewalls in area 2 and OSPF internal as well internal in backbone area 0

Although your internal routing table can either be static as well.
Reply With Quote
  #9 (permalink)  
Old 2007-01-11
northlandboy northlandboy is offline
Senior Member
 
Join Date: 2006-07-28
Location: New Zealand
Posts: 776
Rep Power: 3
northlandboy has an average reputation (10+)
Default Re: Policy Based Routing

equal cost default routes is going to do load sharing for all traffic - it's not going to achieve the stated goal of routing SMTP traffic via one interface only.

If you want to ensure certain traffic doesn't swamp other traffic, it's probably better to achieve it with a traffic management solution - e.g Packeteer, Floodgate.
Reply With Quote
  #10 (permalink)  
Old 2007-01-11
rayden69 rayden69 is offline
Junior Member
 
Join Date: 2006-09-18
Posts: 19
Rep Power: 0
rayden69 has an average reputation (10+)
Default Re: Policy Based Routing

I should add we also use floodgate as well however depending on your licenses this may/may not already be available to you.
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 15:56.


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