From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ambor" Subject: SSH dnat Date: Sun, 1 Dec 2002 15:52:02 +0100 Sender: netfilter-admin@lists.netfilter.org Message-ID: <000801c29949$359d2a70$02a8a8c0@hades> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C29951.96D66970" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.netfilter.org This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C29951.96D66970 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello everyone, I'm trying to dnat SSH throught the firewall to an internal machine. I use following Rule iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 2323 -j DNAT = --to-destination internal_IP:2323 eth0 is connected to internet The problem is that the connection is allrght it just seems that I don't = get an answer from the ssh server. (I'm getting a connection timeout, ot a connection refused) To be sure I don't filter anything, so all trafic is accepted Can someone help me? thx Ronny ------=_NextPart_000_0005_01C29951.96D66970 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello everyone,
 
I'm trying to dnat SSH throught the = firewall to an=20 internal machine.
 I use following Rule
 
iptables -t nat -A PREROUTING -i eth0 = -p tcp=20 --dport 2323 -j DNAT --to-destination internal_IP:2323
 
eth0 is connected to = internet
 
The problem is that the connection is = allrght it=20 just seems that I don't get an answer from the ssh server.
(I'm getting a connection timeout, ot a = connection=20 refused)
 
To be sure I don't filter anything, so = all trafic=20 is accepted
 
Can someone help me?
 
thx
 
Ronny
------=_NextPart_000_0005_01C29951.96D66970--