Profiles/Surge/Inbound.conf

66 lines
1.7 KiB
Plaintext
Raw Normal View History

2020-04-21 19:45:30 +08:00
[General]
2021-03-08 21:58:41 +08:00
# 通用设置
# > TLS 引擎
tls-provider = openssl
# > 自定义 GeoIP 数据库
geoip-maxmind-url = https://raw.githubusercontent.com/JMVoid/ipip2mmdb/release/Country.mmdb
# > IPv6 支持(默认关闭)
2020-04-21 19:45:30 +08:00
ipv6 = false
2021-03-08 21:58:41 +08:00
# > 允许 Wi-Fi 访问 (仅 iOS若允许远程访问将「false」改为「true」)
allow-wifi-access = false
wifi-access-http-port = 6152
wifi-access-socks5-port = 6153
# > 允许 Wi-Fi 访问 (仅 macOS若允许远程访问将「127.0.0.1」改为「0.0.0.0」)
http-listen = 127.0.0.1:6152
socks5-listen = 127.0.0.1:6153
# > 兼容模式 (仅 iOS)
# 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, passenger.t3go.cn
# > 排除简单主机名
exclude-simple-hostnames = true
# > DNS 服务器
dns-server = 1.0.0.1,8.8.8.8,system
# > 从 /etc/hosts 读取 DNS 记录
read-etc-hosts = true
# 高级设置
# > 日志级别
loglevel = notify
# > 当遇到 REJECT 策略时返回错误页
2020-04-21 19:45:30 +08:00
show-error-page-for-reject = true
2021-03-08 21:58:41 +08:00
# > Always Real IP Hosts
always-real-ip = msftconnecttest.com, msftncsi.com, *.msftconnecttest.com, *.msftncsi.com, *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com
2020-04-21 19:45:30 +08:00
[Replica]
2021-03-08 22:04:19 +08:00
hide-apple-request = 0
hide-crash-reporter-request = 1
hide-udp = 0
2020-04-21 19:45:30 +08:00
[Proxy]
🌐Direct = direct
Reject = reject
🌑Proxy = ss, 1.2.3.4, 443, encrypt-method=aes-128-gcm, password=password
[Proxy Group]
[Rule]
# StreamingCN 中国流媒体服务
RULE-SET,https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/StreamingMedia/StreamingCN.list,🌑Proxy
# Local Area Network 局域网
RULE-SET,LAN,🌐Direct
# GeoIP China
2021-04-09 17:12:00 +08:00
GEOIP,CN,🌑Proxy
2020-04-21 19:45:30 +08:00
FINAL,🌐Direct