Re: iptables port forwarding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



________________________________
 From: Earl A Ramirez <earlaramirez@xxxxxxxxx>
To: CentOS mailing list <centos@xxxxxxxxxx> 
Sent: Tuesday, December 4, 2012 3:25 PM
Subject: Re:  iptables port forwarding
 
On 5 December 2012 03:38, Joseph Spenner <joseph85750@xxxxxxxxx> 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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux