Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Apr 2001 08:44:26 -0600
From:      "Andrei Cojocaru" <acojocaru@hotmail.com>
To:        freebsd-questions@freebsd.org
Subject:   IPFW Rules (Port Forwarding)
Message-ID:  <F175AmEaJswFCHOzyfy0000a51c@hotmail.com>

next in thread | raw e-mail | index | archive | help
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




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