Skip to content

Instantly share code, notes, and snippets.

@ramon-sg
Created November 4, 2019 17:41
Show Gist options
  • Save ramon-sg/dec72f74cae3d9d47a952a1fa8458ff7 to your computer and use it in GitHub Desktop.
Save ramon-sg/dec72f74cae3d9d47a952a1fa8458ff7 to your computer and use it in GitHub Desktop.
sudo iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDSOCKS
sudo iptables -t nat -A OUTPUT -p tcp --dport 443 -j REDSOCKS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment