From owner-freebsd-questions Mon Jan 25 14:32:44 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA23360 for freebsd-questions-outgoing; Mon, 25 Jan 1999 14:32:44 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from larry.unet.tm (cx62616-a.cv1.sdca.home.com [24.0.158.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA23353 for ; Mon, 25 Jan 1999 14:32:42 -0800 (PST) (envelope-from david@unet.tm) Received: from portal.west.saic.com (portal.west.saic.com [198.151.12.15]) by larry.unet.tm (8.9.1/8.9.1) with SMTP id OAA00443; Mon, 25 Jan 1999 14:40:43 -0800 (PST) Message-ID: <001c01be48b2$dbf1fb80$412a0b0a@470cdt.hctg.saic.com> Reply-To: "David Burger" From: "David Burger" To: "Derek Jewett" , , "Ludwig Pummer" Received: from dhcp42-65.hctg.saic.com by portal.west.saic.com via smtpd (for cx62616-a.cv1.sdca.home.com [24.0.158.12]) with SMTP; 25 Jan 1999 22:32:20 UT Subject: Re: Static NAT Date: Mon, 25 Jan 1999 14:34:14 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ludwig, I am trying to make a setup exactly like yours. You mention a Firewall setup to make the communications from the static Nat machine come from the proper IP address. Can you tell me how to configure that? Thanks, David Burger -----Original Message----- From: Ludwig Pummer To: Derek Jewett ; questions@FreeBSD.ORG Date: Saturday, January 23, 1999 8:05 PM Subject: Re: Static NAT At 05:21 PM 1/23/99 , Derek Jewett wrote: >Has anyone run NAT in static mode...? I was wondering what the syntax >was for making a config file with translation tables... Thanks I have 2 IPs bound to the ethernet interface, and one (lets say 11.22.33.44) gets translated to a single internal machine via static NAT. the other IP (say 11.22.33.43) is used for NAT for all of the other machines on an internal network. from my natd.conf on FreeBSD 2.2.5: ----- interface vx0 dynamic use_sockets same_ports redirect_address 172.16.1.1 11.22.33.44 ----- Please note that if this 172.16.1.1 machine talks to the outside, it still appears to come from 11.22.33.43, but if an outside machine connects to 11.22.33.44, everything gets sent to my 172.16.1.1 machine. ideally, all traffic from the 172.16.1.1 machine would always appear to come from 11.22.33.44, but i haven't set up the firewall rules to do that because i've been lazy. --Ludwig Pummer ( ludwigp@bigfoot.com ) ICQ UIN: 692441 ( ludwigp@email.com ) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message