Run tor and proxy server in docker and set Chrome browser to send all traffics to docker tor proxy server
Environment:
- Windows 7
- Docker Toolbox – https://www.docker.com/products/docker-toolbox
- Proxy Helper – https://chrome.google.com/webstore/detail/proxy-helper/mnloefcpaepkpmhaoipjkpikbnkmbnic?utm_source=chrome-app-launcher-info-dialog
Step 1: Create docker-compose-tor.xml
version: '2' services: torproxy: image: jess/tor-proxy expose: - "9050" restart: "always" privoxy: image: jess/privoxy links: - torproxy ports: - "8118:8118" expose: - "8118" restart: "always"
Step 2: Run Docker Quickstart Terminal
Step 3: Run docker-compose
# docker-compose -f docker-compose-tor.yml run -d
Step 4: Get docker machine IP
# docker-machine ip
Step 5: Open Chrome browser and install Proxy Helper extension
https://chrome.google.com/webstore/detail/proxy-helper/mnloefcpaepkpmhaoipjkpikbnkmbnic?utm_source=chrome-app-launcher-info-dialog
Note: can use system proxy configuration if want or other proxy helper extensions. I use Proxy Helper extension to set proxy server only for the Chrome browser.
Step 6: Set Proxy Servers into the Proxy Helper extension
192.168.99.100:8118
Step 7: Test connection
https://whatismyipaddress.com/