From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pascal Hambourg Subject: Re: DNAT not working Date: Fri, 22 Dec 2006 22:14:37 +0100 Message-ID: <458C4ABD.6010507@plouf.fr.eu.org> References: <458BF3C2.4050700@initon.com> <458C4254.4060007@riverviewtech.net> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <458C4254.4060007@riverviewtech.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="iso-8859-1"; format="flowed" To: Mail List - Netfilter Hello, Grant Taylor a =E9crit : > Balazs Fulop wrote: >=20 >> If I telnet 192.168.3.1 25 on the firewall, an SMTP session starts. If= =20 >> I telnet from outside (coming on eth0), it waits until timeout. I am not surprised that telnet to a private address from the outside=20 fails. ;-) > It does not look like you are SNATing / MASQUERADing your traffic back=20 > out to the internet. You do not need to SNAT/MASQUERADE return traffic. The NAT code does it=20 implicitly. However, the target host must have a (default) route back to=20 the outside via the NATing gateway.