Skip to content

Instantly share code, notes, and snippets.

@lbp0200
Last active January 16, 2023 16:18
Show Gist options
  • Save lbp0200/76ed4b122bdc1f8eb8223745b0b214d1 to your computer and use it in GitHub Desktop.
Save lbp0200/76ed4b122bdc1f8eb8223745b0b214d1 to your computer and use it in GitHub Desktop.
免费分享我搭建的v2ray
{
"log": {
"loglevel": "error"
},
"inbounds": [
{
"tag": "laVPSSocksIn",
"protocol": "socks",
"listen": "0.0.0.0",
"port": 1080,
"auth": "noauth",
"udp": true,
"sniffing": {
"enabled": true
}
},
{
"tag": "laVPSHttpIn",
"protocol": "http",
"listen": "0.0.0.0",
"auth": "noauth",
"port": 8180,
"sniffing": {
"enabled": true
}
}
],
"outbounds": [
{
"tag": "laVPSOut",
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "yu.liuboping.win",
"port": 443,
"users": [
{
"id": "23ad6b10-8d1a-40f7-8ad0-e3e35cd38297",
"security": "none"
}
]
}
]
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/ws",
"headers": {
"Host": "yu.liuboping.win"
}
},
"security": "tls",
"tlsSettings": {
"serverName": "yu.liuboping.win",
"allowInsecure": false
}
}
},
{
"protocol": "freedom",
"settings": {},
"tag": "direct"
}
],
"routing": {
"domainStrategy": "IPOnDemand",
"rules": [
{
"type": "field",
"protocol": [
"bittorrent"
],
"outboundTag": "direct"
},
{
"type": "field",
"outboundTag": "direct",
"domain": [
"geosite:cn"
]
},
{
"type": "field",
"ip": [
"geoip:private",
"geoip:cn"
],
"outboundTag": "direct"
},
{
"type": "field",
"inboundTag": [
"laVPSSocksIn",
"laVPSHttpIn"
],
"outboundTag": "laVPSOut"
}
]
}
}
@gMan1990
Copy link

不更新了吗?

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