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 sign-ups from twelve different countries!
2. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 7/14, 8/25, 10/6, 11/3, 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8.
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 > 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 2008-04-16
sebastan_bach sebastan_bach is offline
Senior Member
 
Join Date: 2005-10-12
Posts: 254
Rep Power: 3
sebastan_bach has an average reputation (10+)
Send a message via Yahoo to sebastan_bach
Default how to add proxy-arp entires for manual nat

hi all can somebody pls tell me the syntax for adding a proxy arp entry in the firewall for manual static nat configurations.

regards

sebastan
Reply With Quote
  #2 (permalink)  
Old 2008-04-16
eduardw eduardw is offline
Member
 
Join Date: 2007-08-04
Posts: 50
Rep Power: 1
eduardw has an average reputation (10+)
Default Re: how to add proxy-arp entires for manual nat

Hi Sebastan, before we can do that we have to know which OS your running. (splat, solaris, windows, ipso)

Eduard
Reply With Quote
  #3 (permalink)  
Old 2008-04-16
sebastan_bach sebastan_bach is offline
Senior Member
 
Join Date: 2005-10-12
Posts: 254
Rep Power: 3
sebastan_bach has an average reputation (10+)
Send a message via Yahoo to sebastan_bach
Default Re: how to add proxy-arp entires for manual nat

hi mate thanks for ur reply. i am running splat.

can u pls help me out.

regards

sebastan
Reply With Quote
  #4 (permalink)  
Old 2008-04-16
eduardw eduardw is offline
Member
 
Join Date: 2007-08-04
Posts: 50
Rep Power: 1
eduardw has an average reputation (10+)
Default Re: how to add proxy-arp entires for manual nat

I think this link could help you
Re: [FW-1] R: [FW-1] Routing....


SecurePlatform and NAT
In SecurePlatform, you need to do the following changes to your system. First, you need to add the following entries to /etc/sysctl.conf:

net.ipv4.conf.all.proxy_arp = 1
net.ipv4.conf.default.proxy_arp = 1
Second, to /etc/rc.local, you need to add a routing entry and a proxy ARP entry for each address you want. For example, if your external address for your mail server is 1.2.3.4 and your internal address is 192.168.3.4, then you need to add the following entries to /etc/rc.local:

route add -host 1.2.3.4 gw 192.168.3.4
arp -s 1.2.3.4 00:c0:aa:bb:cc:dd pub
Note, "00:c0:aa:bb:cc:dd" needs to be replaced with the MAC address of the external interface of your firewall


when u use the command "sysctl -w" then you don't have to reboot after setting the correct values
Regards

Eduard

Last edited by eduardw; 2008-04-16 at 12:57.
Reply With Quote
  #5 (permalink)  
Old 2008-04-16
sebastan_bach sebastan_bach is offline
Senior Member
 
Join Date: 2005-10-12
Posts: 254
Rep Power: 3
sebastan_bach has an average reputation (10+)
Send a message via Yahoo to sebastan_bach
Default Re: how to add proxy-arp entires for manual nat

hi mate in my scenario the internal host resides in the same subnet as the internal interface of the firewall and the outside host who is trying to access it resides on the same subnet of the external interface.

my internal interface of firewall is 10.1.1.100 and internal host is 10.1.1.254
my external interface of firewall is 1.1.1.1 and outside host is 1.1.1.2.
static nat address of inside host is 60.1.1.1

on the outside host my default gateway is the external interface of the firewall.so when the outside host does a AND operation it finds out the destination is in a different subnet so naturally it will send it to it;s default gateway which is the external interface of the firewall.

so why do we need a static proxy arp entry in the first place i am just not getting the point of configuring it.

can u pls tell why.

waiting for ur reply.

regards

sebastan
Reply With Quote
  #6 (permalink)  
Old 2008-04-17
coldark coldark is offline
Member
 
Join Date: 2006-08-30
Location: Cheshire UK
Posts: 32
Rep Power: 0
coldark has an average reputation (10+)
Default Re: how to add proxy-arp entires for manual nat

for an upstream router to be able to deliver traffic which has a Destination address of "NAT_IP" to the required location (your CheckPoint firewall) you must have one of two conditions configured. Either:

