Skip to content

Instantly share code, notes, and snippets.

@gboddin
Created March 10, 2015 19:39
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 gboddin/96d9dea7461e61374b42 to your computer and use it in GitHub Desktop.
Save gboddin/96d9dea7461e61374b42 to your computer and use it in GitHub Desktop.
Avoid silent block from stupid ISPs with tor
VirtualAddrNetworkIPv4 10.192.0.0/10
AutomapHostsOnResolve 1
TransPort 9040
DNSPort 53535
iptables -t nat -A OUTPUT -p tcp --dport 56969 -j REDIRECT --to-ports 9040
# replace 596969 with any blocked port
# you can also filter by destination IP if needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment