SSH Tunnel to Router Settings

I always forget how to do this and it's extremely useful. If you have SSH access to your box behind your router, you can use a double SSH tunnel to connect to the router and adjust your settings.
localhost$ ssh -L 8888:remotehost:8888 remotehost
remotehost$ ssh -L 8888:router:443 localhost
Now just point your localhost browser to https://localhost:8888/.


  1. still easier

    localhost$ ssh -L 8888:router:443 remotehost