RustDesk服务搭建

RustDesk优势

一直以来尝试了不少远程工具,包括微软RDP,TeamViewer,ToDesk,AnyViewer。

  • 最好用当属微软RDP,网络好的情况下(最好是局域网)有着近乎操作本地电脑的体验。延迟低,画质高,系统占用小。当然归功于Windows系统原生的支持。但是3389端口万万不可公网使用,已有不少开放3389端口中勒索病毒的先例。如果跨公网使用最好使用一些隧道技术,包括异地组网Zerotier,VPN隧道OpenVpn,还有N2N或者V2ray等等。通过隧道访问3389端口,确保安全
  • TeamViewer也是远程电脑十分优秀的国外软件,但是商用收费十分昂贵,个人授权的权限日益收缩,甚至限制的设备数也越来越少了
  • 后来一直在用ToDesk,这是一款国产软件,迭代速度很快,国内使用率也很高,但是也不是很稳定,有时会掉线,高峰期卡顿。会员权益变动比较随意,甚至还爆出几次比较严重的漏洞问题。好处是免费够用,一直作为主力
  • AnyViewer简单用过一次,国外的服务延迟比较高,后续没在使用了

用RustDesk的最大原因是因为是开源,可以部署私有服务,自主可控,不用担心突然的服务收费或者权益变更。二是自己家里网络带宽高,而且有公网IP,可以充分发挥高上传的优势,不用担心高峰期卡顿。

Hugo搭建博客进阶

前言

距离首次用Hugo搭建博客已经时隔多年,Hugo版本升级也十分活跃,所用的Jane主题也有了很大的更新。近日索性重新搭建Hugo博客,所用的Hugo版本为最新版本0.138.0,Jane主题也是最新的master分支,平台由Gitee Pages(服务已停用)换成GitHub Pages

Idea找不到JDK错误java Cannot find JDK

Idea找不到JDK错误java Cannot find JDK

在使用Settings Repository (Deprecated)插件时,会出现找不到JDK错误。明明Project Struture

SDKProject SDK还有Module Sdk都已经配置完好,甚至Maven都可以正常编译,测试。

Clash配置示例

Clash配置示例

Config.yaml

1. PC And Android

  1# 混合代理端口
  2mixed-port: 1080
  3
  4# 允许局域网的连接
  5allow-lan: true
  6
  7# 绑定局域网ip
  8bind-address: "*"
  9
 10# Clash 的 RESTful API
 11external-controller: "127.0.0.1:9090"
 12
 13# 您可以将静态网页资源(如 clash-dashboard)放置在一个目录中,clash 将会服务于 `${API}/ui`
 14# external-ui: folder
 15
 16# RESTful API 的口令
 17secret: ""
 18
 19# 规则模式:Rule(规则) / Global(全局代理)/ Direct(全局直连)
 20mode: Rule
 21
 22# 设置日志输出级别 (默认级别:silent,即不输出任何内容,以避免因日志内容过大而导致程序内存溢出)。
 23# 5 个级别:silent / info / warning / error / debug。级别越高日志输出量越大,越倾向于调试,若需要请自行开启。
 24log-level: info
 25
 26ipv6: false
 27
 28# 控制是否让Clash 去匹配进程,always开启,强制匹配所有进程,strict 默认,由 Clash 判断是否开启,off 不匹配进程,推荐在路由器上使用此模式
 29find-process-mode: strict
 30
 31# 开启统一延迟时,会进行两次延迟测试,以消除连接握手等带来的不同类型节点的延迟差异
 32unified-delay: false
 33
 34# 全局客户端指纹,优先低于 proxy 内的 client-fingerprint,目前支持开启 TLS 传输的 TCP/grpc/WS/HTTP , 支持协议有 VLESS,Vmess 和 trojan.
 35# 可选:chrome, firefox, safari, iOS, android, edge, 360, qq, random, 若选择 random, 则按 Cloudflare Radar 数据按概率生成一个现代浏览器指纹。
 36global-client-fingerprint: chrome
 37
 38# TCP 并发
 39tcp-concurrent: true
 40
 41# 全局UA
 42global-ua: clash.meta
 43
 44profile:
 45    store-selected: true
 46    # 储存 API 对策略组的选择,以供下次启动时使用
 47    store-fake-ip: false
 48    # 储存 fakeip 映射表,域名再次发生连接时,使用原有映射地址
 49
 50# host:
 51#     gist.github.com: 192.30.255.112
 52#     gist.githubusercontent.com: 151.101.56.133
 53
 54sniffer:
 55    enable: true
 56    force-dns-mapping: true
 57    parse-pure-ip: true
 58    override-destination: true
 59    sniff:
 60        HTTP:
 61            ports: [80, 8080-8880]
 62            override-destination: true
 63        TLS:
 64            ports: [443, 8443]
 65        QUIC:
 66            ports: [443, 8443]
 67    force-domain:
 68        - "+.v2ex.com"
 69        - "+.google.com"
 70    skip-domain:
 71        - "Mijia Cloud"
 72        - "dlg.io.mi.com"
 73        - "+.apple.com"
 74
 75dns:
 76    enable: true
 77    listen: 0.0.0.0:53
 78    ipv6: false
 79    prefer-h3: false
 80    respect-rules: false
 81    use-hosts: true # lookup hosts and return IP record
 82    use-system-hosts: true
 83    # fake-ip/redir-host/normal
 84    enhanced-mode: fake-ip
 85    # fake ip 池
 86    fake-ip-range: 198.18.0.1/16
 87    # fake ip 白名单
 88    fake-ip-filter:
 89        - "*.lan"
 90        - "localhost"
 91    # 用于解析nameserver中的域名
 92    default-nameserver:
 93        - 114.114.114.114
 94        - 119.29.29.29
 95    nameserver:
 96        - 223.5.5.5
 97        - 119.29.29.29
 98    # 与 nameserver 内的服务器列表同时发起请求,当规则符合 GEOIP 在 CN 以外时,fallback 列表内的域名服务器生效。
 99    fallback:
100        - https://doh.pub/dns-query
101        - https://dns.alidns.com/resolve
102        - tls://dot.pub:853
103    proxy-server-nameserver:
104        - https://doh.pub/dns-query
105        - https://dns.alidns.com/resolve
106        - tls://dot.pub:853
107    # nameserver-policy:
108    #     "www.baidu.com": "114.114.114.114"
109    fallback-filter:
110        geoip: true # 默认
111        geoip-code: CN
112        ipcidr: # 在这个网段内的 IP 地址会被考虑为被污染的 IP
113            - 240.0.0.0/4
114        domain:
115            - "+.google.com"
116            - "+.facebook.com"
117            - "+.youtube.com"
118
119tun:
120    enable: true
121    stack: mixed # gvisor 或者 system 或者mixed
122    dns-hijack:
123        - any:53
124    auto-route: true
125    auto-redirect: true
126    auto-detect-interface: true
127    strict-route: true
128
129proxy-providers-common: &proxy-providers-common
130    type: http
131    interval: 43200
132    # filter: "(?i)港|hk|hongkong|hong kong" # 筛选满足关键词或正则表达式的节点
133    # exclude-filter: "xxx" # 排除满足关键词或正则表达式的节点
134    # exclude-type: "ss|http" # 不支持正则表达式,通过 | 分割,根据节点类型排除
135    header:
136        User-Agent:
137            - "Clash/v1.18.0"
138            - "mihomo/1.18.3"
139        # Authorization:
140        #     - 'token 1231231'
141    health-check:
142        enable: true
143        url: https://www.gstatic.com/generate_204
144        interval: 300
145        timeout: 5000
146        lazy: true
147    override:
148        skip-cert-verify: false
149        # udp: true
150        # down: "50 Mbps"
151        # up: "10 Mbps"
152        # dialer-proxy: proxy
153        # interface-name: tailscale0
154        # routing-mark: 233
155        # ip-version: ipv4-prefer
156        # additional-prefix: "provider1 prefix |"
157        # additional-suffix: "| provider1 suffix"
158
159# github代理:https://gh.chjina.com/ https://ghproxy.com/ https://gh.not.icu/
160proxy-providers:
161    ProxyHome:
162        <<: *proxy-providers-common
163        path: ./Proxies/ProxyHome.yaml
164        url: url
165    ProxyNetease:
166        <<: *proxy-providers-common
167        path: ./Proxies/ProxyNetease.yaml
168        url: url
169    ProxyFree:
170        <<: *proxy-providers-common
171        path: ./Proxies/ProxyFree.yaml
172        url: url
173        interval: 3600
174
175proxy-groups-common: &proxy-groups-common
176    url: "https://www.gstatic.com/generate_204"
177    interval: 300 # 健康检查间隔,如不为 0则启用定时测试,单位为秒
178    lazy: true
179    timeout: 5000
180    max-failed-times: 5
181    # disable-udp: true
182    # interface-name: en0
183    # routing-mark: 11451
184    # include-all: false
185    # include-all-proxies: false
186    # include-all-providers: false
187    # filter: "(?i)港|hk|hongkong|hong kong"
188    # exclude-filter: "美|日"
189    # exclude-type: "Shadowsocks|Http"
190    # expected-status: 204
191    # hidden: true
192    # icon: xxx
193
194# 代理组策略
195proxy-groups:
196    - name: "🐟默认"
197      <<: *proxy-groups-common
198      type: select
199      proxies:
200          - "🍪国内服务"
201          - "🚀国际服务"
202
203    - name: "🚀国际服务"
204      <<: *proxy-groups-common
205      type: select
206      proxies:
207          - "🍀IKUUU-延迟最低"
208          - "🍀IKUUU-手动选择"
209          - DIRECT
210          - 🏠回家
211
212    - name: "🍪国内服务"
213      <<: *proxy-groups-common
214      type: select
215      proxies:
216          - DIRECT
217          - 🏠回家
218          - "🍀IKUUU-延迟最低"
219          - "🍀IKUUU-手动选择"
220
221    - name: "🍀IKUUU-手动选择"
222      <<: *proxy-groups-common
223      type: select
224      use:
225          - ProxyFree
226
227    - name: "🍀IKUUU-延迟最低"
228      <<: *proxy-groups-common
229      type: url-test
230      tolerance: 100 # 节点切换容差,单位 ms
231      lazy: true
232      use:
233          - ProxyFree
234
235    - name: "💤测速"
236      <<: *proxy-groups-common
237      type: select
238      proxies:
239          - "🚀国际服务"
240          - "🍪国内服务"
241          - "DIRECT"
242
243    - name: "🎵网易云"
244      <<: *proxy-groups-common
245      type: select
246      use:
247          - ProxyNetease
248      proxies:
249          - "DIRECT"
250
251    - name: "🏠回家"
252      <<: *proxy-groups-common
253      type: select
254      use:
255          - ProxyHome
256
257rule-providers:
258    GlobalMedia:
259        type: http
260        behavior: classical
261        path: ./Rules/GlobalMedia.yaml
262        url: https://gh.chjina.com/https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/ProxyMedia.yaml
263        interval: 86400
264    ChinaMedia:
265        type: http
266        behavior: classical
267        path: ./Rules/ChinaMedia.yaml
268        url: https://gh.chjina.com/https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/ChinaMedia.yaml
269        interval: 86400
270    Global:
271        type: http
272        behavior: classical
273        path: ./Rules/Global.yaml
274        url: https://gh.chjina.com/https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/ProxyGFWlist.yaml
275        interval: 86400
276    China:
277        type: http
278        behavior: classical
279        path: ./Rules/China.yaml
280        url: https://gh.chjina.com/https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/ChinaDomain.yaml
281        interval: 86400
282    ChinaIp:
283        type: http
284        behavior: ipcidr
285        path: ./Rules/ChinaIp.yaml
286        url: https://gh.chjina.com/https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/ChinaIp.yaml
287        interval: 86400
288    Speedtest:
289        type: http
290        behavior: classical
291        path: ./Rules/Speedtest.yaml
292        url: url
293        interval: 86400
294    CustomGlobal:
295        type: http
296        behavior: classical
297        path: ./Rules/CustomGlobal.yaml
298        url: url
299        interval: 86400
300    CustomChina:
301        type: http
302        behavior: classical
303        path: ./Rules/CustomChina.yaml
304        url: url
305        interval: 86400
306    LocalAreaNetwork:
307        type: http
308        behavior: classical
309        path: ./Rules/LocalAreaNetwork.yaml
310        url: https://gh.chjina.com/https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/LocalAreaNetwork.yaml
311        interval: 86400
312    NeteaseAndroid:
313        type: http
314        behavior: classical
315        path: ./Rules/NeteaseAndroid.yaml
316        url: https://gh.chjina.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/NetEaseMusic/NetEaseMusic_No_Resolve.yaml
317        interval: 86400
318    CustomNeteaseAndroid:
319        type: http
320        behavior: classical
321        path: ./Rules/CustomNeteaseAndroid.yaml
322        url: url
323        interval: 86400
324
325# 规则
326rules:
327    # 网易云音乐APP
328    - PROCESS-NAME,cloudmusic.exe,🎵网易云
329    - PROCESS-NAME,com.netease.cloudmusic,🎵网易云
330    - RULE-SET,NeteaseAndroid,🎵网易云
331    - RULE-SET,CustomNeteaseAndroid,🎵网易云
332    # 代理服务器
333    - PROCESS-NAME,Clash.exe,DIRECT
334    - PROCESS-NAME,xray.exe,DIRECT
335    - PROCESS-NAME,wv2ray.exe,DIRECT
336    - PROCESS-NAME,v2ray.exe,DIRECT
337
338    - RULE-SET,CustomChina,🍪国内服务
339    - RULE-SET,CustomGlobal,🚀国际服务
340    - RULE-SET,Speedtest,💤测速
341    - RULE-SET,ChinaMedia,🍪国内服务
342    - RULE-SET,China,🍪国内服务
343    - RULE-SET,GlobalMedia,🚀国际服务
344    - RULE-SET,Global,🚀国际服务
345
346    ############## IP规则 ##################
347
348    # 家庭局域网
349    - IP-CIDR,192.168.2.0/24,🏠回家
350    # Local Area Network
351    - RULE-SET,LocalAreaNetwork,DIRECT
352    # 使用来自 ipipdotnet 的 ChinaIp 以解决数据不准确的问题,使用 ChinaIp.yaml 时可禁用下列直至(包括)「GEOIP,CN」规则
353    - RULE-SET,ChinaIp,🍪国内服务
354    # GeoIP China
355    # - GEOIP,CN,DIRECT
356    - MATCH,🐟默认

Rules

1. RuleCustomGlobal.yaml

 1payload:
 2    - DOMAIN-SUFFIX,yugogo.xyz
 3    - DOMAIN-SUFFIX,celsoazevedo.com
 4    - DOMAIN-SUFFIX,typora.io
 5    - DOMAIN-SUFFIX,chocolatey.org
 6    - DOMAIN-SUFFIX,yandex.com
 7    - DOMAIN-SUFFIX,github.io
 8    - DOMAIN-SUFFIX,githubapp.com
 9    - DOMAIN-SUFFIX,vmware.com
10    - DOMAIN-SUFFIX,v2fly.org
11    - DOMAIN-SUFFIX,telegram.me
12    - DOMAIN-SUFFIX,t.me
13    - DOMAIN-SUFFIX,githubassets.com
14    - DOMAIN-SUFFIX,v2ex.com
15    - DOMAIN-SUFFIX,githubusercontent.com
16    - DOMAIN-SUFFIX,apkpure.com
17    - DOMAIN-SUFFIX,doubiyunbackup.com
18    - DOMAIN-SUFFIX,repo.maven.apache.org
19    - DOMAIN-SUFFIX,google.com
20    - DOMAIN-SUFFIX,bitbucket.org
21    - DOMAIN-SUFFIX,github.com
22    - DOMAIN-SUFFIX,github-production-release-asset-2e65be.s3.amazonaws.com
23    - DOMAIN-SUFFIX,homebrew.bintray.com
24    - DOMAIN-SUFFIX,jetbrains.com
25    - DOMAIN-SUFFIX,download.docker.com
26    - DOMAIN-SUFFIX,s3.amazonaws.com
27    - DOMAIN-SUFFIX,atlassian.com
28    - DOMAIN-SUFFIX,downloads.vivaldi.com
29    - DOMAIN-SUFFIX,panic.com
30    - DOMAIN-SUFFIX,fatcatsoftware.com
31    - DOMAIN-SUFFIX,freedownloadmanager.org
32    - DOMAIN-SUFFIX,vo.msecnd.net
33    - DOMAIN-SUFFIX,zeroturnaround.com
34    - DOMAIN-SUFFIX,graphviz.org
35    - DOMAIN-SUFFIX,dl.iina.io
36    - DOMAIN-SUFFIX,softs.fun
37    - DOMAIN-SUFFIX,wireshark.org
38    - DOMAIN-SUFFIX,atom.io
39    - DOMAIN-SUFFIX,maven.apache.org
40    - DOMAIN-SUFFIX,233v2.com
41    - DOMAIN-SUFFIX,sentry.io
42    - DOMAIN-SUFFIX,nvidia.cn
43    - DOMAIN-SUFFIX,inter.com
44    - DOMAIN-SUFFIX,stackoverflow.com
45    - DOMAIN-SUFFIX,freenom.com
46    - DOMAIN-SUFFIX,thepiratebay.org
47    - DOMAIN-SUFFIX,killcovid2021.com

2. RuleLocalAreaIP.yaml

 1payload:
 2    # 本地/局域网地址
 3    # 参考:https://en.wikipedia.org/wiki/Reserved_IP_addresses
 4
 5    # ACL4SSR标志 如没有,代表不是用ACL4SSR规则
 6    - DOMAIN-SUFFIX,acl4.ssr
 7
 8    # 本地/局域网地址
 9    - DOMAIN-SUFFIX,ip6-localhost
10    - DOMAIN-SUFFIX,ip6-loopback
11    - DOMAIN-SUFFIX,lan
12    - DOMAIN-SUFFIX,local
13    - DOMAIN-SUFFIX,localhost
14    - IP-CIDR,0.0.0.0/8,no-resolve
15    - IP-CIDR,10.0.0.0/8,no-resolve
16    - IP-CIDR,100.64.0.0/10,no-resolve
17    - IP-CIDR,127.0.0.0/8,no-resolve
18    - IP-CIDR,172.16.0.0/12,no-resolve
19    - IP-CIDR,192.168.0.0/16,no-resolve
20    - IP-CIDR,198.18.0.0/16,no-resolve
21    - IP-CIDR,224.0.0.0/4,no-resolve
22    - IP-CIDR6,::1/128,no-resolve
23    - IP-CIDR6,fc00::/7,no-resolve
24    - IP-CIDR6,fe80::/10,no-resolve
25    - IP-CIDR6,fd00::/8,no-resolve
26
27    # Router managed 路由器管理域名
28    - DOMAIN,instant.arubanetworks.com
29    - DOMAIN,setmeup.arubanetworks.com
30    - DOMAIN,router.asus.com
31    - DOMAIN,www.asusrouter.com
32    - DOMAIN-SUFFIX,hiwifi.com
33    - DOMAIN-SUFFIX,leike.cc
34    - DOMAIN-SUFFIX,miwifi.com
35    - DOMAIN-SUFFIX,my.router
36    - DOMAIN-SUFFIX,p.to
37    - DOMAIN-SUFFIX,peiluyou.com
38    - DOMAIN-SUFFIX,phicomm.me
39    - DOMAIN-SUFFIX,router.ctc
40    - DOMAIN-SUFFIX,routerlogin.com
41    - DOMAIN-SUFFIX,tendawifi.com
42    - DOMAIN-SUFFIX,zte.home
43    - DOMAIN-SUFFIX,tplogin.cn
44    - DOMAIN-SUFFIX,wifi.cmcc

3. RuleNeteaseAndroid.yaml

  1payload:
  2    # Netease Music
  3    - DOMAIN,apm3.music.163.com
  4    - DOMAIN,apm.music.163.com
  5    - DOMAIN,interface3.music.163.com
  6    - DOMAIN,interface3.music.163.com.163jiasu.com
  7    - DOMAIN,interface.music.163.com
  8    - DOMAIN,music.163.com
  9    - IP-CIDR,39.105.63.80/32,no-resolve
 10    - IP-CIDR,39.105.175.128/32,no-resolve
 11    - IP-CIDR,45.254.48.1/32,no-resolve
 12    - IP-CIDR,45.254.48.2/32,no-resolve
 13    - IP-CIDR,47.100.127.239/32,no-resolve
 14    - IP-CIDR,59.111.19.33/32,no-resolve
 15    - IP-CIDR,59.111.160.195/32,no-resolve
 16    - IP-CIDR,59.111.160.197/32,no-resolve
 17    - IP-CIDR,59.111.181.35/32,no-resolve
 18    - IP-CIDR,59.111.181.38/32,no-resolve
 19    - IP-CIDR,59.111.181.60/32,no-resolve
 20    - IP-CIDR,101.71.154.241/32,no-resolve
 21    - IP-CIDR,101.71.154.243/32,no-resolve
 22    - IP-CIDR,103.126.92.132/32,no-resolve
 23    - IP-CIDR,103.126.92.133/32,no-resolve
 24    - IP-CIDR,112.13.119.17/32,no-resolve
 25    - IP-CIDR,112.13.119.18/32,no-resolve
 26    - IP-CIDR,112.13.122.1/32,no-resolve
 27    - IP-CIDR,112.13.122.4/32,no-resolve
 28    - IP-CIDR,115.236.118.33/32,no-resolve
 29    - IP-CIDR,115.236.118.34/32,no-resolve
 30    - IP-CIDR,115.236.121.1/32,no-resolve
 31    - IP-CIDR,115.236.121.4/32,no-resolve
 32    - IP-CIDR,118.24.63.156/32,no-resolve
 33    - IP-CIDR,120.226.43.98/32,no-resolve
 34    - IP-CIDR,120.226.43.99/32,no-resolve
 35    - IP-CIDR,125.44.162.194/32,no-resolve
 36    - IP-CIDR,125.44.162.222/32,no-resolve
 37    - IP-CIDR,182.92.170.253/32,no-resolve
 38    - IP-CIDR,183.134.54.31/32,no-resolve
 39    - IP-CIDR,183.134.54.33/32,no-resolve
 40    - IP-CIDR,193.112.159.225/32,no-resolve
 41    - IP-CIDR,223.252.199.66/32,no-resolve
 42    - IP-CIDR,223.252.199.67/32,no-resolve
 43    # 自定义
 44    - DOMAIN,ac.dun.163yun.com
 45    - DOMAIN,api.iplay.163.com
 46    - DOMAIN,api2.music.163.com
 47    - DOMAIN,apm3.music.163.com
 48    - DOMAIN,c.dun.163yun.com
 49    - DOMAIN,c.m.163.com
 50    - DOMAIN,clientlog3.music.163.com
 51    - DOMAIN,comment.api.163.com
 52    - DOMAIN,conf-darwin.xycdn.com
 53    - DOMAIN,d1.music.126.net
 54    - DOMAIN,d2.music.126.net
 55    - DOMAIN,d3.music.126.net
 56    - DOMAIN,d4.music.126.net
 57    - DOMAIN,d5.music.126.net
 58    - DOMAIN,d6.music.126.net
 59    - DOMAIN,da.dun.163.com
 60    - DOMAIN,da.qiyukf.com
 61    - DOMAIN,dy.163.com
 62    - DOMAIN,gslb.live.126.net
 63    - DOMAIN,iadmat.nosdn.127.net
 64    - DOMAIN,iadmusicmat.music.126.net
 65    - DOMAIN,iadmusicmatvideo.music.126.net
 66    - DOMAIN,interface.music.163.com
 67    - DOMAIN,interface3.music.163.com
 68    - DOMAIN,interface3.music.163.com.163jiasu.com
 69    - DOMAIN,ipservice.ws.126.net
 70    - DOMAIN,lbs.netease.im
 71    - DOMAIN,login.sina.com.cn
 72    - DOMAIN,m7.music.126.net
 73    - DOMAIN,m701.music.126.net
 74    - DOMAIN,m702.music.126.net
 75    - DOMAIN,m705.music.126.net
 76    - DOMAIN,m8.music.126.net
 77    - DOMAIN,m801.music.126.net
 78    - DOMAIN,m802.music.126.net
 79    - DOMAIN,m805.music.126.net
 80    - DOMAIN,mam.netease.com
 81    - DOMAIN,mam6.netease.com
 82    - DOMAIN,nstool.netease.com
 83    - DOMAIN,p0.ssl.img.360kuai.com
 84    - DOMAIN,p1.music.126.net
 85    - DOMAIN,p101.music.126.net
 86    - DOMAIN,p2.music.126.net
 87    - DOMAIN,p3.music.126.net
 88    - DOMAIN,p4.music.126.net
 89    - DOMAIN,p5.music.126.net
 90    - DOMAIN,p6.music.126.net
 91    - DOMAIN,s1.music.126.net
 92    - DOMAIN,s6.music.126.net
 93    - DOMAIN,sdk1xyajs.data.p2cdn.com
 94    - DOMAIN,st.music.163.com
 95    - DOMAIN,sta-op.douyucdn.cn
 96    - DOMAIN,vodkgeyttp8.vod.126.net
 97    - DOMAIN,vodkgeyttp9.vod.126.net
 98    - DOMAIN,www.m701.music.126.net
 99    - IP-CIDR,39.105.63.80/32,no-resolve
100    - IP-CIDR,39.105.175.128/32,no-resolve
101    - IP-CIDR,45.254.48.2/32,no-resolve
102    - IP-CIDR,47.100.127.239/32,no-resolve
103    - IP-CIDR,54.223.118.211/32,no-resolve
104    - IP-CIDR,59.111.19.33/32,no-resolve
105    - IP-CIDR,59.111.36.167/32,no-resolve
106    - IP-CIDR,59.111.160.195/32,no-resolve
107    - IP-CIDR,59.111.160.197/32,no-resolve
108    - IP-CIDR,59.111.179.213/32,no-resolve
109    - IP-CIDR,59.111.179.214/32,no-resolve
110    - IP-CIDR,59.111.210.180/32,no-resolve
111    - IP-CIDR,59.111.239.61/32,no-resolve
112    - IP-CIDR,59.111.239.62/32,no-resolve
113    - IP-CIDR,60.169.6.91/32,no-resolve
114    - IP-CIDR,60.169.6.100/32,no-resolve
115    - IP-CIDR,61.184.215.69/32,no-resolve
116    - IP-CIDR,61.184.215.74/32,no-resolve
117    - IP-CIDR,101.71.154.243/32,no-resolve
118    - IP-CIDR,106.14.12.130/32,no-resolve
119    - IP-CIDR,115.236.118.34/32,no-resolve
120    - IP-CIDR,115.236.121.4/32,no-resolve
121    - IP-CIDR,115.236.121.51/32,no-resolve
122    - IP-CIDR,115.236.121.195/32,no-resolve
123    - IP-CIDR,115.238.119.68/32,no-resolve
124    - IP-CIDR,118.24.63.156/32,no-resolve
125    - IP-CIDR,122.225.83.109/32,no-resolve
126    - IP-CIDR,122.225.83.110/32,no-resolve
127    - IP-CIDR,182.92.170.253/32,no-resolve
128    - IP-CIDR,183.134.34.249/32,no-resolve
129    - IP-CIDR,183.136.182.19/32,no-resolve
130    - IP-CIDR,193.112.159.225/32,no-resolve
131    - IP-CIDR,199.190.44.36/32,no-resolve
132    - IP-CIDR,223.242.32.32/32,no-resolve

PN532读卡器在手机上面添加加密卡

手头上有个小米6手机带全功能NFC,可以刷闪付,公交卡,或者模拟门卡。虽然手机软硬件都能支持模拟加密门卡,但是由于相关政策的原因,目前大多数手机,手环,都不能直接模拟加密门卡。那有没有什么办法模拟加密的门卡呢?答案当然是有的

记一次奇葩的网络故障

奇葩的网络故障

周末房间的无线网又不行了,以前也时有发生,但是从来没有研究过是为什么,一般过一两天就好了。也不是不想去找出故障,主要的原因是目前的网络是房东提供的宽带,房东有个大路由器放在弱电箱拨号,然后LAN口拉出网线到各个房间给我们租客使用,我再把这个网线接到自己的无线路由器WAN口上,发射wifi,方便手机电脑使用。网络不行一般都是房东的宽带问题,看到那一团乱麻的弱电箱,我也没有宽带账号和房东路由的管理权,着实也没有办法,只有等待。索性每次等待时间无需太久,一般一两天就好了