Skip to content

Instantly share code, notes, and snippets.

@kaaass
Created June 26, 2020 03:28
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 kaaass/f88695a05c966141c11a10d62f77a09d to your computer and use it in GitHub Desktop.
Save kaaass/f88695a05c966141c11a10d62f77a09d to your computer and use it in GitHub Desktop.
V2 HTTP Proxy
{
"log": {
"loglevel": "warning"
},
"inbounds": [{
"tag": "http-inbound",
"port": 8123,
"listen": "127.0.0.1",
"protocol": "http",
"settings": {
"timeout": 0
}
}],
"outbounds": [{
"protocol": "freedom",
"settings": {},
"tag": "direct"
}],
"routing": {
"rules":[{
"type": "field",
"inboundTag": ["http-inbound"],
"outboundTag": "proxy"
}]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment