[CentOS] iptables port forwarding

Thu Dec 6 19:53:55 UTC 2012
Joseph Spenner <joseph85750 at yahoo.com>

 From: Earl A Ramirez <earlaramirez at gmail.com>
To: CentOS mailing list <centos at centos.org> 
Sent: Tuesday, December 4, 2012 3:25 PM
Subject: Re: [CentOS] iptables port forwarding
On 5 December 2012 03:38, Joseph Spenner <joseph85750 at yahoo.com> wrote:

> I have a simple requirement/test I'm trying to perform, but having
> difficulty.
> When I try to connect from my other system, boxB,, it never
> connects to the target port:
> boxB# telnet 12321
> Trying
> ^C
> boxB# telnet 22
> Trying
> Connected to
> Escape character is '^]'.
> SSH-2.0-OpenSSH_5.5p1
> Protocol mismatch.

Hi Joseph,

What port is the sshd daemon listening on, did you edit the sshd_config
file to reflect port 12321?


  Thanks for the reply, but I figure it out.  The sshd ports are default-- 22.  The target system needed a route back to the original system through the linux router.  I ran tcpdump and saw it and knew then I needed a route.

If life gives you lemons, keep them-- because hey.. free lemons.
"♥ Sticker" fixer:  http://microflush.org/stuff/stickers/heartFix.html