Прокси для Firefox через SSH

ssh -D 8080 user@example.com
firefox &

Instruct browser to use socks proxy on localhost:8080, then go to about:config and set to true network.proxy.socks_remote_dns