Took me all night, but I managed to set up a tunnel from my WRT54G to one of my servers, so I can hopefully reach my laptop at home from my laptop on the road, if for some reason it becomes necessary. I had to set up a default route by setting the nvram variable lan_gateway, use ipkg to replace dropbear with openssh, then add this line to my /etc/inittab:

::respawn:/usr/bin/ssh -n -N -T -R 10290:localhost:22 proxy@risp.org

Back to blog or home page

last updated 2013-01-10 20:49:40. served from tektonic.jcomeau.com