OPNsense Forum

International Forums => Chinese - 中文 => Topic started by: deddey on September 28, 2018, 11:23:45 am

Title: 看来需要跟新技能应对关于18.7.4中启用wpad/pac对中国大陆用户的困扰
Post by: deddey on September 28, 2018, 11:23:45 am
一前一直通过genpac自动转换gfwlist生成wpad.pac文件,手动把wpad.pac拷入 /usr/local/www/,手动在unbound中添加wpad的解析,来达到科学上网的目的
今天跟新了18.7.4,发现wpad.pac文件被自动更新了,原来真是一个新功能,https://wiki.opnsense.org/manual/how-tos/pac.html
出来转换gfwlist到pac的步骤,其他都不用手动了
各位,在新功能下有啥办法转换gfwlist到pac吗?
可以写个python转换gfwlist到opnsense的配置然后导入,不过我就会一点点python。
各位有其他办法吗?
Title: Re: 看来需要跟新技能应对关于18.7.4中启用wpad/pac对中国大陆用户的困扰
Post by: franco on November 20, 2018, 06:56:44 am
更好用英语问
Title: Re: 看来需要跟新技能应对关于18.7.4中启用wpad/pac对中国大陆用户的困扰
Post by: deddey on November 29, 2018, 03:43:57 am
在大陆,因为长城防火墙的,一大堆网站被屏蔽。有一个项目gfwlist,用来记录这些被屏蔽的网站。流行的翻墙方法是将gfwlist转换到 .pac文件,结合shadowsocks用于自动代理。
对于个人或小型网络来说,手动在opnsense的web proxy中添加常用的网站,配合shadowsocks就可以达到翻墙的目的。
但对与大型的网络来说,手动添加有数千个网站的gfwlist有些困难。

translate by google:

In the mainland, because of the Great Firewall(GFW), a lot of websites were blocked. There is a project GFWlist to record these blocked websites. the popular way to flip the wall is to convert the gfwlist to a .pac file, combined with shadowsocks for automatic proxies.
For personal or small networks, manually add common websites to opnsense's web proxy, and with shadowsocks you can achieve the purpose of overturning the wall.
But for large networks, manually adding gfwlists with thousands of websites is a bit difficult.
Title: Re: 看来需要跟新技能应对关于18.7.4中启用wpad/pac对中国大陆用户的困扰
Post by: tianmo on December 03, 2018, 04:58:49 am
在大陆,因为长城防火墙的,一大堆网站被屏蔽。有一个项目gfwlist,用来记录这些被屏蔽的网站。流行的翻墙方法是将gfwlist转换到 .pac文件,结合shadowsocks用于自动代理。
对于个人或小型网络来说,手动在opnsense的web proxy中添加常用的网站,配合shadowsocks就可以达到翻墙的目的。
但对与大型的网络来说,手动添加有数千个网站的gfwlist有些困难。

translate by google:

In the mainland, because of the Great Firewall(GFW), a lot of websites were blocked. There is a project GFWlist to record these blocked websites. the popular way to flip the wall is to convert the gfwlist to a .pac file, combined with shadowsocks for automatic proxies.
For personal or small networks, manually add common websites to opnsense's web proxy, and with shadowsocks you can achieve the purpose of overturning the wall.
But for large networks, manually adding gfwlists with thousands of websites is a bit difficult.

我想问问你是怎么在opnsense中用shadowsocks的?
Title: Re: 看来需要跟新技能应对关于18.7.4中启用wpad/pac对中国大陆用户的困扰
Post by: deddey on February 12, 2019, 02:37:01 am
先安装插件os-shadowsocks,然后在Services: ShadowSocks: Local中填入你的shadowsocks服务器账号密码啥的,其中Local Address填你opnsense的lan IP,Local Port 填入1080(填其他端口号也行)
在PC上测试一下,在chrome或firefox中使用lan IP:1080作为socks5代理试试看能不能上某些网站。