I, too can't get it to work...ssh to localhost -p 3022 doesn't work, and
ssh from a remote machine (inside the LAN or from the internet) to the
server times out too
On Tue, 2003-05-20 at 13:12, Mike Starke wrote:
> On Tue, May 20, 2003 at 02:06:40PM -0500, Thomas Cameron wrote:
> /_That's what I was going to answer, but I am not getting it to work...
> /_
> /_[root@mailtest1 root]# iptables -t nat -A PREROUTING -p tcp -d
> /_127.0.0.1 --dport 3022 -j DNAT --to-destination 127.0.0.1:22
> /_[root@mailtest1 root]# ssh 127.0.0.1 -p 3022
> /_ssh: connect to host 127.0.0.1 port 3022: Connection refused
> /_
>
> Make sure you do not overlook tcpwrappers. Anytime I see
> a ":Connection refused" I get suspicious.
>
> -mike
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss