一.电脑端操作
1.在XXnet/data/gae_proxy目录下修改config.ini 将127.0.0.1改为0.0.0.0(这样设置本地+局域网都有效)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
[pac]
enable = 1
ip = 0.0.0.0
port = 8086
file = proxy.pac
gfwlist = https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt
;adblock = http://adblock-chinalist.googlecode.com/svn/trunk/adblock.txt
; this project have stopped.
expired = 86400
[listen]
ip = 0.0.0.0
port = 8087
visible = 1
debuginfo = 0

2.重启XX-Net,确认本地仍可正常翻墙。

二.局域网内其他电脑
1.Win+R输入cmd回车,输入ipconfig,获取到本机IPv4地址192.x.x.x

2.局域网内其他主机,IE–Internet设置–连接–代理服务器,设为刚查到的192.x.x.x 端口8087。Chrome等浏览器在插件如switchy sharp里同样设置即可。

三.局域网手机端

方法一:将XX-Net-2.5.5\data\gae_proxy下的CA.crt复制到手机sd卡。打开设置-安全-存储凭证-从sd卡安装,安装ca.crt 。重启手机

方法二:若方法一无发安装,打开网址 http://www.realmb.com/droidCert/ 将XX-Net\data\gae_proxy\CA.crt证书上传,得到一个链接,手机访问可以直接安装证书(安装选择类型WLAN),感谢RealmB!

3.打开设置-wifi-你连接的wifi,把代理改成手动,主机名填你的静态ip,端口填8087

4.这时你的手机应该也能够通过XX-Net翻墙了!

注意:电脑关机后需将手机的代理调回无,才能正常上网(无翻墙)

转于Google论坛