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 07-19-2005, 07:02 AM   #1
guardianx
LQ Newbie
 
Registered: Jul 2005
Posts: 19

Rep: Reputation: 0
open ssh thru the internet with the linksys


i'm trying to make the linksys listen on port 443 for ssh because my ultimate goal is to ssh into the linksys from work

the marterial and tut from http://www.hetos.de/sshtut.html


i use alchamy 1.0 final


i enable sshd on port 443 in the web interface Created key and so on according the manual...

then i telnet into the router and at the promt line pasted the following command base on the instruction......

- make the ssh workable via WAN
Code:
/usr/sbin/iptables -I INPUT 1 -p tcp --dport 443 -j logaccept
then i paste the next code

Code:
nvram set rc_firewall="/usr/sbin/iptables -I INPUT 1 -p tcp --dport 443 -j logaccept"
nvram commit


-- but when i try to log into the router with the internal ip 192.168.1.1
i get this network error connection time out.. and when i tried to ssh into the router from WAN i get time out error also...
-----------------------------------

if i change the port into 22 via the web interface then i can log in with the inter ip 192.168.1.1
-------------------------------------------

DID i f8ck up somewhere ? please help.. thanx in advance[/code]

Last edited by guardianx; 07-19-2005 at 08:41 AM.
 
  


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
open ports on linksys, i have ssh open but thats it PlatinumRik Linux - Security 1 07-07-2005 10:38 AM
SSH - How can i alllow someone SSH to my network from Internet - please help me b:z Linux - Networking 4 04-05-2005 07:21 AM
Is it possible to ssh into a box connected to linksys WRT54G Tyir Linux - Networking 7 02-09-2004 07:38 AM
SSH into Third box behind a linksys router. donk3 Linux - Networking 1 09-05-2003 01:02 PM
SSH, VNC and a Linksys Router Hangdog42 Linux - Networking 8 04-18-2003 04:58 PM

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

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