Bekijk de volledige versie : 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
costa1001
07-06-2005, 11:45
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).
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)
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)
costa1001
08-06-2005, 15:19
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).
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