From owner-freebsd-questions Wed Sep 9 12:33:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA04816 for freebsd-questions-outgoing; Wed, 9 Sep 1998 12:33:29 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from plaidsocks.com (c35486-a.frmt1.sfba.home.com [24.1.70.247]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA04805 for ; Wed, 9 Sep 1998 12:33:18 -0700 (PDT) (envelope-from stefan@csudsu.com) Received: from localhost (stefan@localhost) by plaidsocks.com (8.8.8/1.3.2) with SMTP id MAA11600; Wed, 9 Sep 1998 12:32:50 -0700 (PDT) (envelope-from stefan@csudsu.com) Date: Wed, 9 Sep 1998 12:32:50 -0700 (PDT) From: Stefan Molnar X-Sender: stefan@c35486-a.frmt1.sfba.home.com To: freebsd mailing list cc: questions@FreeBSD.ORG Subject: Re: NATD problem again. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 mtu 1500 > inet 202.169.244.206 netmask 0xffffff00 broadcast 202.169.244.255 > fxp1: flags=8843 mtu 1500 > inet 10.99.99.99 netmask 0xff000000 broadcast 10.255.255.255 lo0: > flags=8049 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