ipfw: getsockopt(IP_FW_ADD): Invalid argument

Unga unga888 at yahoo.com
Mon Jul 4 03:48:34 UTC 2011

Hi all

Following ipfw rule develop error indicated in the subject line:
ipfw add 100 fwd,1234 tcp from any to any 1234 out via wlan0

What I want to do is forward any packet going to port 1234 to

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 mailing list