Skip to content

Comment on SSH tricks

Comments

The best and most useful SSH trick (for me at least) is:

   ssh -[N]D 1080 [-p 33] user@server
A SOCKS5 proxy on the go...

Remember also when you're using SSH socks proxy that all your DNS requests go through the un-proxied connection -- unless you're using Firefox, in which case you could set network.proxy.socks_remote_dns to 1 in about:config.

Another point is that most firewalls block most ports, but usually not 443 (https). So set up your SSH server on port 443. Since all traffic to 443 is encrypted anyway, you're less likely to raise suspicion.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.