Dissidence Toolkit Music Blackhole HDD DetonatorInternet FamousDubnet Metawiki ATM Traffic Analysis (edit this)

jtunnel

A suite of scripts for Mac, Windows, and Linux for easily establishing encrypted SSH tunnels and proxying Internet traffic through them.

This software has been successfully used to route past the “Great Firewall of China”, as well as numerous censorware used by government and corporations in the United States.

Downloads

  • MacOS X: jtunnel.command – edit with a text editor to set the 'user' and 'host' variables if you do not have Dubnet access (see below). Set your Safari or Firefox settings to “SOCKS” on “localhost” port 9911 – make sure HTTP proxy, FTP proxy, etc. are left blank.
  • Windows: jtunnel.bat – same as above. Additionally this script will automatically set your Internet Explorer proxy settings, although IE has to be closed before the script is run. Close IE and exit jtunnel.bat for your previous proxy settings to be restored.
  • DIY (Linux, etc.): All the magic in jtunnel 1.0 is in dynamic ssh port forwarding using SOCKS. One can also use local forwarding and an HTTP proxy (see below). For better explanations of this Google for “ssh port forwarding”
USER=jamiew
HOST=dubnet
ssh -v -C -N -f -D 9911 $USER@$HOST

ssh opts breakdown:

  • -v: verbose
  • -C: compression
  • -N: no shell (this is just a tunnel)
  • -f: fork the process (run in background)
  • -D 9911: do dynamic port forwarding to local port 9911

Setting up a proxy server

  • sshd will forward traffic
  • Apache + mod_proxy allows for robust HTTP traffic proxying
  • Squid will handle everything and then some.

TODO – for more info see http://tramchase.com/jtunnel (to be migrated here)