[ previous ] [ next ] [ threads ]
 
 From:  "Jonathan De Graeve" <Jonathan dot De dot Graeve at imelda dot be>
 To:  "Chris Buechler" <cbuechler at gmail dot com>
 Cc:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  RE: [m0n0wall] NAT question: redirect all outgoing SMTP to or own SMTP-server
 Date:  Mon, 3 Oct 2005 11:53:16 +0200
This rule works and should be added to the FAQ or Documentation I
think....

Its ideal in Hotspot environments

J.

-- 
Jonathan De Graeve
Network/System Administrator
Imelda vzw
Informatica Dienst
015/50.52.98
jonathan dot de dot graeve at imelda dot be

---------
Always read the manual for the correct way to do things because the
number of incorrect ways to do things is almost infinite
---------

-----Oorspronkelijk bericht-----
Van: Chris Buechler [mailto:cbuechler at gmail dot com] 
Verzonden: donderdag 29 september 2005 22:41
CC: m0n0wall at lists dot m0n0 dot ch
Onderwerp: Re: [m0n0wall] NAT question: redirect all outgoing SMTP to or
own SMTP-server

On 9/29/05, Chris Bagnall <m0n0wall at minotaur dot cc> wrote:
>
> I'd have to put it down as "very annoying" actually.
>

Agreed and it'd piss me off for sure, but I understand the necessity
of it for 99.9% of clueless users out there.

I recall something in the archives about somebody doing something
similar using a hacked NAT rule.

Like manually put something like this in your config.xml backup and
restore it.

 <nat>
 <rule>
  <protocol>tcp</protocol>
  <external-port>25</external-port>
  <target>192.168.1.5</target>
  <local-port>25</local-port>
  <interface>lan</interface>
  <descr>redirect SMTP to LAN SMTP server</descr>
 </rule>
 </nat>

where 192.168.1.5 is your SMTP server.

That might really screw stuff up though, so test it thoroughly first
to make sure it has no unintended consequences (if it works at all).

If someone tries it, please let me know if it works.

-Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch
For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch