Firewall Wizards mailing list archives
RE: Working with NAT on FW-1 on NT
From: Martijn Berlage <MartijnB () allieddata nl>
Date: Wed, 2 Dec 1998 09:29:13 +0100
Hello, I was experiencing the same behaviour with a Guardian firewall lately.. Simply going into the network configuration of the firewall and adding the IP of the webservers (external) adress to the network card on the internet side of the firewall resolved this. I suppose this might help too on a FW1 configuration Cheers! ---------- Martijn Berlage MartijnB () Allieddata nl Network Engineer Allied Data Technologies ---------- 'We have no choice in what we are. Yet what are we, but the sum of our choices.' --Rob Grant ----------
-----Original Message----- From: Riccardo Fontana [mailto:rfontana () seclab com] Sent: Tuesday, December 01, 1998 6:42 PM To: Firewall-wizards Cc: sullivan () seclab com; vale () seclab com Subject: Working with NAT on FW-1 on NT Does anyone know how to fix this FW-1 configuration ? I have a firewall-1 installed on an NT server (ver 4.0, SP3 and a bunch of hotfixes). Behind the firewall is a network with illegal addressing policy. I should export an internal server outside the firewall using NAT rules. Example: Route internal Addr.: 195.100.3.1 /27 Firewall External Addr.: 195.100.3.2 /27 Firewall Internal Addr.: 192.168.1.1 /24 Server Real Addr.: 192.168.1.2 /24 Server translated addr.: 195.100.3.3 /27 To configure the firewall I follow the Firewall-1 Guide, so I create an object for the internal server with its real address and assign a Valid IP address to it by means of the "Add automatic Address Translation Rules" (option STATIC) (ADDRESS TRANSLATION menu). I am also defining a rule in order to let the right traffic pass through the firewall to reach the server: Source Destination Protocol ACTION ANY INTSERVER SMTP Accept Then, I add the following static route: route add 195.100.3.3 mask 255.255.255.255 192.168.1.2 Finally, I add the following: ARP -s 195.100.3.3 <mac address> 195.100.3.2 (where mac address is the real MAC Address of my network adapter) Now, I expect that if the router connected to the firewall gets a packet with destination addr = 195.100.3.3, it will route it to the firewall and, obviously filtered to the internal host. The problem is that the traffic packets never reach the external interface of the firewall because the router cannot associate the translated address to the firewall. After trying a lot of different configurations, I found that the only way to made it work correctly is to add a static route on the router to make it point to the firewall: IP ROUTE 195.100.3.3 255.255.255.255 195.100.3.2 (This option works also without adding any ARP entry on the NT machine) Firewalls GURUs is it a clean solution ? Any hints ? Thanks in advance -- Riccardo Fontana Intesis SECURITY LAB Phone: +39-2-671563.1 Via Settembrini, 35 Fax: +39-2-66981953 I-20124 Milano ITALY Email: rfontana () seclab com
Current thread:
- Working with NAT on FW-1 on NT Riccardo Fontana (Dec 01)
- Re: Working with NAT on FW-1 on NT Ng Lup Houh (Dec 03)
- Re: Working with NAT on FW-1 on NT Erik Schetina (Dec 08)
- RE: Working with NAT on FW-1 on NT Joe Ippolito (Dec 09)
- <Possible follow-ups>
- RE: Working with NAT on FW-1 on NT Martijn Berlage (Dec 02)
