Hi Des,
You basically have two choices,
1. Forward port 25 and tech the NT about dns (so it can deliver directly).
Allow the NT box to see the Internet using masquerading.
This has the advantage that the exchange admin can see any mail in the queue
if it gets bogged down for any reason. You will have to enable DNS in NT
and anti-relaying in exchange.
2.Relay mail through the Linux box (This has the advantage of applying some
level of spam checking etc). The NT box is setup with an internet
connector and forwards all outbound mail to the linux box (it doesn't need
to know about DNS or anything from outside). Sendmail on the Linux box is
setup to relay incoming mail (after spam check etc) to the NT box and vice a
versa. It is a little tricky the first time you do it.
a) the linux box (named "mail.domain.com.au") is the MX record for your
site.
b) the NT box is set to accept mail for "domain.com.au". (the linux box is
NOT set to accept mail for domain.com.au)
c) in /etc/mail/mailertable in the linux box you have an entry that looks
like:
domain.com.au smtp:[ntbox]
This tells the linux box that the handler for domain.com.au is ntbox , []
says use hosts not DNS(A or MX) to resolve the [name] or handler
(beware Redhat 6.1 linuxconf will stuff up the location of mailertable)
d) put an entry in the /etc/hosts of linux box that looks like:
192.168.1.xxx ntbox
you should of course setup the anti-spam stuff in sendmail.
Hope this gets you on the right track.
Ian
----- Original Message -----
From: Des Wass <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, 8 March 2000 9:46 AM
Subject: [SLUG] Server Behind Firewall...
> I have a linux box acting as a dial-up server/firewall/mail relay.
>
> Behind the firewall is an NT Exchange Server that needs to be accessed
from
> the world (via a web browser).
>
> What is the bestway to do this? port forwarding? Ideas please?
>
> And no, the NT box isn't going anywhere :(
>
> TIA,
> Des.
> --
> SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
> To unsubscribe send email to [EMAIL PROTECTED] with
> unsubscribe in the text
>
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text