- Connect to your remote server via ssh with
ssh -D 6666 firstname.lastname@example.org # the 6666 is the forward port
- Set socks5 proxy:
Open Firefox -> Preference -> Network Settings (At the bottom of the settings page 😕) -> Manual proxy configuration -> Fill in
localhost after the Socks Host label and fill in the above port
6666 after the label Port.
I found a much more powerful browser entension: Proxy SwitchyOmega, which can help us switch proxies without much pain (support both chrome and firefox 👍).