1) A route on the upstream router - which Routes NAT packets to the FW or
2) A proxy arp configured on the firewall - which makes the firewall respond to arp requests from the router.

Lets say that you have not got a route on the router, which will forward the packet, then the following happens:

a) The Router looks in it's own arp cache to see where it should send the Packet Addressed to NAT_IP.
b) If the arp cache doesnt have the information, the router puts out an arp request - asking "who has NAT_IP address - tell me"
c) we need your firewall to respond to this arp request - so we configue your firewall to do that by configuring a "Proxy Arp"
d) if the proxy arp is configured correctly - when the Router Arps, your firewall should respond saying "Me - send it to me - on this MAC ADDRESS (of your ext NIC)"
Reply With Quote
  #7 (permalink)  
Old 2008-04-17
lammbo lammbo is offline
Senior Member
 
Join Date: 2006-02-09
Location: Charleston, SC
Posts: 234
Rep Power: 3
lammbo has an average reputation (10+)
Default Re: how to add proxy-arp entires for manual nat

IMHO - Proxy ARP is way too hard in SPLAT, the complexities of the entries are ridiculous. CP needs to add a Proxy ARP to the SPLAT GUI (Like in IPSO Voyager).

Everyone put in an RFE and maybe we'll get it.
__________________
There's no place like 127.0.0.1
Reply With Quote
  #8 (permalink)  
Old 2008-04-17
chillyjim chillyjim is offline
Senior Member
 
Join Date: 2005-08-29
Location: Upstate NY
Posts: 1,598
Rep Power: 4
chillyjim has an average reputation (10+)
Send a message via AIM to chillyjim Send a message via Skype™ to chillyjim
Default Re: how to add proxy-arp entires for manual nat

There is an excelent thread here How to view the automatic proxy arps NGX
about manual vs automatic NAT. Everyone should read this before setting up a manual NAT that will require a proxy arp.
Reply With Quote
  #9 (permalink)  
Old 2008-04-18
sebastan_bach sebastan_bach is offline
Senior Member
 
Join Date: 2005-10-12
Posts: 254
Rep Power: 3
sebastan_bach has an average reputation (10+)
Send a message via Yahoo to sebastan_bach
Default Re: how to add proxy-arp entires for manual nat

hi coldark.thanks for ur reply mate. but mate if u see my config my outside device has a route for the static nat address pointing to the external interface of the firewall. do i still needs the proxy arp in there.

can u pls help in how to add the proxy arp in splat.

is it just a manual arp entry .like arp -s 60.1.1.1 (mac of ext nterface)

am i right pls correct if i am wrong. i am not able to get it work. i almost spend a entire day in it.

waiting for ur reply.

regards

sebastan
Reply With Quote
  #10 (permalink)  
Old 2008-04-18
sebastan_bach sebastan_bach is offline
Senior Member
 
Join Date: 2005-10-12
Posts: 254
Rep Power: 3
sebastan_bach has an average reputation (10+)
Send a message via Yahoo to sebastan_bach
Default Re: how to add proxy-arp entires for manual nat

hi am i am having NGXR65 and i have configured manual static nat .

i have a policy permitting telnet traffic from any to the static nat address.

in my global properties i have enabled manual nat rules
translate destination on client side.

my internal host is 10.1.1.254 and my static nat address is 60.1.1.1.
my external host is 1.1.1.2.firewall internal interface is in the same subnet of the internal host and the external host is in the same subnet of the external interface of the firewall.

on firewall i have a default route pointing to the external host.

here;s are my nat rules.

rule 1

in the original packet
source inside-host(10.1.1.254) destination any service any

in the translated packet
source static-host(60.1.1.1) destination any service any

rule2

in the translated packet
destination statichost(60.1.1.1) source any service any

in the original packet
destination insidehost(10.1.1.254) source any service any

i guess i am missing out on the proxy arp entires in the firewall.

can someone pls point me out in the right direction for this. and also tell me how to add proxy arp entries in the firewall.

waiting for some reply. i am stuck with this for quite some time.

i got the same thing achieved with auto-nat but not able to get it working with manual nat.

regards

sebastan
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 19:32.


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