mirror of
https://github.com/DivineEngine/Profiles.git
synced 2025-02-09 07:32:41 +08:00
🚩 注释及高级设置更新
This commit is contained in:
parent
1148b6d8fd
commit
21892cf793
@ -6,8 +6,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
[general]
|
[general]
|
||||||
; 节点信息
|
; Quantumult 使用 HTTP HEAD 方法对测试网址 server_check_url 进行网页响应性测试(测试结果为通过该节点访问此网页获得 HTTP 响应所需要的时间),来确认节点的可用性。
|
||||||
geo_location_checker=http://ip-api.com/json/?lang=zh-CN, https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/IP_API.js
|
server_check_url=http://cp.cloudflare.com/generate_204
|
||||||
; DNS 排除列表
|
; DNS 排除列表
|
||||||
dns_exclusion_list = *.cmpassport.com, *.jegotrip.com.cn, *.icitymobile.mobi, *.pingan.com.cn, *.cmbchina.com, *.localnetwork.uop
|
dns_exclusion_list = *.cmpassport.com, *.jegotrip.com.cn, *.icitymobile.mobi, *.pingan.com.cn, *.cmbchina.com, *.localnetwork.uop
|
||||||
|
|
||||||
@ -101,6 +101,8 @@ final, Final
|
|||||||
|
|
||||||
[rewrite_local]
|
[rewrite_local]
|
||||||
|
|
||||||
|
[task_local]
|
||||||
|
|
||||||
[mitm]
|
[mitm]
|
||||||
;hostname = *.googlevideo.com
|
;hostname = *.googlevideo.com
|
||||||
skip_validating_cert = true
|
skip_validating_cert = true
|
@ -1,29 +1,96 @@
|
|||||||
|
# 除了注释建议浏览官方手册(https://manual.nssurge.com/)、帮助中心(https://nssurge.zendesk.com/)以及技术社区(https://community.nssurge.com)
|
||||||
|
|
||||||
[General]
|
[General]
|
||||||
# 日志级别
|
# ---(通用)---
|
||||||
loglevel = notify
|
# 延迟测试
|
||||||
# IPv6 支持(关闭)
|
# > Internet 测试 URL
|
||||||
ipv6 = false
|
internet-test-url = http://www.aliyun.com
|
||||||
# 跳过代理
|
# > 代理测速 URL
|
||||||
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, 127.0.0.1, localhost, *.local, *.localnetwork.uop
|
proxy-test-url = http://cp.cloudflare.com/generate_204
|
||||||
# 当遇到 REJECT 策略时返回错误页
|
# > 测试超时(秒)
|
||||||
show-error-page-for-reject = true
|
# test-timeout = 5
|
||||||
# DNS服务器
|
|
||||||
dns-server = 119.29.29.29,223.5.5.5,system
|
|
||||||
# TLS 引擎
|
# TLS 引擎
|
||||||
tls-provider = openssl
|
tls-provider = openssl
|
||||||
|
# IPv6 支持(关闭)
|
||||||
|
ipv6 = false
|
||||||
|
# ------
|
||||||
|
|
||||||
# Surge Mac 路由模式特殊设备兼容说明:https://nssurge.zendesk.com/hc/zh-cn/articles/900000208886-Surge-Mac-路由模式特殊设备兼容说明
|
# ---(Wi-Fi 访问)---
|
||||||
|
allow-wifi-access = false
|
||||||
|
wifi-access-http-port = 6152
|
||||||
|
wifi-access-socks5-port = 6153
|
||||||
|
# ------
|
||||||
|
|
||||||
|
# ---(远程控制器)---
|
||||||
|
# 允许 Surge 请求查看器或 Surge CLI 进行管理控制。
|
||||||
|
# 如果允许由 Wi-Fi 控制则将「127.0.0.1」修改为「0.0.0.0」
|
||||||
|
# external-controller-access = password@127.0.0.1:6170
|
||||||
|
# ------
|
||||||
|
|
||||||
|
# ---(兼容性)---
|
||||||
|
# 兼容模式
|
||||||
|
# compatibility-mode = 0
|
||||||
|
# 跳过代理
|
||||||
|
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, localhost, *.local, *.localnetwork.uop
|
||||||
|
# SSID 组策略
|
||||||
|
# 当 Wi-Fi 不是首选网络时 SSID 组策略使用默认策略(仅 macOS 版)
|
||||||
|
use-default-policy-if-wifi-not-primary = false
|
||||||
|
# ------
|
||||||
|
|
||||||
|
# ---(DNS 服务器)---
|
||||||
|
dns-server = 119.29.29.29,223.5.5.5,system
|
||||||
|
# ------
|
||||||
|
|
||||||
|
# ---(实验性功能)---
|
||||||
|
# 使用 Network framework
|
||||||
|
# network-framework = true
|
||||||
|
# ------
|
||||||
|
|
||||||
|
# ---(高级)---
|
||||||
|
# 日志级别
|
||||||
|
loglevel = notify
|
||||||
|
|
||||||
|
# 当遇到 REJECT 策略时返回错误页
|
||||||
|
show-error-page-for-reject = true
|
||||||
|
|
||||||
|
# Always Real IP Hosts
|
||||||
|
# 当 Surge VIF 处理 DNS 问题时,此选项要求 Surge 返回一个真正的 IP 地址,而不是一个假 IP 地址。
|
||||||
|
# DNS 数据包将被转发到上游 DNS 服务器。
|
||||||
|
always-real-ip = msftconnecttest.com, msftncsi.com, *.msftconnecttest.com, *.msftncsi.com, *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com
|
||||||
|
|
||||||
|
# Hijack DNS
|
||||||
|
# 默认情况下,Surge 只返回发送到 Surge DNS 地址的 DNS 查询的假 IP 地址(198.18.0.2)。
|
||||||
|
# 有些设备或软件总是使用硬编码的 DNS 服务器。 (例如 Google Speakers 总是使用 8.8.8.8)。 您可以使用此选项劫持查询,以获得一个假地址。
|
||||||
# hijack-dns = 8.8.8.8:53, 8.8.4.4:53
|
# hijack-dns = 8.8.8.8:53, 8.8.4.4:53
|
||||||
# always-real-ip = *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com
|
|
||||||
|
|
||||||
|
# TCP Force HTTP Hosts
|
||||||
|
# 让 Surge 把 TCP 连接当作 HTTP 请求来处理。Surge HTTP 引擎将处理这些请求,所有的高级功能,如捕获、重写和脚本等都可以使用。
|
||||||
force-http-engine-hosts = 123.59.31.1,119.18.193.135,122.14.246.33,175.102.178.52
|
force-http-engine-hosts = 123.59.31.1,119.18.193.135,122.14.246.33,175.102.178.52
|
||||||
|
|
||||||
|
# VIF Excluded Routes
|
||||||
|
# Surge VIF 只能处理 TCP 和 UDP 协议。使用此选项可以绕过特定的 IP 范围,允许所有流量通过。
|
||||||
|
# tun-excluded-routes = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
|
||||||
|
|
||||||
|
# VIF Included Routes
|
||||||
|
# 默认情况下,Surge VIF 接口会声明自己是默认路由。但是,由于 Wi-Fi 接口的路由较小,有些流量可能不会通过 Surge VIF 接口。使用此选项可以添加一条较小的路由。
|
||||||
|
# tun-included-routes = 192.168.1.12/32
|
||||||
|
# ------
|
||||||
|
|
||||||
[Replica]
|
[Replica]
|
||||||
|
# ---(实验性功能)---
|
||||||
|
# 0 为关闭,1 为开启
|
||||||
|
# > 隐藏 Apple 请求
|
||||||
hide-apple-request=0
|
hide-apple-request=0
|
||||||
|
# > 隐藏 Crashlytics 请求
|
||||||
hide-crashlytics-request=1
|
hide-crashlytics-request=1
|
||||||
|
# > 隐藏 UDP 会话
|
||||||
hide-udp=0
|
hide-udp=0
|
||||||
keyword-filter-type=(null)
|
# > 关键词过滤器
|
||||||
keyword-filter=(null)
|
# none(关闭关键词过滤器) / whitelist(blacklist(仅记录包含关键字的请求)) / blacklist(仅记录不包含关键字的请求) / pattern(匹配通配符的请求)
|
||||||
|
# keyword-filter-type = none
|
||||||
|
# > 关键词
|
||||||
|
# keyword-filter = (null)
|
||||||
|
# ------
|
||||||
|
|
||||||
[Proxy]
|
[Proxy]
|
||||||
🌐Direct = direct
|
🌐Direct = direct
|
||||||
@ -44,9 +111,9 @@ keyword-filter=(null)
|
|||||||
# 防御
|
# 防御
|
||||||
🛡Guard = select,⛔️Reject,🌐Direct
|
🛡Guard = select,⛔️Reject,🌐Direct
|
||||||
# 可用性自动测试
|
# 可用性自动测试
|
||||||
🧯Fallback = fallback,🇺🇸LosSantos,🇨🇳TheHub,url = http://www.gstatic.com/generate_204
|
🧯Fallback = fallback,🇺🇸LosSantos,🇨🇳TheHub,url = http://cp.cloudflare.com/generate_204
|
||||||
# 延迟自动测试
|
# 延迟自动测试
|
||||||
🕹AutoTest = url-test,🦆DuckDuckGo,🇺🇸LosSantos,🇭🇰Sandbox,url = http://www.gstatic.com/generate_204
|
🕹AutoTest = url-test,🦆DuckDuckGo,🇺🇸LosSantos,🇭🇰Sandbox,url = http://cp.cloudflare.com/generate_204
|
||||||
# 冲鸭机场
|
# 冲鸭机场
|
||||||
🦆DuckDuckGo = select, policy-path=https://duckduckgo.security/user/sub.php?token=DivineEngine
|
🦆DuckDuckGo = select, policy-path=https://duckduckgo.security/user/sub.php?token=DivineEngine
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user