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-04-24
Junior Member
 
Join Date: 2007-04-24
Posts: 2
Rep Power: 0
dungkaitai has an average reputation (10+)
Default one (public ip) to many (different internet servers) port mapping question

The version I am using is R62.
The checkpoint can to one to many port mapping, but the public IP is the one that checkpoint is using?

How to set one to many port mapping on extra public IP?
example: 1.1.1.1 (checkpoint WAN IP),
1.1.1.2 (another public IP)
and 1.1.1.2 port 80 map to internal web server 192.168.0.1
1.1.1.2 port 25 map to internal mail server 192.168.0.2

This is possible with Netscreen, any ideas about Checkpoint?
Reply With Quote
  #2 (permalink)  
Old 2007-04-25
Member
 
Join Date: 2006-07-16
Posts: 50
Rep Power: 3
sail4fun has an average reputation (10+)
Default Re: one (public ip) to many (different internet servers) port mapping question

Can do, manual nat, Service aso.
Reply With Quote
  #3 (permalink)  
Old 2007-04-25
Senior Member
 
Join Date: 2007-01-18
Location: London
Posts: 375
Rep Power: 2
MarioL has an average reputation (10+)
Default Re: one (public ip) to many (different internet servers) port mapping question

example:

any | firewall IP | http | = | internal web server IP | =
any | firewall IP | smtp | = | internal smtp server IP | =
...
Then you need a Hide NAT rule and that should be it. BTW, you can also use the SMTP security server for the SMTP bit and that would add additional security. In that case you would use no NAT, simply create a SMTP resource that would direct mail to the internal server.
Reply With Quote
  #4 (permalink)  
Old 2007-04-25
Junior Member
 
Join Date: 2007-04-24
Posts: 2
Rep Power: 0
dungkaitai has an average reputation (10+)
Default Re: one (public ip) to many (different internet servers) port mapping question

Thanks for reply.

Sorry, I have typing mistake in my first post.

My question is:

Checkpoint can do one to many port mapping, but can the public IP NOT the one that checkpoint is using ?
(eg. two pubic ip, one public ip is the checkpoint interface/management ip, another public ip is for port mapping to different internal host).

Last edited by dungkaitai; 2007-04-25 at 12:11. Reason: typing mistake
Reply With Quote
  #5 (permalink)  
Old 2007-04-26
Senior Member
 
Join Date: 2006-04-30
Location: Europe, Germany
Posts: 153
Rep Power: 3
dsb.nepo has an average reputation (10+)
Default Re: one (public ip) to many (different internet servers) port mapping question

This is even possible with static nat.

For Example say your ext. Network is 192.168.2.1/29
Firewall IP: .2, mac address 01:02:03:04:05:06 (unix/splat)
IP for nat: .3

with this trick you can have manual nat without manual routing at the gateway, even there is not need to enable proxy arp at the external interface.

edit/create the file /opt/CPsuite-R62/fw1/conf/local.arp
Code:
192.168.2.3 01:02:03:04:05:06
go in SmartDashboard to
[Policy]
[GlobalProperies]
[Nat - Network ...]
enable Merge manual proxy arp

create object with NewObject.IP3

create rulebase
Code:
extern | NewObject.IP3 | smtp | allow
extern | NewObject.IP3 | http | allow
create incoming nat rulebase:
Code:
extern | NewObject.IP3|smtp || = | smtp server (static) | =
extern | NewObject.IP3|http || = | web server (static)  | =
outgoing nat rule:
....

push the policy, test ...
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:40.


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