ipfw: getsockopt(IP_FW_ADD): Invalid argument
    Unga 
    unga888 at yahoo.com
       
    Mon Jul  4 16:11:09 UTC 2011
    
    
  
--- On Mon, 7/4/11, Unga <unga888 at yahoo.com> wrote:
> From: Unga <unga888 at yahoo.com>
> Subject: ipfw: getsockopt(IP_FW_ADD): Invalid argument
> To: freebsd-questions at freebsd.org
> Date: Monday, July 4, 2011, 11:48 AM
> Hi all
> 
> 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.
> 
> Unga
> 
Does anybody successfully use the "ipfw fwd"? If so in which FreeBSD version?
Unga
    
    
More information about the freebsd-questions
mailing list