Created
September 9, 2013 21:28
-
-
Save jameswhite/6501764 to your computer and use it in GitHub Desktop.
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
[root@beech ~]# proxyoff | |
Proxy environment variables removed. | |
[root@beech ~]# iptables -t nat -I OUTPUT -p tcp --dport 80 -j DNAT --to-destination 127.0.0.1:3128 | |
[root@beech ~]# iptables -t nat -I OUTPUT -p tcp --dport 443 -j DNAT --to-destination 127.0.0.1:3129 | |
[root@beech ~]# wget --no-check-certificate -qO /dev/null https://google.com; echo $?; wget -qO /dev/null http://google.com; echo $?; | |
0 | |
0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment