Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 2002 18:12:16 -0600 (MDT)
From:      Nick Rogness <nick@rogness.net>
To:        Alan McKay <amckay@neap.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: help with webcam through natd + ipfw
Message-ID:  <20021024181103.N36020-100000@skywalker.rogness.net>
In-Reply-To: <1035502886.3db8852641f86@secure.neap.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <MY_PRIVATE_IP>: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 <nick@rogness.net>
-
 "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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021024181103.N36020-100000>