Skip to content

Instantly share code, notes, and snippets.

@siomiz
Created November 20, 2015 01:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save siomiz/309f6f5e6d6c5186237d to your computer and use it in GitHub Desktop.
Save siomiz/309f6f5e6d6c5186237d to your computer and use it in GitHub Desktop.
privoxy:
image: vimagick/privoxy
restart: always
ports:
- 8118:8118/tcp
cap_add:
- NET_ADMIN
links:
- vpn
vpn:
image: siomiz/softethervpn
restart: always
cap_add:
- NET_ADMIN
router:
image: alpine
net: adblock
cap_add:
- NET_ADMIN
restart: on-failure
command: sh -c "apk add -U iptables" && iptables -t nat -I OUTPUT -p tcp --dport 80 -j DNAT --to-destination privoxy:8118
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment