juanfranblanco / rt-n56u

Automatically exported from code.google.com/p/rt-n56u
0 stars 0 forks source link

Configuring Dropbear for port forwarding #188

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. check /usr/bin/dropbear.sh
2. note that option '-a' is not selected

What is the expected output? What do you see instead?
I would like to see the -a option added.  Is it possible to set this -a option 
by default?

What version of the product are you using? On what operating system?
1.0.1.8d-p3

Please provide any additional information below.
If there is no way to configure by default, what is the best way to add this?  
Remounting to rw and changing is nice, but will it be overwritten by upgrades?

Original issue reported on code.google.com by Hawkins22@gmail.com on 28 Mar 2012 at 3:34

GoogleCodeExporter commented 8 years ago
Do in the terminal:

# cp /usr/bin/dropbear.sh /etc/storage
# chmod +x /etc/storage/dropbear.sh
# vi /etc/storage/dropbear.sh

add '-a' option to /etc/storage/dropbear.sh

# vi /etc/storage/start_script.sh

add the following line there:
mount -o bind /etc/storage/dropbear.sh /usr/bin/dropbear.sh

# mtd_storage.sh save

That's it! =)

Original comment by d...@soulblader.com on 28 Mar 2012 at 4:07

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by d...@soulblader.com on 30 Mar 2012 at 4:12

GoogleCodeExporter commented 8 years ago
Thanks, that worked for adding '-a', but tunneling still isn't working.  It 
seems that dropbear is capable of setting up a tunnel for a local socks proxy.  
Have you ever done that?

Original comment by Hawkins22@gmail.com on 30 Mar 2012 at 5:04

GoogleCodeExporter commented 8 years ago
I've tried it, but haven't succeed with dropbear. If you use USB disk you can 
install openssh from the Optware repository. It possibly will be added to the 
firmware, built with new kernel.
I use openvpn for connections...

Original comment by d...@soulblader.com on 30 Mar 2012 at 5:44