Skip to content

Instantly share code, notes, and snippets.

@plantvsbirds
Created January 14, 2016 01:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plantvsbirds/744c1dd5237f2310dae0 to your computer and use it in GitHub Desktop.
Save plantvsbirds/744c1dd5237f2310dae0 to your computer and use it in GitHub Desktop.
A Surge.app config for joyvm.com APN service
[General]
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, localhost, *.local
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
dns-server = 8.8.8.8, 8.8.4.4
loglevel = notify
[Proxy]
Proxy = http,proxy1.joyvm.info,34567
[Rule]
DOMAIN-KEYWORD,joyvm,Proxy,force-remote-dns
DOMAIN-SUFFIX,cn,DIRECT
DOMAIN-SUFFIX,qq.com,DIRECT
DOMAIN-SUFFIX,ls.apple.com,DIRECT
DOMAIN-SUFFIX,zhiimg.com,DIRECT
DOMAIN-SUFFIX,apple.com,Proxy
DOMAIN-KEYWORD,twitter,Proxy,force-remote-dns
DOMAIN-KEYWORD,gmail,Proxy,force-remote-dns
DOMAIN-KEYWORD,instagram,Proxy,force-remote-dns
IP-CIDR,91.108.56.0/22,Proxy
IP-CIDR,192.168.0.0/16,DIRECT
GEOIP,CN,DIRECT
FINAL,Proxy
@plantvsbirds
Copy link
Author

I don't want to ruin the config so I will post it here

  • You need to subscribe for VIP service at joyvm.com (super cheap)
  • From time to time you have to enter your joyvm.com credential at auth page
    (You don't for the most of the time, I usually have stable+long connection for hours)
  • You need a surge app too. I couldn't download legally due to removal of Surge from AppStore, I bought a shared iTunes account and I do feel bad about that.

There are some lines for optimization here. Pretty straight forward
BTW: lowering loglevel may improve performance. Didn't personally test it.
This script brings you to joyvm's Japan server. They may change anytime without notice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment