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 <[EMAIL PROTECTED]>
-
 "Wouldn't it be great if we could answer people with a
  kick to the crotch?"  [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to