From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 6 23:40:07 2006 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 5DDA216A420 for ; Mon, 6 Mar 2006 23:40:07 +0000 (GMT) (envelope-from soralx@cydem.org) Received: from pd4mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A2EF43D53 for ; Mon, 6 Mar 2006 23:40:04 +0000 (GMT) (envelope-from soralx@cydem.org) Received: from pd4mr5so.prod.shaw.ca (pd4mr5so-qfe3.prod.shaw.ca [10.0.141.50]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IVQ00C8VCDNGH90@l-daemon> for freebsd-hackers@freebsd.org; Mon, 06 Mar 2006 16:39:23 -0700 (MST) Received: from pn2ml7so.prod.shaw.ca ([10.0.121.151]) by pd4mr5so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IVQ00358CDN1K50@pd4mr5so.prod.shaw.ca> for freebsd-hackers@freebsd.org; Mon, 06 Mar 2006 16:39:23 -0700 (MST) Received: from soralx.cydem.org ([24.85.63.128]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IVQ005B3CDN0IE0@l-daemon> for freebsd-hackers@freebsd.org; Mon, 06 Mar 2006 16:39:23 -0700 (MST) Date: Mon, 06 Mar 2006 15:39:22 -0800 From: soralx@cydem.org In-reply-to: <440CC2F0.4060703@elischer.org> To: freebsd-hackers@freebsd.org Message-id: <200603061539.22826.soralx@cydem.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Content-disposition: inline References: <009601c6411b$0d455d90$0e4fdfc8@ironman> <440CC2F0.4060703@elischer.org> User-Agent: KMail/1.5.4 Cc: listas@itm.net.br, julian@elischer.org Subject: Re: Spam from NAT boxes 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: Mon, 06 Mar 2006 23:40:07 -0000 > > ipfw add fwd xx.xx.xx.xx,25 tcp from 192.168.0.0/24 to any 25 > > I got some matches in this rule when I try to send an email, but I > > didnt get redirected to my email server. > > our email server needs the same rule, fwd 127.0.0.1 ...... so that the > incoming packet is not rejected. > > remember, fwd doesn't alter the packet, justr where it is sent.. > Without the extra rule your mail server > will say "why the heck did *I* get his packet?" and discard it. > > > Any ideas and/or sugestions? try natd's '-redirect_port'? Timestamp: 0x440CC7EC [SorAlx] http://cydem.org.ua/ ridin' VN1500-B2