Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jul 2002 11:48:18 +0300
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        "Georg-W. Koltermann" <Georg.Koltermann@mscsoftware.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: ipfw divert not accepted
Message-ID:  <3D22BA52.EACB32D3@FreeBSD.org>
References:  <1025683152.782.12.camel@hunter.muc.macsch.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>)
>         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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D22BA52.EACB32D3>