Skip to content

Instantly share code, notes, and snippets.

[General]
# warning, notify, info, verbose
external-controller-access = apw@0.0.0.0:6155
interface = 0.0.0.0
port = 8888
socks-port = 8889
ipv6 = 0
bypass-system = 1
dns-server = system, 223.5.5.5, 114.114.114.114, 119.29.29.29
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
# 规则配置仅供参考,适用于 Surge Mac (1.3.2) 及其后续版本;
# 包含 Proxy Group、URL Rewrite 特性;
# 包含 Reject 规则,用于拦截广告、行为分析、数据统计;
# 屏蔽 Hao123、百度联盟广告以及部分运营商网页漂浮广告;
# Surge for Mac 简明指南 http://bit.ly/1TATRaG
[General]
# warning, notify, info, verbose
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
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
loglevel = notify