From owner-freebsd-ipfw Mon Jul 29 22:52: 8 2002 Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DB2737B400 for ; Mon, 29 Jul 2002 22:52:06 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59C3943E65 for ; Mon, 29 Jul 2002 22:52:05 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020730055204.QRDS24567.rwcrmhc51.attbi.com@blossom.cjclark.org>; Tue, 30 Jul 2002 05:52:04 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.3/8.12.3) with ESMTP id g6U5q4JK089637; Mon, 29 Jul 2002 22:52:04 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.3/8.12.3/Submit) id g6U5q2hJ089636; Mon, 29 Jul 2002 22:52:02 -0700 (PDT) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to crist.clark@attbi.com using -f Date: Mon, 29 Jul 2002 22:52:02 -0700 From: "Crist J. Clark" To: Mike Dewhirst Cc: Chad Ziccardi , freebsd-ipfw@FreeBSD.org Subject: Re: fwd (was divert a port to another ip Message-ID: <20020730055202.GC89241@blossom.cjclark.org> Reply-To: "Crist J. Clark" References: <20020729141909.F12318-100000@digitalfreaks.org> <3D458ABA.4090309@devzerog.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D458ABA.4090309@devzerog.com> User-Agent: Mutt/1.4i X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jul 29, 2002 at 07:34:34PM +0100, Mike Dewhirst wrote: > Chad, > > Thanks for the advice. It didn't quite work though. :( > > What am I doing wrong: > > # ipfw add 4 fwd 192.10.10.4,22 tcp from any to 80.x.x.x 666 via xl0 > ipfw: getsockopt(IP_FW_ADD): Invalid argument > > Running FreeBSD 4.4 > > How do I find out what version of FreeBSD I'm running? Please read, http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/networking.html#IPFW-FWD Before you work to hard on this. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message