From owner-freebsd-current Wed Jul 3 1:47:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6ACA937B401 for ; Wed, 3 Jul 2002 01:47:15 -0700 (PDT) Received: from sdns.kv.ukrtel.net (sdns.kv.ukrtel.net [195.5.27.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5ACDA43E3B for ; Wed, 3 Jul 2002 01:47:14 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (195.5.51.243 [195.5.51.243]) by sdns.kv.ukrtel.net with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id NTMMSHK8; Wed, 3 Jul 2002 11:49:26 +0300 Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.6/8.11.3) with ESMTP id g638l9n02007; Wed, 3 Jul 2002 11:47:09 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <3D22BA52.EACB32D3@FreeBSD.org> Date: Wed, 03 Jul 2002 11:48:18 +0300 From: Maxim Sobolev Reply-To: vegacap@i.com.ua Organization: Vega International Capital X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: "Georg-W. Koltermann" Cc: freebsd-current@freebsd.org Subject: Re: ipfw divert not accepted References: <1025683152.782.12.camel@hunter.muc.macsch.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Georg-W. Koltermann" wrote: > > hunter# ipfw add 50 divert natd all from any to any via fxp0 > ipfw: getsockopt(IP_FW_ADD): Invalid argument Add "option IPFIREWALL_FORWARD" into your kernel config. -Maxim > hunter# ipfw list > 00100 allow ip from any to any via lo0 > 00200 deny ip from any to 127.0.0.0/8 > 00300 deny ip from 127.0.0.0/8 to any > 65000 allow ip from any to any > 65535 deny ip from any to any > hunter# ifconfig fxp0 > fxp0: flags=8843 mtu 1500 > inet6 fe80::2c0:9fff:fe05:9a1f%fxp0 prefixlen 64 scopeid 0x1 > inet 172.17.22.32 netmask 0xffffff00 broadcast 172.17.22.255 > ether 00:c0:9f:05:9a:1f > media: Ethernet autoselect (100baseTX ) > status: active > hunter# ps ax | grep nat > 188 ?? Is 0:00,00 /sbin/natd -t 255.255.255.255 -n fxp0 > 1059 p1 RV 0:00,00 grep nat (csh) > hunter# > > > > This is with a -current of date=2002.06.27.22.00.00. > > -- > Regards, > Georg. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message