CPUG

The Check Point User Group

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

1. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3.
2. 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 > NAT (Network Address Translation)
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2007-05-23
Senior Member
 
Join Date: 2006-03-19
Location: Northern Ohio
Posts: 909
Rep Power: 3
RayPesek has an average reputation (10+)
Default What's the point of service-specific NAT if you're not changing the port?

I was looking over a rulebase the other day and saw that almost all of the NAT rules are service-specific. FTP servers get manual NAT rules for just the FTP service, mail servers just SMTP, etc. The destination port is always original.

If you're not translating to a different destination port, why would you want to do this? The gateways are a mix of R55 and R61.

I'm wondering if the thought was that port scanning traffic to the destination address would get dropped by virtue of only one service being specified in the NAT rule.

Any thoughts would be greatly appreciated.

Thanks,

Ray
Reply With Quote
  #2 (permalink)  
Old 2007-05-24
Senior Member
 
Join Date: 2007-01-18
Location: London
Posts: 375
Rep Power: 2
MarioL has an average reputation (10+)
Default Re: What's the point of service-specific NAT if you're not changing the port?

I can think of a few reasons for that, even though I use automatic static NAT 99% of the time.

1 - Share one IP for multiple services (kind of the NetScreen VIP)
2 - 2nd layer of security, if you mess up the rulebase and allow more than you want (like order or something), the NAT will "stop" it. Really just doubling the work, not something I'd do.
3 - What you said, even though the security policy should handle this.
Reply With Quote
  #3 (permalink)  
Old 2007-05-24
Senior Member
 
Join Date: 2006-04-30
Location: Europe, Germany
Posts: 153
Rep Power: 3
dsb.nepo has an average reputation (10+)
Default Re: What's the point of service-specific NAT if you're not changing the port?

I even have such rules but for only one reson.

say you have 2 servers, every server provide http, ftp (mirrored from the other machine).

Normaly you setup nat this way
Code:
src  | dest    | proto  || src  | dest   | proto
any  | PubIP1  | any    || =    | NatIP1 | = 
any  | PubIP2  | any    || =    | NatIP2 | =
now take the first server down for maintanance ...

With this setup i can swap NatIP1 with NatIP2 wo. downtime for outside users and serve both http and ftp at one application server.
Code:
src  | dest    | proto  || src  | dest   | proto
any  | PubIP1  | http    || =    | NatIP1 | = 
any  | PubIP2  | ftp     || =    | NatIP2 | =
If Server1 is back i only swap the nat objects again.
Reply With Quote
  #4 (permalink)  
Old 2007-05-24
Senior Member
 
Join Date: 2006-02-02
Posts: 204
Rep Power: 3
RobertGraham has an average reputation (10+)
Send a message via MSN to RobertGraham Send a message via Yahoo to RobertGraham
Default Re: What's the point of service-specific NAT if you're not changing the port?

Yeah, I saw a policy once where the creator used the NAT rules as a way to augment network access control. It was actually over a VPN where they took away services using NAT.

To me, it's not a good idea. It's easy to misconfigure and increases complexity, which doesn't justify the trade-offs.

It's possible to accomplish what dsp.nebo refers to without explicitly defining these rules in advance. You can just create them when you need them.

If you believe as I do that as complexity increases it correlates negatively with security, these rules should be removed for a simplier more straightforward policy. If you can convince the client that this shouldn't be done, they are better off.
Reply With Quote
  #5 (permalink)  
Old 2007-05-24
Senior Member
 
Join Date: 2006-04-30
Location: Europe, Germany
Posts: 153
Rep Power: 3
dsb.nepo has an average reputation (10+)
Default Re: What's the point of service-specific NAT if you're not changing the port?

Quote:
If you believe as I do that as complexity increases it correlates negatively with security, these rules should be removed for a simplier more straightforward policy. If you can convince the client that this shouldn't be done, they are better off.
I agree with you, that is one of the reason the servers where rebuild as cluster.
Reply With Quote
  #6 (permalink)  
Old 2007-05-24
Senior Member
 
Join Date: 2006-03-19
Location: Northern Ohio
Posts: 909
Rep Power: 3
RayPesek has an average reputation (10+)
Default Re: What's the point of service-specific NAT if you're not changing the port?

Thanks for the responses and thoughts, folks.

Ray
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 13:34.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0