Created
March 10, 2015 19:39
-
-
Save gboddin/96d9dea7461e61374b42 to your computer and use it in GitHub Desktop.
Avoid silent block from stupid ISPs with tor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VirtualAddrNetworkIPv4 10.192.0.0/10 | |
AutomapHostsOnResolve 1 | |
TransPort 9040 | |
DNSPort 53535 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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