-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Here is a problem i am facing and before attempting a fix i wanted to get an idea from the people on the list as to the easiest way to address this issue.
We have a mail server connected to the Internet and LAN on separate LAN cards. The default gateway is the Internet router on this one and the IP is also the primary MX. It is working well doing the mail thing.
We have an Internet gateway machine which also has a separate Internet connection (diff ISP) and its also on the LAN. I have forwarded the mail ports from the ext interface on this one to the LAN IP of the mail server. Forwarding is done using iptables and the source IP is maintained when forwarded. The Internet IP of this machine forms our secondary MX.
Now the problem is the whenever the primary MX is down and a connection is made on the secondary , it forwards the connection to the mail servers LAN interface. Now since the source IP is maintained in the forward its certainly not from our LAN and needs to be routed out. The connection does not complete since the mail server is trying to send the return packets through its default gateway , which ofcourse is the other ISP's.
I would like to tell the mail server that if it gets a packet through the LAN interface, then it should send it out using the same interface and using xxx.xxx.xxx.xxx as the gateway (which is the LAN ip of the other gateway machine)
I hope i was clear enough.
thanks in advance , - - Ankur. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAam45bR7mO5apBYARAvWtAKDUOvcNFHByk0EzcJuLHBQiHpttFgCdFanE XZph/Wkauh5hsQ0rdjoWsoE= =3pvm -----END PGP SIGNATURE-----
_______________________________________________ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/