Skip to content

Instantly share code, notes, and snippets.

@yalla
yalla / transproxy.sh
Created June 17, 2011 19:32 — forked from katmagic/transproxy.sh
Transparently proxy all connections (and DNS requests) through Tor.
#!/bin/sh
### BEGIN INIT INFO
# Provides: transproxy
# Required-Start: $network tor
# Required-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Transparently proxy all network traffic through Tor.
### END INIT INFO