From owner-freebsd-net Fri Dec 28 13:59:10 2001 Delivered-To: freebsd-net@freebsd.org Received: from cody.jharris.com (cody.jharris.com [205.238.128.83]) by hub.freebsd.org (Postfix) with ESMTP id 3A05537B41E; Fri, 28 Dec 2001 13:59:07 -0800 (PST) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id fBSLws610416; Fri, 28 Dec 2001 15:58:54 -0600 (CST) (envelope-from nick@rogness.net) Date: Fri, 28 Dec 2001 15:58:54 -0600 (CST) From: Nick Rogness X-Sender: nick@cody.jharris.com To: Julian Elischer Cc: "Crist J . Clark" , Henry Su , freebsd-net@FreeBSD.ORG Subject: Re: Why is my ipfw(8) ``fwd'' rule to redirect a service to another machine not working? 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 On Fri, 28 Dec 2001, Julian Elischer wrote: > Also, in versions of FreeBSD before 4.6, packets matched while > INCOMING could only be forwarded to the local host. Outgoing packets > could be forwarded to an adjoining host. This was fixed while 4.5 was > cooking and appeared in releases after that. The port number is only > used for forwarding to the local host. Um, so you can now fwd based on incoming packets? EX: ipfw fwd 10.1.2.3 ip from any to 1.1.1.1 in via ed0 Or is it still the way it is stated in the ipfw man page? EX: ipfw fwd 10.1.2.3 ip from any to 1.1.1.1 out recv ed0 xmit xl0 Nick Rogness - Don't mind me...I'm just sniffing your packets To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message