From owner-freebsd-questions Wed Oct 6 8: 0: 1 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.wolves.k12.mo.us (mail.wolves.k12.mo.us [207.160.214.1]) by hub.freebsd.org (Postfix) with ESMTP id 4684414CD3 for ; Wed, 6 Oct 1999 07:59:52 -0700 (PDT) (envelope-from cdillon@wolves.k12.mo.us) Received: from mail.wolves.k12.mo.us (cdillon@mail.wolves.k12.mo.us [207.160.214.1]) by mail.wolves.k12.mo.us (8.9.3/8.9.2) with ESMTP id JAA46234; Wed, 6 Oct 1999 09:59:06 -0500 (CDT) (envelope-from cdillon@wolves.k12.mo.us) Date: Wed, 6 Oct 1999 09:59:06 -0500 (CDT) From: Chris Dillon To: Yusuf Goolamabbas Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Trying to achieve zen with natd In-Reply-To: <19991006112744.A3111@outblaze.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 6 Oct 1999, Yusuf Goolamabbas wrote: > > That doesn't really make any sense... Is fxp1 attached to your > > private network, or the public network? > > Both, some machines on that network have valid routable address and some > machines have non routable addresses. Therefore I have aliased a 192.168 > on this interface > > What I would like is packets coming via this aliased interface get > NAT'ted to the public interface which is also bound to the same card > This card is connected to a switch which connects via a router to the > WAN interface Aah, now that makes sense. Someone asked me how to do this just the other day. :-) Put the IP address of the alias you assigned to fxp1 in natd_interface="" in /etc/rc.conf instead of the interface name. -- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net FreeBSD: The fastest and most stable server OS on the planet. For Intel x86 and Alpha architectures (SPARC under development). ( http://www.freebsd.org ) "One should admire Windows users. It takes a great deal of courage to trust Windows with your data." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message