From owner-freebsd-questions Sun Apr 15 7:44:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f175.law9.hotmail.com [64.4.9.175]) by hub.freebsd.org (Postfix) with ESMTP id 68FD337B440 for ; Sun, 15 Apr 2001 07:44:27 -0700 (PDT) (envelope-from acojocaru@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 15 Apr 2001 07:44:26 -0700 Received: from 216.126.10.210 by lw9fd.law9.hotmail.msn.com with HTTP; Sun, 15 Apr 2001 14:44:26 GMT X-Originating-IP: [216.126.10.210] From: "Andrei Cojocaru" To: freebsd-questions@freebsd.org Subject: IPFW Rules (Port Forwarding) Date: Sun, 15 Apr 2001 08:44:26 -0600 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 15 Apr 2001 14:44:26.0590 (UTC) FILETIME=[91BAC7E0:01C0C5BA] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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