[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, 192.101.77.76, it never
> connects to the target port:
>
> boxB# telnet 192.101.77.62 12321
> Trying 192.101.77.62...
> ^C
>
> boxB# telnet 192.101.77.62 22
> Trying 192.101.77.62...
> Connected to 192.101.77.62.
> 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?

-- 

Earl:
  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