From: Arnt Karlsen <arnt@c2i.net>
To: netfilter@lists.netfilter.org
Subject: Re: SSH dnat
Date: Sun, 1 Dec 2002 20:16:08 +0100 [thread overview]
Message-ID: <20021201201608.35bfade7.arnt@c2i.net> (raw)
In-Reply-To: <000801c29949$359d2a70$02a8a8c0@hades>
On Sun, 1 Dec 2002 15:52:02 +0100,
"Ambor" <ambor@alternity.net> wrote in message
<000801c29949$359d2a70$02a8a8c0@hades>:
> 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
..you and your internet ssh customers have ssh on port 2323 and not 22?
--
..med vennlig hilsen = with Kind Regards from Arnt... ;-)
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.
next prev parent reply other threads:[~2002-12-01 19:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-01 14:52 SSH dnat Ambor
2002-12-01 18:44 ` Jeroen van Leeuwen
2002-12-03 14:19 ` NAT + PSD Alexandre
2002-12-01 19:16 ` Arnt Karlsen [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-12-01 19:06 SSH dnat 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=20021201201608.35bfade7.arnt@c2i.net \
--to=arnt@c2i.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