Rick Xu
-
2008-01-24
I have such a requirement: most of my network traffic do not need proxy, I need to go through the proxy for some special sites(these sites will authenticate my ip, those sites won't let me in if I use an arbitrary ip, while the proxy server ip is ok for accessing those server).
My solution is: if the configuration file(tconn.conf) contains "!localnet" while not "localnet", then we treat it as my case(all but the specified will go without proxy, the specified networks will go through proxy), otherwise, it will behave as the original behavior.