Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2006 01:49:43 +0200
From:      FBSD_UG <freebsd@amadeus.demon.nl>
To:        Vasili S. <svsm@mail.ru>
Cc:        questions@FreeBSD.org
Subject:   Re: Help redirect port 
Message-ID:  <40297E51-7924-4F6B-87C1-1FBBF000508A@amadeus.demon.nl>
In-Reply-To: <000601c68b0a$d030f100$1608a8c0@neuro>
References:  <000601c68b0a$d030f100$1608a8c0@neuro>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08 jun 2006, at 16:49, Vasili S. wrote:

> I try make  redirect port by natd
> # natd -n ed1 -redirect_port tcp 192.168.1.100:80 8080
> no work
>
> Not see traffic by tcpdump,
> Not see listen port (netstat or sockstat)
>
> why ?
>
> interfaces
> ~~~~~~~
>
> ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet A.B.C.D netmask 0xffffffc0 broadcast A.B.C.
>         ether 00:02:44:08:74:7a
> de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255
>         ether 00:40:05:30:9f:ed
>         media: autoselect (100baseTX <full-duplex>) status: active
>         supported media: autoselect 100baseTX <full-duplex>  
> 100baseTX 10baseT/UT
>
>
> kernel:
> ~~~~~
>
> options         IPFIREWALL
> options         IPDIVERT
> options         IPFIREWALL_DEFAULT_TO_ACCEPT
> options         IPFIREWALL_VERBOSE
>
> ipfw ="OPEN"
>
>
> Thanks,
> Vasili

Hey Vasili

what are your firewall rules?
you should divert traffic to have nat do any work...

Arno






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40297E51-7924-4F6B-87C1-1FBBF000508A>