From owner-freebsd-questions Sat Sep 7 7:23:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D1EF37B405 for ; Sat, 7 Sep 2002 07:23:09 -0700 (PDT) Received: from dzik.odyniec.fdns.net (pq145.dhcp.adsl.tpnet.pl [217.98.36.145]) by mx1.FreeBSD.org (Postfix) with SMTP id C8D4843E42 for ; Sat, 7 Sep 2002 07:23:07 -0700 (PDT) (envelope-from odyniec@odyniec.fdns.net) Received: (qmail 90103 invoked from network); 7 Sep 2002 14:22:37 -0000 Received: from unknown (HELO odyniec.odyniec.fdns.net) (10.0.0.2) by 0 with SMTP; 7 Sep 2002 14:22:37 -0000 To: freebsd-questions@freebsd.org Subject: Re: natd port redirecting References: <20020907033727.99275.qmail@web13803.mail.yahoo.com> From: Michal Wojciechowski Date: 07 Sep 2002 16:16:23 +0200 In-Reply-To: <20020907033727.99275.qmail@web13803.mail.yahoo.com> Message-ID: <874rd128co.fsf@odyniec.odyniec.fdns.net> Lines: 21 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Elan Bravianto writes: > i want to publish my local web server (192.168.10.2) > that lies under my gateway server (202.159.x.x) so it > can be accessed by internet. > > according to the: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/natd.html > i've done this: > natd -redirect_port tcp 192.168.10.2:80 80 > Try adding the -n option along with the name of your external network interface, for example: natd -n rl0 -redirect_port ... HTH, -- /* Michal Wojciechowski odyniec@odyniec.fdns.net * * http://odyniec.fdns.net */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message