ipfw: getsockopt(IP_FW_ADD): Invalid argument
unga888 at yahoo.com
Mon Jul 4 03:48:34 UTC 2011
Following ipfw rule develop error indicated in the subject line:
ipfw add 100 fwd 127.0.0.1,1234 tcp from any to any 1234 out via wlan0
What I want to do is forward any packet going to port 1234 to 127.0.0.1:1234.
I have built the kernel with "options IPFIREWALL_FORWARD".
What's the error here? Is the rule incorrect?
This is FreeBSD 8.1.
Many thanks in advance.
More information about the freebsd-questions