Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Mar 2006 15:39:22 -0800
From:      soralx@cydem.org
To:        freebsd-hackers@freebsd.org
Cc:        listas@itm.net.br, julian@elischer.org
Subject:   Re: Spam from NAT boxes
Message-ID:  <200603061539.22826.soralx@cydem.org>
In-Reply-To: <440CC2F0.4060703@elischer.org>
References:  <009601c6411b$0d455d90$0e4fdfc8@ironman> <440CC2F0.4060703@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> >   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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603061539.22826.soralx>