Discussion Locked

two network cards in NT (Routing)

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have 2 network adapters in a NT 4.0 Server. one is connected to the internet and the second via firewall to the corporate lan.
I want to use the corporate mail relais which is behind the firewall. How can I make sure that the smtp mail is sent tothe corporate lan (2nd lan-adapter) , and not take the way to the internet.

9 replies

by timber

Ok I'm not sure I completly understand what your asking but if the smtp server is behind the firewall and you want all the mail to stay behind the firewall you don't need to do anything. By defualt the server will take the shortest path to it's destination. even if the smtp server is loaded on the firewall itself it will automatically stay on the internal network.

Hope that helps....

by baadil

Hi,

looking at the information you have provided I gather that you have two servers at two different locations. you want your local server to send email via the other server which is at the corp. There is a firewaled connectivity between the locations...
Knowing that, it doesn't matter you send your mail through your regular internet connection or throught the other server, it still passes through the internet. Unless you have a VPN connection between the locations, having just firewall will not protect email. Relaying it through your Corp server will only delay the service by several hops.

The only positive reason I can think of to relay from Corp server is for tracking and backup purposes.

so to answer your Q, the easiest way to make sure that you route through corp is to create a VPN, this way even through you are sending it through the Internet server, it's like having your private pipe.

HTH

by walti

Thank's for your answer
Maybe I have to explain a bit more. The corp acts as an ISP as well, but the only mail service is behind the firewall. My server is in the external DMZ connected via firewall to the internet and 2nd adapter again through a second firewall directly to the corp. lan.

corp-mail--fw--server--fw--internet

What I want is ,that the mail (only the mail) goes through the second route to the mail server.
any suggestions

by baadil

Hi,

Your information is still not clear...
corp-mail--fw--server--fw--internet
I see that you have a firewall but what I still don't get is, what is the connectivitiy between corp-mail and 'server'? Firwall itself is not any connectivity. Are you still going through the internet?

If you are still going through the internet, then it doesn't matter which NIC you are sending through...

If there is a seperate pipe for your CORP connectivity, then you can use a router to send mail going to a particular host throught a different route (corp pipe).

HTH

by walti

Hi Baadil
You are right, there is a seperate pipe for the corp connectivity. I use this for server maintenance (pc-anywhere).

On the web server an application generates mail messages and I have to route them to the corporate mail server, but I can only specify one ip address. How can I make sure that messages (smtp) are routet through that pipe and not out to the internet ?
Where can I specifiy this ?
Thanks

by baadil

Hi there,

Ok, look like we have a bit more information to work with now.
'Assuming', you have a router going out to the Internet. If it is the same router which also sends information to your corp pipe, you can easily setup so that any traffic to a particuler IP gets routed to a particular interface.

If they are separate routers, then you will have to route the traffic for that IP to the corp router which in turn should send it out to corp. another way is to set the default gate for your Mail App machine set to the Corp router.

HTH.

This discussion is closed to new replies.