Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Apr 2001 11:09:52 -0400 (EDT)
From:      Dru <genisis@istar.ca>
To:        Andrei Cojocaru <acojocaru@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: IPFW Rules (Port Forwarding)
Message-ID:  <Pine.BSF.4.21.0104151108030.15092-100000@istar.ca>
In-Reply-To: <F175AmEaJswFCHOzyfy0000a51c@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Did you remember to include the IPFIREWALL_FORWARD option in your kernel?

Dru


On Sun, 15 Apr 2001, Andrei Cojocaru wrote:

> I am trying to forward all packets destined to 216.126.10.210:80 (outside IP 
> of multi-homed host) to 192.168.0.4:80
> 
> this is the IPFW rule I made:
> 
> ipfw add 30 fwd192.168.0.4,80 tcp from any to 216.126.10.210 80
> 
> but I get an error when I try to add it I get this error:
> ipfw: getsockopt(IP_FW_ADD): Invalid argument
> 
> I've read the documentation multiple times and cannot find anything wrong. 
> Any ideas?
> 
> Thanks for your help in advance.
> 
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
> 
> 
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0104151108030.15092-100000>