Re: cannot outgoing smtp with snat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2004-09-24 at 04:38, Higuera, Antonio wrote:
> Hi,
> I have a linux iptables fw with two interfaces: internal and external
> (nating the internal traffic) with a public ip. In the internal
> interface I have a ms exchange server that forward all the external mail
> to the firewall via smtp.
> - After setup the linux fw I had a cisco router nating the traffic to
> internet and everything went fine. It seems therefore that the exchange
> server works properly.
> - With the linux machine everything works fine unless the outgoing
> smtp.I can telnet the port 25 of the external server but something
> happen once the smtp protocol has begun. In fact I can see with a
> sniffer that the protocol stop when the external server send back DATA.
> In this moment the local exchange stop of sending and the timeout is
> reached.
> - I tested other smtp applications to send out messages and work fine
> with iptables. But what happens with exchange?: works with cisco but not
> with iptables!! It's crazy!!!
> Any ideas?
> Thank you for your help

posting your rules might help:

iptables -t mangle -vxnL && iptables -t nat -vxnL && iptables -vxnL

-- 
Jason Opperisano <opie@xxxxxxxxxxx>



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux