Skip to content

Instantly share code, notes, and snippets.

@devfans
Last active June 6, 2019 06:39
Show Gist options
  • Select an option

  • Save devfans/de752e77e324478aee8d90390bcf5abf to your computer and use it in GitHub Desktop.

Select an option

Save devfans/de752e77e324478aee8d90390bcf5abf to your computer and use it in GitHub Desktop.
v2r_udp
{
"log": {
"loglevel": "error",
"access": "/var/log/v2ray/access.log",
"error": "/var/log/v2ray/error.log"
},
"inbounds": [
{
"port": 1888,
"protocol": "socks",
"sniffing": {
"enabled": true,
"destOverride": ["http", "tls"]
},
"settings": {
"auth": "noauth"
}
}
],
"outbounds": [
{
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "ip",
"port": 443,
"users": [
{
"id": "id",
"alterId": 64
}
]
}
]
},
"streamSettings": {
"network": "mkcp",
"kcpSettings": {
"uplinkCapacity": 500000,
"downlinkCapacity": 1000000,
"congestion": true,
"header": {
"type": "srtp"
}
}
}
}
]
}
{
"log": {
"loglevel": "error",
"access": "/var/log/v2ray/access.log",
"error": "/var/log/v2ray/error.log"
},
"inbounds": [
{
"port": 443,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "id",
"alterId": 64
}
]
},
"streamSettings": {
"network": "mkcp",
"kcpSettings": {
"uplinkCapacity": 500000,
"downlinkCapacity": 1000000,
"congestion": true,
"header": {
"type": "srtp"
}
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment