# 导入配置

打开 Surge，在「**首页**」左上角点击配置名 - 「**从 URL 下载配置**」，**将输入框清除干净后**，粘贴懒人配置链接。\
\
若无法下载请新建空白配置，将内容复制粘贴即可。\
常用配置（排名不分先后）：

**深巷有喵**: <https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Conf/Spec/Surge-Mini.conf>

全参数配置(仅作示例，不可使用）：<https://raw.githubusercontent.com/getsomecat/GetSomeCats/Surge/SurgePro.conf>

**Surge开发者推荐的中国区用户最小配置**: <https://community.nssurge.com/d/1214>

最小配置远程引用版（第三方仓库）：<https://gist.githubusercontent.com/Zeaphyou/864aebea248ca1bb8000e0e5623b65f3/raw/c36413c715f43f22772d3c2353358e1ff936b2e6/Surge.conf>

**注意Surge配置写法严格区分大小写**

```
[General]
skip-proxy = 192.168.0.0/24, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.1, localhost, *.local
exclude-simple-hostnames = true
internet-test-url = http://taobao.com/
proxy-test-url = http://www.apple.com/
test-timeout = 2
dns-server = 223.5.5.5, 114.114.114.114
# encrypted-dns-server = https://223.5.5.5/ // 除非当地 ISP 有严重的 DNS 污染问题，否则没必要开启 DoH，传统 DNS 的性能最优，网络异常后恢复速度最快
wifi-assist = true
ipv6 = false // 如无特殊需求不应开启 IPv6，目前网络环境下 IPv6 只会带来问题。

[Proxy Group]
Proxy = select, policy-path=机场订阅链接, update-interval=36000, no-alert=0, hidden=0, include-all-proxies=0, persistent=1

[Rule]
RULE-SET,https://github.com/Blankwonder/surge-list/raw/master/blocked.list,Proxy
RULE-SET,https://github.com/Blankwonder/surge-list/raw/master/cn.list,DIRECT
DOMAIN,apps.apple.com,Proxy
DOMAIN-SUFFIX,ls.apple.com,DIRECT // Apple Maps
DOMAIN-SUFFIX,store.apple.com,DIRECT // Apple Store Online
RULE-SET,SYSTEM,Proxy
RULE-SET,https://github.com/Blankwonder/surge-list/raw/master/apple.list,Proxy
# 以下规则将触发本地 DNS 解析
RULE-SET,LAN,DIRECT
GEOIP,CN,DIRECT
FINAL,Proxy,dns-failed

图片示例教程：
1、打开 Surge，在「首页」左上角点击配置名
```

![](/files/waULaTikjQlPIToLErgP)\
\
2、从 URL 下载配置\
![](/files/mggdYXJGzTQTEGV8AXQd)\
\
3、将输入框清除干净后，粘贴懒人配置链接。\
![](/files/gtsMRiDNd7kkWQkBzlJ1)\
\
4、点击完成\
![](/files/fLUk4U9CsCX0geIkfge7)\
\
5、打开配置列表，选择在文本模式中编辑\
![](/files/dBDTzyO5tLr45PMSrAeu)\
\
6、找到 **\[Proxy Group]**,在该模块下 所有 的<mark style="color:red;">**policy-path=**</mark>后填写你的机场订阅\
![](/files/VC3OblBfSmWRGXu4vX7f)\
\
7、保存配置，返回首页\
![](/files/dF3CznOtspWrYNgLP2Vc)\
\
8、长按更新外部资源\
![](/files/IlXjFVQBLuntE08gkED5)\
\
\
\ <br>

返回导航页面：[目录导航](/mu-lu-dao-hang.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.surge.community/basic/dao-ru-pei-zhi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
