[ previous ] [ next ] [ threads ]
 
 From:  "Jonathan De Graeve" <Jonathan dot DeGraeve at imelda dot be>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Any-DNS & Any-SMTP
 Date:  Mon, 14 Aug 2006 14:48:53 +0200
For people looking to solve the problem of clients having fixed SMTP
servers and fixed DNS servers there is the following solution:

 

Download your current configuration to your pc

 

Edit it with your favourite editor and insert this rules between the
<nat></nat> fields

 

 

For DNS (replace $MONOLANIP$ with the correct value):

                        <rule>

                                   <protocol>udp</protocol>

                                   <external-port>53</external-port>

                                   <target>$MONOLANIP$</target>

                                   <local-port>53</local-port>

                                   <interface>lan</interface>

                                   <descr>redirect DNS to Hotspot DNS
server</descr>

                        </rule

 

For SMTP (replace $YOURSMTPIP$ with the correct value)

                        <rule>

                                   <protocol>tcp</protocol>

                                   <external-port>25</external-port>

                                   <target>$YOURSMTPIP$</target>

                                   <local-port>25</local-port>

                                   <interface>lan</interface>

                                   <descr>redirect SMTP to our own SMTP
server</descr>

        </rule

 

Maybe that Chris can add this to the documentation

 

Kind Regards,

 

J.

 

--
Jonathan De Graeve
Network/System Engineer

Imelda vzw
Informatica Dienst
015/50.52.98
Jonathan dot de dot graeve at imelda dot be