From owner-freebsd-questions@FreeBSD.ORG Tue Mar 2 16:49:46 2004 Return-Path: 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 B011F16A4CE for ; Tue, 2 Mar 2004 16:49:46 -0800 (PST) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A6C843D2D for ; Tue, 2 Mar 2004 16:49:46 -0800 (PST) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 2AFE21367B; Wed, 3 Mar 2004 13:49:46 +1300 (NZDT) Date: Wed, 3 Mar 2004 13:49:46 +1300 From: Jonathan Chen To: Werner Schalk Message-ID: <20040303004946.GC3703@grimoire.chen.org.nz> References: <200403022202.25814.werner_schalk@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200403022202.25814.werner_schalk@gmx.de> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: Redirecting all incoming connections to an internal host X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 00:49:46 -0000 On Tue, Mar 02, 2004 at 10:02:25PM +0000, Werner Schalk wrote: > Hi, > > I have a single DSL line with a single IP address and I am relatively new to > FreeBSD (FreeBSD acts as a firewall/router for a local area network). What I > would like to do is I would like to redirect all incoming connections (not > only single ports) to an internal host (private IP address). Therefore I > tried to use natd to reach this goal and set it up exactly as described at > http://www.freebsd.org/cgi/man.cgi?natd. Unfortunately it is not working > correctly because I can't reach the services running on the internal host > from external (e.g. Internet). Show us your network set-up and your configuration files and we'll be able to tell you what you've done wrong. -- Jonathan Chen ---------------------------------------------------------------------- char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}