Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Sep 1998 12:32:50 -0700 (PDT)
From:      Stefan Molnar <stefan@csudsu.com>
To:        freebsd mailing list <freebsd@vmunix.dyn.ml.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: NATD problem again.
Message-ID:  <Pine.BSF.3.96.980909123201.11683K-100000@c35486-a.frmt1.sfba.home.com>
In-Reply-To: <Pine.BSF.4.02.9809100024020.2542-100000@vmunix.dyn.ml.org>

next in thread | previous in thread | raw e-mail | index | archive | help


just try natd -interface fxp0
It will work.  there is no need to do a redirect.

On Thu, 10 Sep 1998, freebsd mailing list wrote:

> hi guys, 
> 
> Running 2.2.7, I have this fxp0 -> cable modem , fxp1 -> winbox. 
> (no hub use crossover cable.)
> 
> followed 'man natd' to setup ipfw and natd:
> natd -interface fxp0 -redirect_address 10.99.99.99 202.169.244.206
> 
> 00100 divert 8668 ip from any to any via fxp0 
> 00200 allow ip from any to any
> 65535 deny ip from any to any
> 
> 
> but when netstat -r:
> winbox.infowar.ml. 0:a0:c9:8c:3f:b5   UHLW        0       38       lo0
>                                                                   ^^^^^
> fxp0: flags=8847<UP,BROADCAST,DEBUG,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 202.169.244.206 netmask 0xffffff00 broadcast 202.169.244.255
> fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 10.99.99.99 netmask 0xff000000 broadcast 10.255.255.255 lo0:
> flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>         inet 127.0.0.1 netmask 0xff000000 
> 
> from netstat -r, fxp1 is on lo0(127.0.0.1) which is supposed to be
> 10.99.99.99. No idea where is wrong, any hints would be appreciated. 
> 
> /etc/hosts :
> 
> 202.169.244.206 infowar.ml.org infowar
> 10.99.99.99 winbox.infowar.ml.org winbox
> 
> thanks
> kevin
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


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?Pine.BSF.3.96.980909123201.11683K-100000>