LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-29-2003, 02:19 PM   #1
epoo
Member
 
Registered: Aug 2003
Distribution: slackware 11, ubuntu 7.04
Posts: 165

Rep: Reputation: 30
router port forwarding/ssh


im trying to allow ssh connections to my slackbox through the router. i changed it to port 55, and im able to connect to the machine fine through the internal ip, but when i try to connect to the external ip on port 55 using ssh, it times out. ive added the internal router ip - 192.168.0.1 - to the hosts.allow file, but it still doesnt work. any suggestions ?
 
Old 12-29-2003, 03:05 PM   #2
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
i thought ssh was port 22?
 
Old 12-29-2003, 07:43 PM   #3
epoo
Member
 
Registered: Aug 2003
Distribution: slackware 11, ubuntu 7.04
Posts: 165

Original Poster
Rep: Reputation: 30
usually it is, but i changed it to 55.
 
Old 12-29-2003, 08:13 PM   #4
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
Quote:
Originally posted by epoo
usually it is, but i changed it to 55.
thats odd that it will not let you connect.. are you going through a comapny firewall??
 
Old 12-29-2003, 08:30 PM   #5
epoo
Member
 
Registered: Aug 2003
Distribution: slackware 11, ubuntu 7.04
Posts: 165

Original Poster
Rep: Reputation: 30
no, this is all through home. im just wondering which files i should look at, or anything special i have to do to enable outside connections. it should just show as connecting through 192.168.0.1 , right ?
 
Old 12-30-2003, 03:02 AM   #6
h3pc4t
Member
 
Registered: Nov 2003
Location: Ithaca, NY
Distribution: Mac OS X, FreeBSD, Slackware
Posts: 52

Rep: Reputation: 15
Uh, is your router set up to forward port 55 to your machine?
 
Old 12-30-2003, 02:08 PM   #7
epoo
Member
 
Registered: Aug 2003
Distribution: slackware 11, ubuntu 7.04
Posts: 165

Original Poster
Rep: Reputation: 30
of course it is.
the router setting is really very simple. and sshd on the slackbox works fine. im just wondering if theres any entries i have to make in order for it to accept connections from the router as opposed to from inside the network.
 
Old 12-30-2003, 03:02 PM   #8
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
epoo.. I just recently installed slack.. last week as a matter of fact.. all i fowarded on my router was 22... and i was able to connect to my (home) slackbox from work.

might want to try moving it back to 22 and try it that way?
 
  


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
SSH Port Forwarding wwnexc Linux - Networking 4 09-29-2005 01:26 AM
Port forwarding for ssh Adriaan Linux - Networking 1 03-08-2004 09:11 AM
Help with Port Forwarding for SSH mi6 Linux - Networking 6 07-29-2003 12:46 PM
ssh, and port forwarding Tricky Linux - Networking 3 01-06-2003 07:50 PM
SSH port forwarding tarballedtux Linux - Networking 2 05-29-2002 07:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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