Date: Mon, 6 Mar 2006 23:17:50 -0500 From: "Lou Kamenov" <loukamenov@gmail.com> To: listas@itm.net.br Cc: freebsd-hackers@freebsd.org Subject: Re: Spam from NAT boxes Message-ID: <76f962c60603062017l5c42f4ejac96b2aa866f8fdf@mail.gmail.com> In-Reply-To: <200603061539.22826.soralx@cydem.org> References: <009601c6411b$0d455d90$0e4fdfc8@ironman> <440CC2F0.4060703@elischer.org> <200603061539.22826.soralx@cydem.org>
index | next in thread | previous in thread | raw e-mail
On 3/6/06, soralx@cydem.org <soralx@cydem.org> wrote: > > > > 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. this is pretty easy with ipnat, this is for smtp and smtps. for example. rdr iface0 from any to any port = 25 ->ip on iface0? port 25 rdr iface0 from any to any port = 465 -> ip on iface0? port 465 it helps. i can't tell you the syntax for natd, but someone else might. lhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?76f962c60603062017l5c42f4ejac96b2aa866f8fdf>
