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

SSH from WAN and upgrading to v23 SP1

Discussion in 'DD-WRT Firmware' started by dontbotherme, May 15, 2006.

  1. dontbotherme

    dontbotherme Network Guru Member

    Ok, I've got two questions I couldn't find any answers to elsewhere.

    1. How can I make my router accept SSH connections from the WAN side? I'm guessing I'd have to make some iptables rule, but I'm not sure how since I only use ipfw and pf on my other servers.

    2. I'm going to upgrade from v23 (12/25/05) to v23 SP1 and I'm wondering if I should do a hard reset after flashing or just "Reset after flashing to: Firmware Defaults" or "Reset after flashing to: Factory Defaults" under the Firmware Upgrade-tab.

    Thanks to those who can enlighten me. :)
     
  2. sufrano63

    sufrano63 Network Guru Member

  3. dontbotherme

    dontbotherme Network Guru Member

    Thanks, but is a hard reset necessary? (holding the reset button)
     
  4. sufrano63

    sufrano63 Network Guru Member

    I never had to.
     
  5. Yasha613

    Yasha613 Network Guru Member

    Necessary, no, but if you have any issues afterwards you should do this right off before asking "wtf"? :)

    That command line script isn't necessary anymore by the way. You can go to Administration>Management>Remote Access>SSH management and enable it. This will also allow you to change the externally usable port from the one you specify in services, it will still use the other options you specify there (Authorized keys, login disable/enable).
     
  6. vincentfox

    vincentfox Network Guru Member

    Having an externally accessible port 22 is like hanging up a sign that says "hack me! Please!"

    I looked through my logs once on such a system and saw about every 2 minutes some robot program coming through and trying a list of common passwords trying to get in. Always a different address so it was just the thousands of bots out there on the internet, not much you can do about it.

    I moved my SSH to a high-numbered port and these log entries stopped.
     

Share This Page