Skip to content

Instantly share code, notes, and snippets.

@marksnoopy
Last active December 8, 2018 16:58
Show Gist options
  • Save marksnoopy/c3839dea75420f1974db to your computer and use it in GitHub Desktop.
Save marksnoopy/c3839dea75420f1974db to your computer and use it in GitHub Desktop.
Win7 设置自动代理(解决自动代理设置无效的问题)

Analytics

evernote 原文地址

Win 7 下的自动代理设置相对于 osx 以及 ios 来说,可操作性差一些,所以特记录一些步骤,供参考。

1、修改自动代理配置和地址。

打开 IE -> Internet Options -> Connections -> LAN settings

勾选 Automatically detect settings 和 Use automatic configuration script ,并填写代理配置(pac)的地址。

如果你的 pac 文件是在本地,则直接填写本地磁盘地址即可,如 file://E:/proxy.pac ;如果 pac 文件是在云端,则直接填写云端 可访问的地址即可,如 http://xxxx/proxy.pac

2、检测网络的代理设置(非常重要,很多自动代理设置没有生效的原因,都是没有做这一步)

以 Administrator 执行 Command ,运行以下命令(时间可能较长,耐心等待)

SFC/SCANNOW

NETSH WINSOCK RESET

重启电脑

ps: 有一点比较扯蛋的就是 , IE 仍然打开不 GFW 屏蔽的网址,目前还不知道啥原因,重要的事情说三遍, IE 好难用!IE 好难用!IE 好难用!

参考:

http://jingyan.baidu.com/article/4e5b3e1951fe9791901e241a.html

@britainlondon
Copy link

这种代理是什么? 没用过

@RyanChiu
Copy link

RyanChiu commented Nov 5, 2018

好像IE11上PAC方式开始无效了?

@AnyWAT
Copy link

AnyWAT commented Nov 16, 2018

Internet Explorer 11 的自动代理配置设置 https://docs.microsoft.com/zh-cn/internet-explorer/ie11-deploy-guide/auto-proxy-configuration-settings-for-ie11 重要提示
IE11 不再支持将文件服务器位置用于代理配置 (.pac) 文件。 若要继续使用 .pac 文件,则必须将它们保存在 Web 服务器上,并使用 URL(如 https://share/test.ins )引用它们。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment