From owner-freebsd-questions Thu Oct 24 17: 8:59 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 7CD5F37B401 for ; Thu, 24 Oct 2002 17:08:57 -0700 (PDT) Received: from skywalker.rogness.net (skywalker.rogness.net [64.251.173.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89C4243E77 for ; Thu, 24 Oct 2002 17:08:56 -0700 (PDT) (envelope-from nick@rogness.net) Received: from skywalker.rogness.net (localhost [127.0.0.1]) by skywalker.rogness.net (8.12.5/8.12.5) with ESMTP id g9P0CJ0H036664; Thu, 24 Oct 2002 18:12:19 -0600 (MDT) (envelope-from nick@rogness.net) Received: from localhost (nick@localhost) by skywalker.rogness.net (8.12.5/8.12.5/Submit) with ESMTP id g9P0CIkh036661; Thu, 24 Oct 2002 18:12:18 -0600 (MDT) X-Authentication-Warning: skywalker.rogness.net: nick owned process doing -bs Date: Thu, 24 Oct 2002 18:12:16 -0600 (MDT) From: Nick Rogness To: Alan McKay Cc: freebsd-questions@FreeBSD.ORG Subject: Re: help with webcam through natd + ipfw In-Reply-To: <1035502886.3db8852641f86@secure.neap.net> Message-ID: <20021024181103.N36020-100000@skywalker.rogness.net> 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 On Thu, 24 Oct 2002, Alan McKay wrote: > Folks, > > I've done port-forwarding before on several different FW/NAT devices, > but damned if I can get it going on FreeBSD. At first I tried with > PPP's builtin NAT, and when that failed I switched to natd. I did > google searches and even searched the FreeBSD list archives but did not > find any help. > > /etc/natd.conf looks like this (private IP removed) : > > interface tun0 > port 8668 > use_sockets yes > dynamic yes > redirect_port tcp :8080 8080 > > /etc/rc.conf has this : > > firewall_type="SIMPLE" > firewall_enable="YES" > firewall_script="/etc/rc.firewall" > firewall_quiet="NO" > natd_enable="YES" > natd_program="/sbin/natd" > natd_interface="tun0" > natd_flags="-f /etc/natd.conf" > > My firewall does not have much changed from the SIMPLE template. I allow > a few incoming connections including ports 80, 443, 53, 110 and the port > I want to foward back to my webcam : 8080. What does `ipfw -a l` show? Nick Rogness - "Wouldn't it be great if we could answer people with a kick to the crotch?" -maddox@xmission.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message