From owner-freebsd-questions@FreeBSD.ORG Sat Mar 29 09:25:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AB281065674 for ; Sat, 29 Mar 2008 09:25:04 +0000 (UTC) (envelope-from raggen@passagen.se) Received: from av10-2-sn2.hy.skanova.net (av10-2-sn2.hy.skanova.net [81.228.8.182]) by mx1.freebsd.org (Postfix) with ESMTP id C7C008FC1A for ; Sat, 29 Mar 2008 09:25:03 +0000 (UTC) (envelope-from raggen@passagen.se) Received: by av10-2-sn2.hy.skanova.net (Postfix, from userid 502) id A7C6338413; Sat, 29 Mar 2008 10:25:01 +0100 (CET) Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av10-2-sn2.hy.skanova.net (Postfix) with ESMTP id 82D723837E; Sat, 29 Mar 2008 10:25:01 +0100 (CET) Received: from [192.168.1.31] (90-230-141-139-no41.tbcn.telia.com [90.230.141.139]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id 2923F37E42; Sat, 29 Mar 2008 10:25:01 +0100 (CET) Message-ID: <47EE0AE8.7000803@passagen.se> Date: Sat, 29 Mar 2008 10:24:56 +0100 From: Roger Olofsson User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: "Tuc at T-B-O-H.NET" References: <200803290025.m2T0PYZc070500@himinbjorg.tucs-beachin-obx-house.com> In-Reply-To: <200803290025.m2T0PYZc070500@himinbjorg.tucs-beachin-obx-house.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Quick+easy port redirect X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2008 09:25:04 -0000 Tuc at T-B-O-H.NET skrev: > Hi, > > Is there a quick/easy (cookbook?) way to do port > redirects. Basically I want that anything that leaves > a specific interface to any ip on port 80 go to > 192.168.0.1 port 87. > > I'm using ipfw for some other things so it has to > work and play well with that. > > Thanks, Tuc > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > "That leaves". You mean only outgoing traffic from the interface and not incoming? If you mean all traffic to and from, you could try bounce. /usr/ports/net/bounce Just my nickels worth. /Roger