ipfw: getsockopt(IP_FW_ADD): Invalid argument

Unga unga888 at yahoo.com
Sat Jul 2 16:04:14 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 ath0

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?

Many thanks in advance.


More information about the freebsd-questions mailing list