Skip to content

Instantly share code, notes, and snippets.

@BruceZhang1993
Created July 10, 2020 07:40
Show Gist options
  • Save BruceZhang1993/d32f0f1b538875a35a27cc1091f34bcc to your computer and use it in GitHub Desktop.
Save BruceZhang1993/d32f0f1b538875a35a27cc1091f34bcc to your computer and use it in GitHub Desktop.
{
"inbounds": [
{
"tag": "transparent",
"port": 1080,
"protocol": "dokodemo-door",
"settings": {
"network": "tcp,udp",
"followRedirect": true
},
"streamSettings": {
"sockopt": {
"tproxy": "redirect"
}
}
}
],
"outbounds": [
{
"mux": {
"concurrency": 1,
"enabled": null
},
"protocol": "vmess",
"sendThrough": "0.0.0.0",
"settings": {
"vnext": [
{
"address": "cfip",
"port": 443,
"users": [
{
"alterId": 0,
"id": "",
"level": 0,
"security": "auto"
}
]
}
]
},
"streamSettings": {
"dsSettings": {
"path": "/"
},
"httpSettings": {
"host": [],
"path": "/"
},
"kcpSettings": {
"congestion": false,
"downlinkCapacity": 20,
"header": {
"type": "none"
},
"mtu": 1350,
"readBufferSize": 1,
"tti": 20,
"uplinkCapacity": 5,
"writeBufferSize": 1
},
"network": "ws",
"quicSettings": {
"header": {
"type": "none"
},
"key": "",
"security": ""
},
"security": "tls",
"sockopt": {
"mark": 0,
"tcpFastOpen": false,
"tproxy": "off"
},
"tcpSettings": {
"header": {
"request": {
"headers": {},
"method": "GET",
"path": [],
"version": "1.1"
},
"response": {
"headers": {},
"reason": "OK",
"status": "200",
"version": "1.1"
},
"type": "none"
}
},
"tlsSettings": {
"allowInsecure": false,
"allowInsecureCiphers": false,
"alpn": [],
"certificates": [],
"disableSystemRoot": false,
"serverName": ""
},
"wsSettings": {
"headers": {
"Host": "cfhost"
},
"path": ""
}
},
"tag": "outBound_PROXY"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment