From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 28 18:35:22 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B355A16A41F for ; Wed, 28 Dec 2005 18:35:22 +0000 (GMT) (envelope-from cmathys@bluewin.ch) Received: from mail16.bluewin.ch (mail16.bluewin.ch [195.186.19.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9BBF43D8F for ; Wed, 28 Dec 2005 18:35:15 +0000 (GMT) (envelope-from cmathys@bluewin.ch) Received: from fx (83.76.103.247) by mail16.bluewin.ch (Bluewin 7.2.069.1) id 4392616500557332 for freebsd-hackers@freebsd.org; Wed, 28 Dec 2005 18:35:07 +0000 Date: Wed, 28 Dec 2005 19:35:27 +0100 From: Christoph Mathys To: freebsd-hackers@freebsd.org Message-ID: <20051228193527.11bc4a28@fx> In-Reply-To: <001301c60aff$c5c83b50$0201a8c0@oxy> References: <000f01c60ad9$f7732fa0$0201a8c0@oxy> <001301c60aff$c5c83b50$0201a8c0@oxy> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.9; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 28 Dec 2005 18:37:37 +0000 Subject: Re: ipfw+nat X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2005 18:35:22 -0000 "OxY" wrote: > how can i make it to redirect packages from x.x.x.x/32 port 223 to > another public ip on > the internet? > if i use this: > rdr em0 x.x.x.x/32 port 223 -> public.ip.on.the.internet port 80 tcp > it hangs for a while, then operation timeout... > thanks! If public.ip.on.the.internet is reachable via em0, then have a look at this URL: http://www.phildev.net/ipf/IPFprob.html#prob8 Christoph -- The bigger they are, the harder they hit.