From: Antony Stone Subject: Re: Outgoing SMTP Mystery Date: Tue, 4 Jun 2002 23:37:22 +0100 Sender: netfilter-admin@lists.samba.org Message-ID: <200206042237.g54MbOA10863@Networker.rockstone.co.uk> References: <013601c20c15$cba57520$52cfd3cf@michael> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <013601c20c15$cba57520$52cfd3cf@michael> Errors-To: netfilter-admin@lists.samba.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.samba.org On Tuesday 04 June 2002 11:18 pm, Michael Hudin wrote: > I can send SMTP out just fine, but no other server can send it in for some > reason. > -A POSTROUTING -o eth0 -j SNAT --to-source 10.10.10.254 > -A POSTROUTING -o eth1 -j SNAT --to-source 10.10.10.254 I really don't like the look of those two rules together. You're saying that any packet going out of the external interface should bear the source address of the external interface - pretty standard. But you're also saying that any packet going out of the *internal* interface should also have the source address of the external interface - why ??? Do you have any access control rules on your SMTP server - is it fussy about the IP addresses it accepts connections from ? What happens if you telnet to port 25 on the mail server from your firewall ? Antony.