Skip to content

Instantly share code, notes, and snippets.

@gmas
Created April 27, 2014 00:49
Show Gist options
  • Save gmas/11334960 to your computer and use it in GitHub Desktop.
Save gmas/11334960 to your computer and use it in GitHub Desktop.
redirect traffic for user/port
#privoxy running HTTP proxy on port 8118
iptables -t nat -A OUTPUT -p tcp --dport 80 -m owner --uid-owner debian-transmission -j REDIRECT --to-port 8118
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment