Skip to content

Instantly share code, notes, and snippets.

@nrrb
Last active October 22, 2015 15:37
Show Gist options
  • Select an option

  • Save nrrb/5395d9f41b49efceb8f0 to your computer and use it in GitHub Desktop.

Select an option

Save nrrb/5395d9f41b49efceb8f0 to your computer and use it in GitHub Desktop.
Setting Up Anonymous Rotating Proxies With Tor

Running Your Own Anonymous Rotating Proxies

  • Install Ubuntu 14.04 x64

  • Install Tor: https://www.torproject.org/docs/debian.html.en

  • Install packages: sudo apt-get install build-essential

  • Change to superuser shell sudo su -

  • Create folder mkdir -p /opt/delegate && cd /opt/delegate

  • Download Delegate source wget http://www.delegate.org/anonftp/DeleGate/delegate9.9.11.tar.gz && tar xfz delegate9.9.11.tar.gz

  • Change directory to delegate source cd delegate9.9.11

  • Run make

  • Make directory for binary mkdir -p /opt/delegate/bin

  • Move binary mv src/delegated /opt/delegate/bin

DeleGate Usage Examples

  • Install HAProxy apt-get install haproxy
  • Edit /etc/default/haproxy and set ENABLED to 1

Setting Up HAProxy on DigitalOcean

To Test

  • Configure Firefox to use HTTP Proxy with IP address of where this is installed and port of 3128
  • Refresh http://www.whatsmyip.org/ and note different IP addresses if working

Useful add-ons for Firefox:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment