From owner-freebsd-net Thu Nov 21 11:10:14 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3809937B401 for ; Thu, 21 Nov 2002 11:10:13 -0800 (PST) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75D1243E4A for ; Thu, 21 Nov 2002 11:10:12 -0800 (PST) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by sccrmhc01.attbi.com (sccrmhc01) with ESMTP id <20021121191010001009l14pe>; Thu, 21 Nov 2002 19:10:11 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA04311; Thu, 21 Nov 2002 11:10:04 -0800 (PST) Date: Thu, 21 Nov 2002 11:10:00 -0800 (PST) From: Julian Elischer To: Scot Loach Cc: "'freebsd-net@freebsd.org'" Subject: Re: Using ipfw to forward udp In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org the local fwd command is only implemented for TCP On Thu, 21 Nov 2002, Scot Loach wrote: > I'm trying to implement a type of transparent proxy for UDP. My idea was to > use ipfw to redirect all incoming UDP packets to my server, for example: > > ipfw add fwd 127.0.0.1,9000 udp from any to any recv em0 > > However this doesn't seem to work: my server only receives UDP packets that > are addressed to port 9000. > > Can anyone suggest what I might be doing wrong? > > thanks > > scot. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message