Results 1 to 4 of 4

Thread: Q: dropbear on wl and openssh on pc? Change default port ?

  1. #1
    Join Date
    Nov 2003
    Location
    Weert
    Posts
    54

    Q: dropbear on wl and openssh on pc? Change default port ?

    Hi all,

    I have dropbear on my router and openssh on my pc.
    Accessing my pc from the internet works by putting my internet IP address in putty. I have a rule in my virtual server list for traffic coming in on port 22. It goes to 192.168.1.2.

    BUT when I also run dropbear on the WL500g what will happen ?
    How to put dropbear on a different port ?

    kraai

  2. #2
    Quote Originally Posted by kraai
    BUT when I also run dropbear on the WL500g what will happen ?
    if you didn't do any "iptables" changes: dropbear will listen only to LAN ports, and any requests from WAN will be passed to your ssh server (192.168.1.2 in your case).

    Quote Originally Posted by kraai
    How to put dropbear on a different port ?
    dropbear -p <portnumber>
    Listen on specified tcp port, up to 10 can be specified (default 22 if none specified)

  3. #3
    Join Date
    Nov 2003
    Location
    Weert
    Posts
    54

    Can I also use virtual server in webadmin page for this

    Can I also use vitual server tab in webinterface to redirect traffic coming in on port 19022 for example to 192.168.1.1 port 22

    And redirect 18022 to port 192.168.1.2 ?
    (So port range field =19022, local ip=192.168.1.1, local port=22 and port range field =18022, local ip=192.168.1.2, local port=22)

  4. #4
    Quote Originally Posted by kraai
    And redirect 18022 to port 192.168.1.2 ?
    ...
    and port range field =18022, local ip=192.168.1.2, local port=22
    I did it from vitual server tab in web-interface and it worked (actually it was just different port range in my case).

    Quote Originally Posted by kraai
    Can I also use vitual server tab in webinterface to redirect traffic coming in on port 19022 for example to 192.168.1.1 port 22
    ...
    port range field =19022, local ip=192.168.1.1, local port=22
    Didn't work for me (from web interface) .. but I did tryed hard and used iptables instead.

    have a look at this http://www.macsat.com/JustSSHGuide.php

Similar Threads

  1. Change Port 80, no redirection of port
    By tase in forum WL-500g Custom Development
    Replies: 1
    Last Post: 21-09-2005, 11:37
  2. Change Port 80, no redirection of port
    By tase in forum WL-500g Q&A
    Replies: 0
    Last Post: 19-09-2005, 20:36
  3. Change default firewall ruleset ?
    By majx in forum WL-500g Q&A
    Replies: 2
    Last Post: 08-02-2005, 15:59
  4. openwrt and openssh-client
    By adaam in forum WL-500g Custom Development
    Replies: 2
    Last Post: 23-12-2004, 10:16
  5. Change webinterface port
    By alpha5 in forum WL-500g Q&A
    Replies: 2
    Last Post: 16-06-2004, 17:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •