Skip to content

Instantly share code, notes, and snippets.

@skyzh
Created February 25, 2017 04:33
Show Gist options
  • Save skyzh/f77f463cbf87ecab995337c314bf7bce to your computer and use it in GitHub Desktop.
Save skyzh/f77f463cbf87ecab995337c314bf7bce to your computer and use it in GitHub Desktop.
surge default config for direct
[General]
bypass-system = true
skip-proxy = 192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,localhost,*.local,e.crashlynatics.com,captive.apple.com
bypass-tun = 10.0.0.0/8,100.64.0.0/10,127.0.0.0/8,169.254.0.0/16,172.16.0.0/12,192.0.0.0/24,192.0.2.0/24,192.88.99.0/24,192.168.0.0/16,198.18.0.0/15,198.51.100.0/24,203.0.113.0/24,224.0.0.0/4,255.255.255.255/32
dns-server =
[Rule]
FINAL,DIRECT
[Host]
localhost = 127.0.0.1
[URL Rewrite]
^http://(www.)?g.cn https://www.google.com header
^http://(www.)?google.cn https://www.google.com header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment