IPFW Rule

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Fri Nov 21 15:25:38 PST 2008


> I am trying to add a IPFW rule to forward traffic but I keep getting the 
> message "ipfw: getsockopt(IP_FW_ADD): Invalid argument".  The rule I am 
> trying to add looks like this:
>
> ipfw add 600 fwd 192.169.2.3, 6000 tcp from 192.169.2.3 to any 80
>
> I do have IP Forwarding enabled.  Any ideas what I am doing wrong?

rule looks OK, but your message clearly suggest you DO NOT have IP 
forwarding enabled


More information about the freebsd-questions mailing list