"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 [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to