ipfw fwd not working in 6.2-release

Terry Todd tlt at badger.tltodd.com
Tue Apr 3 15:59:42 UTC 2007

I have tried to get ipfw fwd to work in 6.2-release but it always barfs.

I have recompiled and installed a custom kernel with
options         IPFIREWALL_FORWARD

and I have added to the /etc/sysctl.conf file:

Here's the rule that I'm trying to get to work.

$fwcmd add forward,3128 tcp from not me to any 80 in via ${iif}

When I run it I get:

ipfw: getsockopt(IP_FW_ADD): Invalid argument

All the other rules I have work fine.

Am I doing something wrong here?

Anyone else see this behaviour?

Terry Todd

More information about the freebsd-questions mailing list