Hey everyone. I have openwrt 7.09 2.4 kernel installed on my wrt54g v2.0. I have a web server that port 80 is being forwarded to but it seems that I need to configure both dropbear and my firewall to forwrad port 22 to that machine so I can do work remotely. I was reading th4e docs that I could find but it seems the dropbear server installed does not support all of the features and I was wondering if anyone could help me with the config. I tried just adding the -a option to forward requests to lan and set in my firewall where that should go but it seems that I would have to configure dropbear to send it there and just set the firewall to allow incomming connections on port 22. This is what I'm attempting.
Instead of logging into openwrt and running passwd for root I copied an MD5 sum from my /etc/shadow file and pased it for root in /etc/passwd on the router. From what I've read this stops the disabling of the SSH server and telnet server, although I've disabled telnet manualy. I would like to have the router listen on port 23 for ssh connections to the router, using the firewall I am not allowing incoming connections on port 23. On port 22 in the firewall I've set to forward to the ssh server in the lan.
From what I read on the net I would have to run dropbear to listen to both ports and forward one to another IP. Using this setup I can also use the firewall to disallow anyone to remotely log into the router without stopping me from remotely logging into my system. From what I read on the net I need to use the -L option which doesn't seem to be available in the openwrt version of dropbear. Will I have to download a fuller featured version of drop bear to be able to do what I want?
Any assistance would be greatly appreciated.
Oh, and I don't even know what version of dropbear I have. I'm sure I could go into the kamikaze change long and find out but the -V option was not included.
(Last edited by WrinkledCheese on 1 May 2008, 18:06)