Skip to content

Instantly share code, notes, and snippets.

@johnnymillergh
Last active March 3, 2025 09:18
Show Gist options
  • Save johnnymillergh/24751615584e72420715bc84a18f8c67 to your computer and use it in GitHub Desktop.
Save johnnymillergh/24751615584e72420715bc84a18f8c67 to your computer and use it in GitHub Desktop.
V2ray Configuration
===== Domain =====
geosite:google,
geosite:apple,
geosite:microsoft,
geosite:facebook,
geosite:twitter,
geosite:telegram,
geosite:geolocation-!cn,
geosite:tld-!cn,
domain:github.com,
domain:gitlab.com,
domain:travis.com,
domain:linkedin.com,
domain:bing.com,
domain:services.gradle.org,
domain:gradle.org,
domain:downloads.gradle-dn.com,
domain:wikihow.com,
domain:jetbrains.com
===== IP =====
geoip:telegram
===== Domain =====
geosite:cn,
domain:office365.com,
domain:zaouter.com,
domain:in.za,
domain:zhonganonline.com,
domain:teams.microsoft.com,
domain:teams.events.data.microsoft.com,
domain:zatech.com,
domain:https://internal-aia-tm-alb-lan-boom-79939012.ap-southeast-1.elb.amazonaws.com,
domain:alphazebra.io
===== IP =====
geoip:private,
geoip:cn
===== Domain =====
geosite:category-ads-all
{
"logEnabled": false,
"loglevel": "warning",
"indexId": "4719886124682985792",
"muxEnabled": true,
"sysProxyType": 1,
"enableStatistics": true,
"keepOlderDedupl": false,
"statisticsFreshRate": 1,
"remoteDNS": "",
"domainStrategy4Freedom": "",
"defAllowInsecure": false,
"domainStrategy": "IPIfNonMatch",
"domainMatcher": "linear",
"routingIndex": 0,
"enableRoutingAdvanced": true,
"ignoreGeoUpdateCore": false,
"systemProxyExceptions": "",
"systemProxyAdvancedProtocol": "",
"autoUpdateInterval": 0,
"autoUpdateSubInterval": 0,
"checkPreReleaseUpdate": false,
"enableSecurityProtocolTls13": true,
"trayMenuServersLimit": 30,
"inbound": [
{
"localPort": 10808,
"protocol": "socks",
"udpEnabled": true,
"sniffingEnabled": true,
"allowLANConn": true,
"user": "",
"pass": ""
}
],
"vmess": [
{
"indexId": "5187782128116555833",
"configType": 1,
"configVersion": 2,
"sort": 0,
"address": "sg12.netv2.work",
"port": 443,
"id": "2f3ef7c2-bda6-a955-ef77-932c053d094a",
"alterId": 2,
"security": "auto",
"network": "tcp",
"remarks": "新加坡12",
"headerType": "None",
"requestHost": "",
"path": "",
"streamSecurity": "tls",
"allowInsecure": "False",
"testResult": " 90ms",
"subid": "4612962011312510326",
"flow": "",
"sni": "",
"alpn": [],
"groupId": "",
"coreType": null,
"preSocksPort": 0,
"fingerprint": null
},
{
"indexId": "5495892606699456281",
"configType": 1,
"configVersion": 2,
"sort": 0,
"address": "sg11.netv2.work",
"port": 443,
"id": "2f3ef7c2-bda6-a955-ef77-932c053d094a",
"alterId": 2,
"security": "auto",
"network": "tcp",
"remarks": "新加坡11",
"headerType": "None",
"requestHost": "",
"path": "",
"streamSecurity": "tls",
"allowInsecure": "False",
"testResult": "Timeout",
"subid": "4612962011312510326",
"flow": "",
"sni": "",
"alpn": [],
"groupId": "",
"coreType": null,
"preSocksPort": 0,
"fingerprint": null
},
{
"indexId": "5691627764305411324",
"configType": 1,
"configVersion": 2,
"sort": 0,
"address": "sg21.netv2.work",
"port": 443,
"id": "2f3ef7c2-bda6-a955-ef77-932c053d094a",
"alterId": 2,
"security": "auto",
"network": "tcp",
"remarks": "新加坡21【支持Netflix】",
"headerType": "None",
"requestHost": "",
"path": "",
"streamSecurity": "tls",
"allowInsecure": "False",
"testResult": " 87ms",
"subid": "4612962011312510326",
"flow": "",
"sni": "",
"alpn": [],
"groupId": "",
"coreType": null,
"preSocksPort": 0,
"fingerprint": null
},
{
"indexId": "4719886124682985792",
"configType": 1,
"configVersion": 2,
"sort": 0,
"address": "usa11.netv2.work",
"port": 443,
"id": "2f3ef7c2-bda6-a955-ef77-932c053d094a",
"alterId": 2,
"security": "auto",
"network": "tcp",
"remarks": "美国11",
"headerType": "None",
"requestHost": "",
"path": "",
"streamSecurity": "tls",
"allowInsecure": "False",
"testResult": " 91ms",
"subid": "4612962011312510326",
"flow": "",
"sni": "",
"alpn": [],
"groupId": "",
"coreType": null,
"preSocksPort": 0,
"fingerprint": null
},
{
"indexId": "5492420836323558981",
"configType": 1,
"configVersion": 2,
"sort": 0,
"address": "usa12.netv2.work",
"port": 443,
"id": "2f3ef7c2-bda6-a955-ef77-932c053d094a",
"alterId": 2,
"security": "auto",
"network": "tcp",
"remarks": "美国12",
"headerType": "None",
"requestHost": "",
"path": "",
"streamSecurity": "tls",
"allowInsecure": "False",
"testResult": "Timeout",
"subid": "4612962011312510326",
"flow": "",
"sni": "",
"alpn": [],
"groupId": "",
"coreType": null,
"preSocksPort": 0,
"fingerprint": null
},
{
"indexId": "5391202076667428981",
"configType": 1,
"configVersion": 2,
"sort": 0,
"address": "us13.netv2.work",
"port": 443,
"id": "2f3ef7c2-bda6-a955-ef77-932c053d094a",
"alterId": 2,
"security": "auto",
"network": "tcp",
"remarks": "美国13",
"headerType": "None",
"requestHost": "",
"path": "",
"streamSecurity": "tls",
"allowInsecure": "False",
"testResult": "Timeout",
"subid": "4612962011312510326",
"flow": "",
"sni": "",
"alpn": [],
"groupId": "",
"coreType": null,
"preSocksPort": 0,
"fingerprint": null
},
{
"indexId": "5720312904382293961",
"configType": 1,
"configVersion": 2,
"sort": 0,
"address": "us14.netv2.work",
"port": 443,
"id": "2f3ef7c2-bda6-a955-ef77-932c053d094a",
"alterId": 2,
"security": "auto",
"network": "tcp",
"remarks": "美国14",
"headerType": "None",
"requestHost": "",
"path": "",
"streamSecurity": "tls",
"allowInsecure": "False",
"testResult": "Timeout",
"subid": "4612962011312510326",
"flow": "",
"sni": "",
"alpn": [],
"groupId": "",
"coreType": null,
"preSocksPort": 0,
"fingerprint": null
},
{
"indexId": "5353863472508285636",
"configType": 1,
"configVersion": 2,
"sort": 0,
"address": "us21.netv2.work",
"port": 443,
"id": "2f3ef7c2-bda6-a955-ef77-932c053d094a",
"alterId": 2,
"security": "auto",
"network": "tcp",
"remarks": "美国21(GIA)【消耗2倍流量】",
"headerType": "None",
"requestHost": "",
"path": "",
"streamSecurity": "tls",
"allowInsecure": "False",
"testResult": " 87ms",
"subid": "4612962011312510326",
"flow": "",
"sni": "",
"alpn": [],
"groupId": "",
"coreType": null,
"preSocksPort": 0,
"fingerprint": null
},
{
"indexId": "4750040754618617211",
"configType": 1,
"configVersion": 2,
"sort": 0,
"address": "jp11.netv2.work",
"port": 443,
"id": "2f3ef7c2-bda6-a955-ef77-932c053d094a",
"alterId": 2,
"security": "auto",
"network": "tcp",
"remarks": "日本11",
"headerType": "None",
"requestHost": "",
"path": "",
"streamSecurity": "tls",
"allowInsecure": "False",
"testResult": "Timeout",
"subid": "4612962011312510326",
"flow": "",
"sni": "",
"alpn": [],
"groupId": "",
"coreType": null,
"preSocksPort": 0,
"fingerprint": null
},
{
"indexId": "4762143906531049642",
"configType": 1,
"configVersion": 2,
"sort": 0,
"address": "jp12.netv2.work",
"port": 443,
"id": "2f3ef7c2-bda6-a955-ef77-932c053d094a",
"alterId": 2,
"security": "auto",
"network": "tcp",
"remarks": "日本12",
"headerType": "None",
"requestHost": "",
"path": "",
"streamSecurity": "tls",
"allowInsecure": "False",
"testResult": "Timeout",
"subid": "4612962011312510326",
"flow": "",
"sni": "",
"alpn": [],
"groupId": "",
"coreType": null,
"preSocksPort": 0,
"fingerprint": null
},
{
"indexId": "5635811112565704820",
"configType": 1,
"configVersion": 2,
"sort": 0,
"address": "jp24.netv2.work",
"port": 443,
"id": "2f3ef7c2-bda6-a955-ef77-932c053d094a",
"alterId": 2,
"security": "auto",
"network": "tcp",
"remarks": "日本24",
"headerType": "None",
"requestHost": "",
"path": "",
"streamSecurity": "tls",
"allowInsecure": "False",
"testResult": "Timeout",
"subid": "4612962011312510326",
"flow": "",
"sni": "",
"alpn": [],
"groupId": "",
"coreType": null,
"preSocksPort": 0,
"fingerprint": null
},
{
"indexId": "4933387525786788650",
"configType": 1,
"configVersion": 2,
"sort": 0,
"address": "jp23.netv2.work",
"port": 443,
"id": "2f3ef7c2-bda6-a955-ef77-932c053d094a",
"alterId": 2,
"security": "auto",
"network": "tcp",
"remarks": "日本23【原生IP】",
"headerType": "None",
"requestHost": "",
"path": "",
"streamSecurity": "tls",
"allowInsecure": "False",
"testResult": " 88ms",
"subid": "4612962011312510326",
"flow": "",
"sni": "",
"alpn": [],
"groupId": "",
"coreType": null,
"preSocksPort": 0,
"fingerprint": null
},
{
"indexId": "5752034838634067620",
"configType": 1,
"configVersion": 2,
"sort": 0,
"address": "hk10.netv2.work",
"port": 443,
"id": "2f3ef7c2-bda6-a955-ef77-932c053d094a",
"alterId": 2,
"security": "auto",
"network": "tcp",
"remarks": "香港10",
"headerType": "None",
"requestHost": "",
"path": "",
"streamSecurity": "tls",
"allowInsecure": "False",
"testResult": " 121ms",
"subid": "4612962011312510326",
"flow": "",
"sni": "",
"alpn": [],
"groupId": "",
"coreType": null,
"preSocksPort": 0,
"fingerprint": null
},
{
"indexId": "5602885509144120587",
"configType": 1,
"configVersion": 2,
"sort": 0,
"address": "hk12.netv2.work",
"port": 443,
"id": "2f3ef7c2-bda6-a955-ef77-932c053d094a",
"alterId": 2,
"security": "auto",
"network": "tcp",
"remarks": "香港12",
"headerType": "None",
"requestHost": "",
"path": "",
"streamSecurity": "tls",
"allowInsecure": "False",
"testResult": " 53ms",
"subid": "4612962011312510326",
"flow": "",
"sni": "",
"alpn": [],
"groupId": "",
"coreType": null,
"preSocksPort": 0,
"fingerprint": null
},
{
"indexId": "5047945163088869366",
"configType": 1,
"configVersion": 2,
"sort": 0,
"address": "hk11.netv2.work",
"port": 443,
"id": "2f3ef7c2-bda6-a955-ef77-932c053d094a",
"alterId": 2,
"security": "auto",
"network": "tcp",
"remarks": "香港11",
"headerType": "None",
"requestHost": "",
"path": "",
"streamSecurity": "tls",
"allowInsecure": "False",
"testResult": " 182ms",
"subid": "4612962011312510326",
"flow": "",
"sni": "",
"alpn": [],
"groupId": "",
"coreType": null,
"preSocksPort": 0,
"fingerprint": null
}
],
"kcpItem": {
"mtu": 1350,
"tti": 50,
"uplinkCapacity": 12,
"downlinkCapacity": 100,
"congestion": false,
"readBufferSize": 2,
"writeBufferSize": 2
},
"subItem": [
{
"id": "4612962011312510326",
"remarks": "Netv2 5942",
"url": "https://www.netv2.me/client/api.php?token=7a2a0e5c-e11d-5722-7c5d-235254caa5cc&s=v2ray.subscribe&pid=5942",
"enabled": true,
"userAgent": "",
"groupId": ""
}
],
"uiItem": {
"enableAutoAdjustMainLvColWidth": true,
"mainLocation": "476, 200",
"mainSize": "1230, 705",
"mainLvColWidth": {
"def": 27,
"configType": 47,
"remarks": 168,
"address": 124,
"port": 36,
"security": 60,
"network": 66,
"streamSecurity": 33,
"subRemarks": 82,
"testResult": 84,
"todayDown": 144,
"todayUp": 132,
"totalDown": 144,
"totalUp": 132
}
},
"routings": [
{
"remarks": "My Routing Configuration",
"url": "",
"rules": [
{
"type": null,
"port": null,
"inboundTag": [],
"outboundTag": "direct",
"ip": ["geoip:private", "geoip:cn"],
"domain": [
"geosite:cn",
"domain:office365.com",
"domain:zaouter.com",
"domain:in.za",
"domain:zhonganonline.com",
"domain:teams.microsoft.com",
"domain:teams.events.data.microsoft.com",
"domain:zatech.com",
"domain:internal-aia-tm-alb-lan-boom-79939012.ap-southeast-1.elb.amazonaws.com",
"domain:amazonaws.com",
"domain:alphazebra.io",
"domain:za-gj-aws.net",
"domain:zatech.online",
"domain:sharepoint.com"
],
"protocol": null,
"enabled": true
},
{
"type": null,
"port": "0-65535",
"inboundTag": [],
"outboundTag": "proxy",
"ip": null,
"domain": [
"geosite:google",
"geosite:apple",
"geosite:microsoft",
"geosite:facebook",
"geosite:twitter",
"geosite:telegram",
"geosite:tld-!cn",
"geosite:geolocation-!cn",
"geosite:greatfire",
"geosite:tld-!cn",
"domain:github.com",
"domain:gitlab.com",
"domain:linkedin.com",
"domain:bing.com",
"domain:services.gradle.org",
"domain:gradle.org",
"domain:downloads.gradle-dn.com",
"domain:wikihow.com",
"domain:jetbrains.com",
"domain:spotify.com"
],
"protocol": null,
"enabled": true
},
{
"type": null,
"port": null,
"inboundTag": [],
"outboundTag": "block",
"ip": null,
"domain": ["geosite:category-ads-all"],
"protocol": null,
"enabled": true
}
],
"enabled": true,
"locked": false,
"customIcon": ""
},
{
"remarks": "Blacklist",
"url": "",
"rules": [
{
"type": null,
"port": null,
"inboundTag": null,
"outboundTag": "direct",
"ip": null,
"domain": null,
"protocol": ["bittorrent"],
"enabled": true
},
{
"type": null,
"port": null,
"inboundTag": null,
"outboundTag": "block",
"ip": null,
"domain": ["geosite:category-ads-all"],
"protocol": null,
"enabled": true
},
{
"type": null,
"port": null,
"inboundTag": null,
"outboundTag": "proxy",
"ip": ["geoip:telegram"],
"domain": ["geosite:gfw", "geosite:greatfire", "geosite:tld-!cn"],
"protocol": null,
"enabled": true
},
{
"type": null,
"port": "0-65535",
"inboundTag": null,
"outboundTag": "direct",
"ip": null,
"domain": null,
"protocol": null,
"enabled": true
}
],
"enabled": true,
"locked": false,
"customIcon": ""
},
{
"remarks": "Global",
"url": "",
"rules": [
{
"type": null,
"port": "0-65535",
"inboundTag": null,
"outboundTag": "proxy",
"ip": null,
"domain": null,
"protocol": null,
"enabled": true
}
],
"enabled": true,
"locked": false,
"customIcon": ""
},
{
"remarks": "Whitelist",
"url": "",
"rules": [
{
"type": null,
"port": null,
"inboundTag": null,
"outboundTag": "direct",
"ip": null,
"domain": [
"domain:example-example.com",
"domain:example-example2.com"
],
"protocol": null,
"enabled": true
},
{
"type": null,
"port": null,
"inboundTag": null,
"outboundTag": "block",
"ip": null,
"domain": ["geosite:category-ads-all"],
"protocol": null,
"enabled": true
},
{
"type": null,
"port": null,
"inboundTag": null,
"outboundTag": "direct",
"ip": null,
"domain": ["geosite:cn"],
"protocol": null,
"enabled": true
},
{
"type": null,
"port": null,
"inboundTag": null,
"outboundTag": "direct",
"ip": ["geoip:private", "geoip:cn"],
"domain": null,
"protocol": null,
"enabled": true
},
{
"type": null,
"port": "0-65535",
"inboundTag": null,
"outboundTag": "proxy",
"ip": null,
"domain": null,
"protocol": null,
"enabled": true
}
],
"enabled": true,
"locked": false,
"customIcon": ""
},
{
"remarks": "locked",
"url": "",
"rules": [
{
"type": null,
"port": null,
"inboundTag": null,
"outboundTag": "proxy",
"ip": [],
"domain": ["geosite:google"],
"protocol": null,
"enabled": true
},
{
"type": null,
"port": null,
"inboundTag": null,
"outboundTag": "direct",
"ip": [],
"domain": [
"domain:example-example.com",
"domain:example-example2.com"
],
"protocol": null,
"enabled": true
},
{
"type": null,
"port": null,
"inboundTag": null,
"outboundTag": "block",
"ip": [],
"domain": ["geosite:category-ads-all"],
"protocol": null,
"enabled": true
}
],
"enabled": true,
"locked": true,
"customIcon": null
}
],
"constItem": {
"speedTestUrl": "http://cachefly.cachefly.net/10mb.test",
"speedPingTestUrl": "https://www.google.com/generate_204",
"defIEProxyExceptions": "localhost;127.*;10.*;172.16.*;172.17.*;172.18.*;172.19.*;172.20.*;172.21.*;172.22.*;172.23.*;172.24.*;172.25.*;172.26.*;172.27.*;172.28.*;172.29.*;172.30.*;172.31.*;192.168.*"
},
"globalHotkeys": [
{
"eGlobalHotkey": 0,
"Alt": false,
"Control": false,
"Shift": false,
"KeyCode": null
},
{
"eGlobalHotkey": 1,
"Alt": false,
"Control": false,
"Shift": false,
"KeyCode": null
},
{
"eGlobalHotkey": 2,
"Alt": false,
"Control": false,
"Shift": false,
"KeyCode": null
},
{
"eGlobalHotkey": 3,
"Alt": false,
"Control": false,
"Shift": false,
"KeyCode": null
}
],
"groupItem": [],
"coreTypeItem": [
{
"configType": 1,
"coreType": 2
},
{
"configType": 2,
"coreType": 2
},
{
"configType": 3,
"coreType": 2
},
{
"configType": 4,
"coreType": 2
},
{
"configType": 5,
"coreType": 2
},
{
"configType": 6,
"coreType": 2
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment