LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-23-2005, 10:58 AM   #1
fatman
Member
 
Registered: Mar 2003
Location: PA
Distribution: Ubuntu (x2)
Posts: 158

Rep: Reputation: 30
Higher port forwarding doesn't work


I have a Linksys WRT54G router on my home network.
I ssh into the network to my Debian box.

When I tell sshd (through sshd_config) to listen on port 22, and forward that port through the router everything works fine, from both inside and outside the network.

When I tell sshd to listen on a higher port (I have tried 6022 and 60022) I can get into the box from within the network, but I cannot get in from outside the network.

Any help would be much appreciated.
 
Old 12-23-2005, 11:33 AM   #2
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
From what you've posted it sounds like the problem is occuring at point up to and including the router.

I assume you've tried setting up port forwarding for ports 6022 and 60022 on the router.

Other than that its possible that the problem could be with your ISP or a misconfiguration in your firewall not allowing these ports from an external source.
 
Old 12-23-2005, 10:05 PM   #3
fatman
Member
 
Registered: Mar 2003
Location: PA
Distribution: Ubuntu (x2)
Posts: 158

Original Poster
Rep: Reputation: 30
I set up 6022 & 60022 in the router in exactly the same way as 22. The only firewall I have going is the router itself. I have a Comcast cable modem, I haven't heard of them blocking ports, and even if they did don't most ISP's block the lower ports?
 
Old 01-01-2006, 10:31 AM   #4
fatman
Member
 
Registered: Mar 2003
Location: PA
Distribution: Ubuntu (x2)
Posts: 158

Original Poster
Rep: Reputation: 30
Follow-up:

My router fried on Xmas morning, so I connected the cable modem directly to the debian machine. I still can't get on port 60022, but i can get in on 22.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Port forwarding simply won't work.. RoaCh Of DisCor Linux - Hardware 9 12-23-2004 06:07 PM
Port Forwarding does NOT work! The Pentium Guy Linux - Networking 4 10-31-2004 08:40 PM
Server doesn't work with port forwarding enables Dawyea Linux - Networking 7 06-19-2004 10:57 AM
Port forwarding does not work! philipina Linux - Networking 2 03-03-2004 03:15 AM
port forwarding does not work on additional ip addresses antken Linux - Networking 1 02-10-2004 07:51 PM

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

All times are GMT -5. The time now is 06:47 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