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 2006-08-20
Member
 
Join Date: 2005-08-22
Posts: 54
Rep Power: 4
karimi has an average reputation (10+)
Default arp still needed for Static NAT ?

hello

i am new to this..so bear with me. I have Checknpoint NGX and the following diagram:

Internet/<public ISP> =====> <my fw> ====> <int 10.x.x.x/8>

I want to deliver mail (port 25/smtp) to an internal exchange server (say 10.5.5.50).

My ISP gave me 5 public IPs, like 64.10.10.1-5. So I can put 2 static NAT rules:

#1: src=Any dst=64.10.10.1 svc=smtp / =original dst=10.5.5.50 svc=smtp
#2:
src=10.5.5.50 dst=any svc=smtp / src=S(64.10.10.1) dst=original svc=smtp

Will that work, or do I have to use Proxy-ARP ? If I make a DMZ, do I have to give the DMZ mail server a public IP or a private IP ?

Thanks

~mark
Reply With Quote
  #2 (permalink)  
Old 2006-08-21
Senior Member
 
Join Date: 2006-04-27
Location: Twillight zone
Posts: 465
Rep Power: 3
abusharif has an average reputation (10+)
Default Re: arp still needed for Static NAT ?

since you seem to do manual NAT then yes, you define proxy arp manualy. If you use automatic, meaning clicking nat on the object itself its handled automatic.
Reply With Quote
  #3 (permalink)  
Old 2006-08-21
Senior Member
 
Join Date: 2006-07-28
Location: New Zealand
Posts: 857
Rep Power: 3
northlandboy has an average reputation (10+)
Default Re: arp still needed for Static NAT ?

The short answer is it depends on your network setup.

You need to understand ARP, how it works, and when/why you would need proxy ARP.

You haven't mentioned what network exists between your firewall and the ISP - let's assume that it is 64.10.10.0/27 - i.e. the SAME network as the one your addresses publicly assigned by your ISP sit in. Now think about a packet routed from somewhere on the Internet to one of your public IPs - say 64.10.10.1. It will be routed across the Internet, using BGP, to the router connected upstream of your firewall. The router will then notice that 64.10.10.1 is a locally connected network, and send out an ARP request. If you've configured the firewall to proxy-ARP for that address, then the router will learn that, and forward the frames to the firewall. The firewall will receive the frame, process it, and realise it needs to NAT the address to 10.5.5.50. All good. If you didn't have any proxy ARP configured, then the router wouldn't be able to get a reply to its ARP request for 64.10.10.1, and would end up dropping the frame.

But what if the network between your ISP's router and your firewall is not 64.10.10.0/27? In that case, presumably (hopefully) the ISP will set up a static route on their router for those addresses, going via the external address of your firewall. Now when the router receives a packet for 64.10.10.1, it knows it is not local, and it has a static route for that network, so it will ARP for the external address of the firewall, and send the frames through with that destination MAC. The firewall will receive the frames, realise it needs to NAT the address, and will do so.

Does that make sense?

Related to your question about a DMZ, I would say that having (e.g.) your public mail server sitting on the same LAN as your internal network is a Very Bad Idea. Consider what happens if it gets compromised - the intruder then has complete access to your internal network.

A better option is to have a DMZ leg on the firewall, privately addressed - say 172.16.1.0/24, and then NAT rules in place. Firewall rules will allow anyone on the Internet to send mail to the mail server's public IP, and then the mail server's private IP will be allowed to send mail on to your internal network.

Let me know if that's not clear.
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 17:43.


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