Added autossh in rc.local, but the dynamic port forwarding won't work
- by rankjie
I am using Rasbian on my newly arrived Rasp.Pi, and decided to make it my own proxy server.
Now I need to set up a ssh tunnel on the Pi to my Linode server, and make it auto start with the system.
What did I do:
Add this line to /etc/rc.local
autossh -f theRemoteServer -N -D 5555 -L 1234:localhost:22
After I reboot, I found out that I…