All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Taylor, Grant" <gtaylor@riverviewtech.net>
To: netfilter@lists.netfilter.org
Subject: Re: mails not going thru'
Date: Mon, 09 May 2005 01:19:30 -0500	[thread overview]
Message-ID: <427F00F2.5000308@riverviewtech.net> (raw)
In-Reply-To: <fcd674fcd901.fcd901fcd674@vsnl.net>

> Well my server in on Mandrake10.1
> with eth0 as WAN with static IP
> eth1 as LAN 192.168.0.xxx.
> 
> Clients connect to eth1 of the server.
> 
> I hope this help

Yes this does help.

Try setting up a DNAT rule that will take any port 25 (SMTP) connections received on eth1 from your LAN and DNAT them to an SMTP server on the net that will relay for your network.  You would do this with something along the following lines:

iptables -t nat -A PREROUTING -i eth1 -s 192.168.0.0/24 -d $IP_Address_of_Firewall -p tcp --dport 25 -j DNAT --to-destination $IP_Address_of_SMTP_server

This should take any port 25 traffic (SMTP) that is inbound to your server and redirect it to an SMTP server on the net.



Grant. . . .


  reply	other threads:[~2005-05-09  6:19 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-09  6:13 mails not going thru' varun_saa
2005-05-09  6:19 ` Taylor, Grant [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-05-12 15:06 varun_saa
2005-05-12 15:05 varun_saa
2005-05-12 11:50 varun_saa
2005-05-12 12:38 ` Jason Opperisano
2005-05-12 13:47   ` Jason Opperisano
2005-05-09  6:01 varun_saa
2005-05-09  3:53 varun_saa
2005-05-09 14:34 ` Jason Opperisano
2005-05-07 16:03 varun_saa
2005-05-07  9:09 varun_saa
2005-05-09  6:07 ` Taylor, Grant
2005-05-07  7:12 varun_saa
2005-05-07  7:21 ` Taylor, Grant
2005-05-07  5:14 varun_saa
2005-05-07  6:15 ` Taylor, Grant
2005-05-07 14:47 ` Jason Opperisano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=427F00F2.5000308@riverviewtech.net \
    --to=gtaylor@riverviewtech.net \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.