Article View: comp.security.firewalls
Article #396firewall-1 NG NAt/local.arp/arp question
From: news-west.newscene.com
Date: Wed, 04 Sep 2002 08:02
Date: Wed, 04 Sep 2002 08:02
57 lines
2961 bytes
2961 bytes
Hi, Im studying for my checkpoint firewall NG exam, I have setup a test environment with 3 pcs, 1 pc each on a different subnet and one as the router. This is the environment: subnet 1 (simulated internet): 192.168.253.0/24 subnet 2: 10.1.1.0/24 pc1 (subnet 1) - 192.168.253.101/24 pc2 (subnet 2) - 10.1.1.2/24 router (running NT4 server sp6a with ip forwarding enabled) subnet 1 address: 192.168.253.125/24 subnet 2 address: 10.1.1.1/24 I have installed NG with FP2. It seems to be working fine and I have managed to get NAT working but im not sure I have done it correctly. I have been reading some documentation about adding a static NAT public to private address rule. It mentions that you need to add an object with a routable address. In this case, as a test I want to use 192.168.253.126. My policy rules allow everything. My NAT rules read like this, only relevant info shown.. 1. (source) 10.1.1.2 ( dest) any (service) any / (source) 192.168.253.126 (dest) original (service) any 2. (source) any (dest) 192.168.253.126 (service) any / (source) any (dest) 10.1.1.2 (service) any Now this should allow traffic out from 10.1.1.2 to 192.168.253.x at least... it doesn't. I'm assuming that this is because 192.168.253.126 is not really bound to anything, so the packet doesn't know where to go?? To get it working I edited the object 192.168.253.126 and changed it to be automatic static NAT with an address of 192.168.253.126. This added a rule above the existing one. Outgoing traffic now works. Is what I have done correct? To get inbound services working I created a local.arp file (which wasn't there) in the conf directory. Restarted NG, works fine. I was curious as to why you can't use the NT arp command to add a static entry (at least thats what the docs say). I added a static entry and deleted local.arp and restarted etc.. it still works?? I cleared out arp caches first etc.. Why do they say you can't do this? Thanks for any help or advice. James
Technical Details
Message-ID:
<3d75bd49$0$391$45beb828@newscene.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!newsswitch.lcs.mit.edu!snoopy.risq.qc.ca!newsfeed.news2me.com!novia!newscene.com!newscene!newscene!novia!novia!sequencer.newscene.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f922c,c3e2eaf04d64fca7,start X-Google-Attributes: gidf922c,public X-Google-Thread: fc559,c3e2eaf04d64fca7,start X-Google-Attributes: gidfc559,public X-Google-ArrivalTime: 2002-09-04 01:37:53 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!newsswitch.lcs.mit.edu!snoopy.risq.qc.ca!newsfeed.news2me.com!novia!newscene.com!newscene!newscene!novia!novia!sequencer.newscene.com!not-for-mail From: "news-west.newscene.com" <lynxo78@nospamhere.hotmail.com> Newsgroups: comp.security.firewalls,cp.products.firewall-1 Subject: firewall-1 NG NAt/local.arp/arp question Date: 4 Sep 2002 03:02:15 -0500 Lines: 59 Message-ID: <3d75bd49$0$391$45beb828@newscene.com> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000