Skip to content

Commit

Permalink
更新B类私网地址
Browse files Browse the repository at this point in the history
  • Loading branch information
entr0pia committed Sep 30, 2021
1 parent 0f28fe1 commit 66c42df
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 7 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
3. 建议将以下地址加入【步骤2】中的“不代理的地址列表”:
```
<local>
10.0.0.0/8
172.16.0.0/12
192.168.0.0/16
169.254.0.0/16
fc00::/7
fe80::/10
```
19 changes: 17 additions & 2 deletions update.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,23 @@
'\n',
'; 局域网IP不走代理\n',
'10.*.*.*\n',
'; B类地址不全,仅设置了校园网常用登录地址,完整版请跟随【建议3】\n'
'172.16.*.*\n',
'172.17.*.*\n',
'172.18.*.*\n',
'172.19.*.*\n',
'172.20.*.*\n',
'172.21.*.*\n',
'172.22.*.*\n',
'172.23.*.*\n',
'172.24.*.*\n',
'172.25.*.*\n',
'172.26.*.*\n',
'172.27.*.*\n',
'172.28.*.*\n',
'172.29.*.*\n',
'172.30.*.*\n',
'172.31.*.*\n',
'169.254.*.*\n',
'192.168.*.*\n',
'\n',
'; 教育网\n',
Expand Down Expand Up @@ -70,4 +85,4 @@
with open(sorlfile, 'w') as f:
f.writelines(out)

os.remove(conffile)
os.remove(conffile)
17 changes: 16 additions & 1 deletion white-list.sorl
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,23 @@

; 局域网IP不走代理
10.*.*.*
; B类地址不全,仅设置了校园网常用登录地址,完整版请跟随【建议3】
172.16.*.*
172.17.*.*
172.18.*.*
172.19.*.*
172.20.*.*
172.21.*.*
172.22.*.*
172.23.*.*
172.24.*.*
172.25.*.*
172.26.*.*
172.27.*.*
172.28.*.*
172.29.*.*
172.30.*.*
172.31.*.*
169.254.*.*
192.168.*.*

; 教育网
Expand Down

0 comments on commit 66c42df

Please sign in to comment.