LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-03-2013, 02:15 PM   #16
amlife
Member
 
Registered: Sep 2007
Location: Canada
Distribution: RHEL, Debian, SUSE
Posts: 34

Rep: Reputation: 1

Quote:
Originally Posted by madeleinepvincent View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux boxes in an AD domain; address w/o FQDN itzfritz Linux - Networking 3 10-01-2008 03:59 PM
public IP address and boxes behind router? mac1234mac Linux - Networking 5 01-25-2007 12:27 PM
How to fix IP address for 2 Linux boxes at the router level RT31P2 rajeshsfo Linux - Hardware 1 08-08-2006 09:36 PM
Can see router and other boxes, alas no internet mrkstapleton SUSE / openSUSE 6 07-19-2006 11:08 AM
Cannot connect to router from boxes bluesman2333 Linux - Networking 7 06-03-2005 09:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration