Last active
April 11, 2021 11:27
-
-
Save GeekQu/1fd3e57f7760a037d457ad0837b2d2fc to your computer and use it in GitHub Desktop.
GeekQu/ss-panel-v3-mod-Uim 自定义 Surge 配置示例
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| IP-CIDR,192.168.50.0/24,🏠 HomeGroup,no-resolve | |
| # > Proxy | |
| PROCESS-NAME,ClashX,DIRECT | |
| PROCESS-NAME,v2ray,DIRECT | |
| PROCESS-NAME,ss-local,DIRECT | |
| # > Download | |
| PROCESS-NAME,aria2c,DIRECT | |
| PROCESS-NAME,fdm,DIRECT | |
| PROCESS-NAME,Folx,DIRECT | |
| PROCESS-NAME,NetTransport,DIRECT | |
| PROCESS-NAME,Thunder,DIRECT | |
| PROCESS-NAME,Transmission,DIRECT | |
| PROCESS-NAME,uTorrent,DIRECT | |
| PROCESS-NAME,WebTorrent,DIRECT | |
| PROCESS-NAME,WebTorrent Helper,DIRECT | |
| # 隐私追踪保护 | |
| # > Exclusions | |
| DOMAIN,analytics.google.com,🍃 PROXY | |
| DOMAIN,analyticsinsights-pa.googleapis.com,🍃 PROXY | |
| DOMAIN,analyticsreporting.googleapis.com,🍃 PROXY | |
| DOMAIN,api.dizhensubao.igexin.com,DIRECT | |
| DOMAIN-SUFFIX,vd.l.qq.com,DIRECT | |
| # Hijacking Protection 反运营商及臭名昭著的应用劫持保护 | |
| RULE-SET,https://raw.githubusercontent.com/ConnersHua/Profiles/master/Surge/Ruleset/Hijacking.list,🚫 Hijacking | |
| # ForeignMedia 媒体应用(Youtube、Netflix、HBO、Hulu、BBC iPlayer、Bahamut、myTV SUPER、AbemaTV、encoreTVB、PBS、Amazon Prime Video、Spotify、Pandora 和 JOOX) | |
| RULE-SET,https://raw.githubusercontent.com/ConnersHua/Profiles/master/Surge/Ruleset/ForeignMedia.list,🌍 ForeignMedia | |
| # DomesticMedia 媒体应用(愛奇藝台灣站、bilibili 港澳台限定) | |
| RULE-SET,https://raw.githubusercontent.com/ConnersHua/Profiles/master/Surge/Ruleset/DomesticMedia.list,🇨🇳 DomesticMedia | |
| # Global 全球加速规则 | |
| RULE-SET,https://raw.githubusercontent.com/ConnersHua/Profiles/master/Surge/Ruleset/Global.list,🍃 PROXY | |
| # Telegram | |
| RULE-SET,https://raw.githubusercontent.com/ConnersHua/Profiles/master/Surge/Ruleset/Telegram.list,🍃 PROXY | |
| # Apple 部分服务加速(App Store、Movies、Music) | |
| RULE-SET,https://raw.githubusercontent.com/ConnersHua/Profiles/master/Surge/Ruleset/Apple.list,🍎 Apple | |
| # China 中国直连规则 | |
| RULE-SET,https://raw.githubusercontent.com/ConnersHua/Profiles/master/Surge/Ruleset/China.list,DIRECT | |
| # Local Area Network | |
| RULE-SET,LAN,DIRECT | |
| # GeoIP China | |
| GEOIP,CN,DIRECT | |
| FINAL,☁️ Final,dns-failed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # GeekQu/ss-panel-v3-mod-Uim 自定义 Surge 配置示例 | |
| --- | |
| General: | |
| loglevel: notify | |
| dns-server: system, 117.50.10.10, 119.29.29.29, 223.6.6.6 | |
| skip-proxy: 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, | |
| 17.0.0.0/8, localhost, *.local, *.crashlytics.com | |
| external-controller-access: [email protected]:8233 | |
| allow-wifi-access: 'true' | |
| enhanced-mode-by-rule: 'false' | |
| exclude-simple-hostnames: 'true' | |
| show-error-page-for-reject: 'true' | |
| ipv6: 'true' | |
| replica: 'false' | |
| http-listen: 0.0.0.0:8234 | |
| socks5-listen: 0.0.0.0:8235 | |
| wifi-access-http-port: 6152 | |
| wifi-access-socks5-port: 6153 | |
| internet-test-url: http://baidu.com | |
| proxy-test-url: http://www.qualcomm.cn/generate_204 | |
| test-timeout: 3 | |
| Proxy: # 添加额外节点,但请注意,ProxyGroup 中所有的筛选并不会获取此处提供的额外节点 | |
| - "🚀 Direct = direct" | |
| - Home = ss, home.com, 8888, encrypt-method=chacha20-ietf-poly1305, password=123456789 | |
| ProxyGroup: | |
| - name: "🍃 PROXY" | |
| type: select | |
| content: | |
| left-proxies: | |
| - '🇭🇰 香港' | |
| - '🇯🇵 日本' | |
| - '🇸🇬 坡坡' | |
| - '🇨🇳 台湾' | |
| - '🇺🇸 美国' | |
| - '🇰🇷 韩国' | |
| - '🇨🇳 中继' | |
| - name: "🌍 ForeignMedia" | |
| type: select | |
| content: | |
| left-proxies: | |
| - "🍃 PROXY" | |
| - '🇭🇰 香港' | |
| - '🇯🇵 日本' | |
| - '🇸🇬 坡坡' | |
| - '🇨🇳 台湾' | |
| - '🇺🇸 美国' | |
| - '🇰🇷 韩国' | |
| - '🇨🇳 中继' | |
| - name: "🇨🇳 DomesticMedia" | |
| type: select | |
| content: | |
| left-proxies: | |
| - "🚀 Direct" | |
| - "🍃 PROXY" | |
| - '🇨🇳 中继' | |
| - name: "🍎 Apple" | |
| type: select | |
| content: | |
| left-proxies: | |
| - "🚀 Direct" | |
| - "🍃 PROXY" | |
| - name: "☁️ Final" | |
| type: select | |
| content: | |
| left-proxies: | |
| - "🍃 PROXY" | |
| - "🚀 Direct" | |
| - name: '🇭🇰 香港' | |
| type: url-test | |
| content: # 从 3 级的节点中筛选香港节点 | |
| class: 3 | |
| regex: '(香港)' | |
| url: http://www.qualcomm.cn/generate_204 | |
| interval: 3600 | |
| - name: '🇯🇵 日本' | |
| type: url-test | |
| content: # 从非 0 级的节点中筛选日本节点 | |
| noclass: 0 | |
| regex: '(日本)' | |
| url: http://www.qualcomm.cn/generate_204 | |
| interval: 3600 | |
| - name: '🇸🇬 坡坡' | |
| type: url-test | |
| content: # 从所有节点中筛选新加坡节点 | |
| regex: '(新加坡)' | |
| url: http://www.qualcomm.cn/generate_204 | |
| interval: 3600 | |
| - name: '🇺🇸 美国' | |
| type: url-test | |
| content: | |
| regex: '(美国)' | |
| url: http://www.qualcomm.cn/generate_204 | |
| interval: 3600 | |
| - name: '🇨🇳 台湾' | |
| type: url-test | |
| content: | |
| regex: '(台湾)' | |
| url: http://www.qualcomm.cn/generate_204 | |
| interval: 3600 | |
| - name: '🇰🇷 韩国' | |
| type: url-test | |
| content: # 从所有节点中筛选韩国节点,并在最后加上 right-proxies 中的节点 | |
| regex: '(韩国)' | |
| right-proxies: | |
| - '韩国 1' | |
| - '韩国 2' | |
| url: http://www.qualcomm.cn/generate_204 | |
| interval: 3600 | |
| - name: '🇨🇳 中继' | |
| type: url-test | |
| content: | |
| regex: '(中国|回国)' | |
| url: http://www.qualcomm.cn/generate_204 | |
| interval: 3600 | |
| - name: "🚫 Hijacking" | |
| type: select | |
| content: | |
| left-proxies: | |
| - DIRECT | |
| - REJECT-TINYGIF | |
| - name: "🏠 HomeGroup" | |
| type: ssid | |
| default: Home | |
| content: | |
| Home: DIRECT | |
| Home_5G: DIRECT | |
| Rule: | |
| # 加载远程规则,仅支持一个远程规则 | |
| source: https://gist.github.com/GeekQu/1fd3e57f7760a037d457ad0837b2d2fc/raw/Rule.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello, 这个 surge.yaml 文件的连接能直接用吗?为什么我直接用这个文件的连接拼接在托管配置的后面会显示 解析失败呢……
我用的连接形式是:[官网surge 托管配置连接]&source=[surge.yaml文件链接]
能帮忙解答一下吗?