SOCKS client wrapper for *BSD / MacOS X.
(only enough of SOCKS4, SOCKS5 supported to use the built-in OpenSSH or Tor local SOCKS proxy)

sample usage:

copy a file remotely thru a home SSH gateway, using an internal DNS name

> ssh -D 1080 home_gw
> dsocks.sh scp /etc/motd internal_host:/tmp
web surf anonymously thru Tor using Firefox (configured to use the Tor SOCKS proxy), with no DNS leaks (using the included Tor DNS proxy):
> tor >/dev/null 2>&1 &
> echo "nameserver" > /etc/resolv.conf
> tor-dns-proxy.py >/dev/null 2>&1 &
> firefox
SSH anonymously thru Tor:
> tor >/dev/null 2>&1 &
> dsocks-torify.sh ssh example.com



Related software: