Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Ambor" <ambor@alternity.net>
To: netfilter@lists.netfilter.org
Subject: SSH dnat
Date: Sun, 1 Dec 2002 15:52:02 +0100	[thread overview]
Message-ID: <000801c29949$359d2a70$02a8a8c0@hades> (raw)

[-- Attachment #1: Type: text/plain, Size: 523 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1660 bytes --]

             reply	other threads:[~2002-12-01 14:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-01 14:52 Ambor [this message]
2002-12-01 18:44 ` SSH dnat Jeroen van Leeuwen
2002-12-03 14:19   ` NAT + PSD Alexandre
2002-12-01 19:16 ` SSH dnat Arnt Karlsen
  -- strict thread matches above, loose matches on Subject: below --
2002-12-01 19:06 hard__ware
2002-12-03 20:48 Andrew Magnus

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='000801c29949$359d2a70$02a8a8c0@hades' \
    --to=ambor@alternity.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox