LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 12-28-2005, 02:53 PM   #1
ryanz
LQ Newbie
 
Registered: Dec 2002
Posts: 4

Rep: Reputation: 0
eth0: incoming, eth1: outgoing on mail server


I would like to setup a FC3 mailserver with two network cards to handle incoming and outgoing traffic seperately.

For example:
eth0 to receive all incoming mail traffic from the switch to the mailserver.
eth1 to send all processed mail traffic back out to the switch and on to the relevent user.

What is the best way to do this and is there a "how to" available?

Thanks,

Ryan
 
Old 12-28-2005, 08:50 PM   #2
tisource
Member
 
Registered: Feb 2002
Posts: 322

Rep: Reputation: 30
I'm not sure this is the best way to do it, but I would imagine you could do it via iptables. Tell your mail server to bind to all interfaces, and then let iptables handle the the whole interface issue. You could use iptable's nat prerouting and postrouting to accomplish the task.

Let me point out, I am not an iptables expert. I know enough to do simple firewalling, but that's about it. I do know iptables can do stuff like this... I have my server's iptables DNAT ssh requests from a ridiculously high port (port forwarded that way on our NAT gateway/router) for security purposes, to port 22.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Logging incoming/outgoing mail - how to? ziphem Linux - Newbie 0 09-23-2004 04:25 PM
Clamav scanning outgoing, but not incoming mail chaan Linux - Software 0 04-09-2004 02:03 PM
How to separate Incoming Mail and Outgoing Mail on SENDMAIL LiloAma Linux - Networking 1 03-22-2004 03:24 AM
Postfix mail server not accepting incoming mail from the external interface rexmundi Linux - Networking 7 12-22-2003 04:41 PM
Copy all incoming/outgoing mail to admin account axelyeung Linux - Software 0 06-24-2003 12:06 AM


All times are GMT -5. The time now is 10:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration