From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 13 17:27:58 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 D658416A41F for ; Tue, 13 Dec 2005 17:27:58 +0000 (GMT) (envelope-from oxy@field.hu) Received: from dumballah.tvnet.hu (dumballah.tvnet.hu [195.38.96.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3211043D86 for ; Tue, 13 Dec 2005 17:27:47 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (localhost.localdomain [127.0.0.1]) by dumballah.tvnet.hu (Postfix) with ESMTP id 03833101947 for ; Tue, 13 Dec 2005 18:27:41 +0100 (CET) Received: from dumballah.tvnet.hu ([127.0.0.1]) by localhost (dumballah.tvnet.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32597-14 for ; Tue, 13 Dec 2005 18:27:41 +0100 (CET) Received: from oxy (dsl195-38-110-3.pool.tvnet.hu [195.38.110.3]) by dumballah.tvnet.hu (Postfix) with SMTP id 9CDCA10193D for ; Tue, 13 Dec 2005 18:27:41 +0100 (CET) Message-ID: <001701c6000a$86eab700$0201a8c0@oxy> From: "OxY" To: Date: Tue, 13 Dec 2005 18:27:43 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Virus-Scanned: by amavisd-new at tvnet.hu Subject: ipfw forwarding 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: Tue, 13 Dec 2005 17:27:59 -0000 hi! i have a probably dumb question, can't get through it.. i have some ips on my server (x.x.x.28 and x.x.x.204 is important).. tried to forward packets from one ip to the other and ipfw doesn't do anything. i'd like to catch the packets on .204 port 80 and send them to one of my vhosts (domain is on .28) so anybody on the internet may open the .204 address from browser and get back the .28 content.. i used this rule: $cmd 00316 fwd x.x.x.x.204,80 tcp from any to x.x.x.28 80 what's wrong with it? i also added options IPFIREWALL_FORWARD to my kernel thx!