From owner-freebsd-doc Sun Feb 4 20:33:32 2001 Delivered-To: freebsd-doc@freebsd.org Received: from rapidnet.com (rapidnet.com [205.164.216.1]) by hub.freebsd.org (Postfix) with ESMTP id 4BF1837B65D for ; Sun, 4 Feb 2001 20:33:14 -0800 (PST) Received: from localhost (nick@localhost) by rapidnet.com (8.9.3/8.9.3) with ESMTP id VAA03073; Sun, 4 Feb 2001 21:32:41 -0700 (MST) Date: Sun, 4 Feb 2001 21:32:41 -0700 (MST) From: Nick Rogness To: vicky@vic.ky Cc: doc@FreeBSD.org Subject: Re: I need more help .. ;) In-Reply-To: <20010205042013.2283.cpmta@c001.snv.cp.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 4 Feb 2001 vicky@vic.ky wrote: > dear sirs, I have two LAN cards here.. one has Internet IPs, one for > Intranet IPs.. this is the detail of the example: > > xl0 (internet) has: 202.155.19.193 - 255.255.255.240 > the router has: 202.155.19.194 (I set this as main gateway) > xl1 (intranet) has: 192.168.1.3 - 255.255.255.0 > > from my office client, which are using Windows98, I set the gateway as > 192.168.1.3 NOT as 202.155.19.193 .. is it correct?.. coz the problem That is correct. > now is.. I cannot telnet / ssh / ping / ftp to outside world from the > client directly.. if I wish to access the internet from client.. I > need to go to the server 1st.. how come?.. what's the best sollutions > for this?.. See Network Address Translation or NAT for short. To implement NAT you will need to look at the natd(8) manpage. For more information regarding what it is, check out: ftp://ftp.isi.edu/in-notes/rfc1631.txt For more information on implementing it on FreeBSD search the FreeBSD mailing list archives. Best of Luck. For future reference, questions like this should probably goto freebsd-questions@freebsd.org. Nick Rogness - Keep on routing in a Free World... "FreeBSD: The Power to Serve " To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message