a. 请 google “代理服务器列表”。
b. 使用 代理搜索工具 指定范围搜索代理,并且对代理列表进行验证,判断哪个代理用起来最快
下面的图片是 firefox,打开菜单:tools (工具) -- option (选项),依次找到 advanced - network - settings,打开下面的对话框。
a. 直接使用某一个 代理服务器,就选择 Manual proxy configuration,填入代理服务器地址和端口。
b. 使用代理脚本,可以把脚本文件放在网上,也可以放在本地。在上面的对话框中选择 Automatically proxy configuration URL,填入相应的 网址 或 本地文件地址,例如:。复制代码
- http://yayabay.net/proxy.pac
- 或者
- file:///E:/proxy.pac
注意 firefox 里文件地址有 3 个斜杠,ie 里貌似只有 2 个斜杠。
因为需要使用代理连接的网页是少数,如果要以 no proxy 的方式上网,又得跑来取消代理,通过编写 代理脚本 proxy.pac 的方式,可以手动指定对哪些地址使用哪一个代理。网上有很多现成的脚本,例如:还有很多很多例子,因为最普遍的配置自动代理方法其实是放在网上,所以能搜索到很多公司的自动代理配置脚本,看看就会自己写了。例如这些:复制代码
- function FindProxyForURL(url, host)
- {
- var MyProxy = "PROXY 93.93.128.239:80";
- if (shExpMatch(url, "*netflix*")) {return "DIRECT";}
- else if (shExpMatch(url, "*directdl.iplayer.bbc.co.uk*")) {return "DIRECT";}
- else if (shExpMatch(url, "*electradl.iplayer.bbc.co.uk*")) {return "DIRECT";}
- else if (shExpMatch(url, "*msnvideouk.vo.llnwd.net*")) {return "DIRECT";}
- else if (shExpMatch(url, "http://92.*")) {return MyProxy;}
- else if (shExpMatch(url, "http://88.*")) {return MyProxy;}
- else if (shExpMatch(url, "http://195.*")) {return MyProxy;}
- else if (shExpMatch(url, "http://95.*")) {return MyProxy;}
- else if (shExpMatch(url, "http://87.*")) {return MyProxy;}
- else if (dnsDomainIs(host, ".bbc.co.uk")) {return MyProxy;}
- else if (dnsDomainIs(host, ".edgefcs.net")) {return MyProxy;}
- else if (dnsDomainIs(host, ".adbureau.net")) {return MyProxy;}
- else if (dnsDomainIs(host, ".itv.com")) {return MyProxy;}
- else if (dnsDomainIs(host, ".revsci.net")) {return MyProxy;}
- else if (dnsDomainIs(host, ".llnwd.net")) {return MyProxy;}
- else if (dnsDomainIs(host, ".llnw.net")) {return MyProxy;}
- else if (dnsDomainIs(host, ".citv.co.uk")) {return MyProxy;}
- else if (dnsDomainIs(host, ".serving-sys.com")) {return MyProxy;}
- else if (dnsDomainIs(host, ".channel4.com")) {return MyProxy;}
- else if (dnsDomainIs(host, ".setanta.com")) {return MyProxy;}
- else if (dnsDomainIs(host, "setanta-i.com")) {return MyProxy;}
- else if (dnsDomainIs(host, "local.swarmcast.net")) {return MyProxy;}
- else if (dnsDomainIs(host, "setanta.img.entriq.net")) {return MyProxy;}
- else if (dnsDomainIs(host, ".five.tv")) {return MyProxy;}
- else if (dnsDomainIs(host, ".unanimis.co.uk")) {return MyProxy;}
- else if (dnsDomainIs(host, ".skysports.com")) {return MyProxy;}
- else if (dnsDomainIs(host, ".sky.com")) {return MyProxy;}
- else if (dnsDomainIs(host, ".bskyb.com")) {return MyProxy;}
- else if (dnsDomainIs(host, ".sky.servecast.net")) {return MyProxy;}
- else if (dnsDomainIs(host, ".itvlocal.com")) {return MyProxy;}
- else if (dnsDomainIs(host, "test.tvproxy.co.uk")) {return MyProxy;}
- else if (dnsDomainIs(host, ".brightcove.com")) {return MyProxy;}
- else {return "DIRECT";}
- }
http://www.gfdl.noaa.gov/www-proxy.pac
http://www.uhb.fr/proxy.pac
http://www.staffs.ac.uk/proxy.config
……
比如对只对 yayabay 使用代理,其它地址直接连接:复制代码
- function FindProxyForURL (url, host)
- {
- if (dnsDomainIs(host, ".yayabay.net") ||
- dnsDomainIs(host, ".yayabay.com") ||
- dnsDomainIs(host, ".chineseindc.com"))
- {
- return "PROXY 123.123.123.123:3128";
- }
- else
- return "DIRECT";
- }
复制代码
- 64.71.138.95:80
- 64.71.138.122:80
- static-202-3-209-12.telkomsel.net.id:8080
- 112.216.50.242:80
- 165.193.102.220:80
- h1879580.stratoserver.net:80
- 202.28.66.115:8080
- 216.120.36.194:80
- g0001.advresources.com.br:3128
- ks301297.kimsufi.com:8080
- rrcs-24-242-167-124.sw.biz.rr.com:8080
- 84.237.194.83:80
- www.lopburi1.go.th:3128
- mail.novenaltd.com:80
- 109.123.111.99:80
- 216.157.222.84:80
- 122-116-40-253.hinet-ip.hinet.net:80
- 184-106-221-39.static.cloud-ips.com:443
- 187.85.160.3:80
- 186-24-9-194.static.telcel.net.ve:3128
- ip-184-168-107-123.ip.secureserver.net:80
- 207.114.84.199:80
- mail.ipresearch.de:80
- sig2.gema.state.ga.us:80
- uhlenbusch.net:8118
- 174.37.153.90-static.reverse.softlayer.com:80
- scm.cbmmg.mg.gov.br:80
- ac121189.ppp.asahi-net.or.jp:80
- chicago269.server4you.de:80
- ds200a.gema.state.ga.us:80
欢迎光临 华人论坛 (http://yayabay.com/forum/) | Powered by Discuz! 7.2 |