From owner-freebsd-questions Fri Jul 28 10:33:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cicero2.cybercity.dk (cicero2.cybercity.dk [212.242.40.53]) by hub.freebsd.org (Postfix) with ESMTP id 6DD4D37B876 for ; Fri, 28 Jul 2000 10:33:38 -0700 (PDT) (envelope-from sfp2011@post.netlink.se) Received: from usr01.netlink.se (usr01.netlink.se [212.242.42.10]) by cicero2.cybercity.dk (Postfix) with ESMTP id 9E39864C3B for ; Fri, 28 Jul 2000 19:33:36 +0200 (CEST) Received: from post.netlink.se (cvx-sto-2-229.ppp.netlink.se [212.242.108.230]) by usr01.netlink.se (8.10.1/8.10.1) with ESMTP id e6SHXZL23946 for ; Fri, 28 Jul 2000 19:33:35 +0200 (CEST) Message-ID: <3981C38C.E63386FE@post.netlink.se> Date: Fri, 28 Jul 2000 19:31:56 +0200 From: Juha Korkiakangas X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: IP-Masquerading using FreeBSD? References: <20000728172854.B20405@trash.net> <3981AEC7.FA0F7C14@i-clue.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Christoph Sold wrote: > > Thomas Bader wrote: > > > > Hi > > > > I'm using FreeBSD-4.0-CURRENT (but I believe, I'll do an > > upgrade to 4.1-STABLE soon). Under Linux I can use > > IP-Masquerading, which is a special sort of NAT. > > > > Is there a possibility to use IP-Masquerading or NAT under > > FreeBSD? The goal is, to provide my home LAN (using just > > the 192.168.x.x IP range) with internet access, like I do > > now using a Linux server (I'd like to go from Linux to > > FreeBSD). > > Yes. It is available in the kernel (just compile it in) as well as built > into userland ppp. > > HTH > -Christoph Sold > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message With FreeBSD(i'm using 4.0-release) NAT-setup is more simple than Linux. Just edit your /etc/ppp/ppp.conf file and /etc/resolv.conf, start your ppp with 'ppp -nat -auto my_ISP'.(my_ISP is label in /etc/ppp/ppp.conf, default is papchap or something like that, you can change it) That's all! regards Juha To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message