Quote:
Originally Posted by madeleinepvincent
amlife,
I think this is what I am doing on server2 -- I am setting it to listen on Port 24 (by editing /etc/ssh/sshd_config as you indicated, and adding Port 24 to the listened-to ports), and then I have configured the router to port forward port 24 to server 2. And in my client, I am (attempting to) connect using:
ssh -p24 me@mybox.com
Using netstat -ntlp seems to indicate that I am listening on 22 and 24. Here are the appropriate lines that I see:
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:24 0.0.0.0:* LISTEN -
So, is this what you had recommended, or what am I missing?
Thanks,
Maddie.
|
Yes, this is one way to get it done as I mentioned.
Try and have IPtables configured to allow port 22 and 24, security comes in layers!
cheers