1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tutorial: SSH tunneling with WRT54G

Discussion in 'Sveasoft Firmware' started by littlewhoo, Jun 30, 2005.

  1. littlewhoo

    littlewhoo Network Guru Member


    For our local group of WRT54G users I have written a tutorial how to establish a secure SSH connection from a remote location over the internet to the WRT54G and how to use services (HTTP, VNC, FTP ...) running on the WRT54G itself or on computers in your LAN through a SSH tunnel. Maybe this useful for other people, too.

  2. guardianx

    guardianx Network Guru Member

    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
    /usr/sbin/iptables -I INPUT 1 -p tcp --dport [b]443[/b] -j logaccept
    then i paste the next 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
    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

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

Share This Page