From owner-freebsd-questions Mon Feb 15 22:08:55 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA07673 for freebsd-questions-outgoing; Mon, 15 Feb 1999 22:08:55 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mta1-rme.xtra.co.nz (mta.xtra.co.nz [203.96.92.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA07523 for ; Mon, 15 Feb 1999 22:08:51 -0800 (PST) (envelope-from junkmale@pop3.xtra.co.nz) Received: from wocker ([210.55.210.87]) by mta1-rme.xtra.co.nz (InterMail v04.00.02.07 201-227-108) with SMTP id <19990216060906.XXDU682101.mta1-rme@wocker>; Tue, 16 Feb 1999 19:09:06 +1300 From: "Dan Langille" Organization: The FreeBSD Diary To: vela@cibernet.it Date: Tue, 16 Feb 1999 19:08:44 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: masquerading Reply-to: junkmale@xtra.co.nz CC: freebsd-questions@FreeBSD.ORG In-reply-to: <199902151953.UAA18193@cibernet.cibernet.it> X-mailer: Pegasus Mail for Win32 (v3.01d) Message-Id: <19990216060906.XXDU682101.mta1-rme@wocker> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 15 Feb 99, at 19:30, vela@cibernet.it wrote: > -OS2 box (1), with modem connecting to an ISP and ethernet > card masquerading to another OS2 box (2) on my local net > -freeBSD to use the existing double hosted machine (OS2 box 1 has the > default routing address)and, finally, to connect to the internet, > > The three systems are able to ping to each other, telnet, tftp etc. That's a very good start! Congratulations. > How should I set a simple masquerading to the freeBSD client, with Natd or > no need to rebuild the kernel? What about FTP on the local hosted > machine? For natd, you do need some things compiled into the kernel. If you look at man natd, it's pretty strightforward. Look near the bottom of the pages. I also have instructions on my website. But are you using ppp? If so, I think you want the -alias option which comes with ppp. I'm sorry, I can't help more than that; I've never used ppp. -- Dan Langille The FreeBSD Diary http://www.FreeBSDDiary.com/freebsd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message