On Nov 21, 2008, at 6:25 PM, Wojciech Puchar wrote:

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, 6000 tcp from 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

Interesting sysctl reports that forwarding is enabled:

$ sysctl -a |grep forward
net.inet.ip.forwarding: 1

IP forwarding is enabled in GENERIC isn't it? I am running 6.1- RELEASE FreeBSD 6.1-RELEASE #0. _______________________________________________
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to