|
@@ -1,163 +0,0 @@
|
|
|
-{
|
|
|
- "log": {
|
|
|
- "loglevel": "warning"
|
|
|
- },
|
|
|
- "inbounds": [
|
|
|
- {
|
|
|
- "port": 443,
|
|
|
- "protocol": "vless",
|
|
|
- "settings": {
|
|
|
- "clients": [
|
|
|
- {
|
|
|
- "id": "", // fill in your UUID
|
|
|
- "flow": "xtls-rprx-direct",
|
|
|
- "level": 0,
|
|
|
- "email": "[email protected]"
|
|
|
- }
|
|
|
- ],
|
|
|
- "decryption": "none",
|
|
|
- "fallbacks": [
|
|
|
- {
|
|
|
- "dest": 1310, // Fall back to Xray's Trojan protocol by default
|
|
|
- "xver": 1
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "/websocket", // Must be replaced with a custom PATH
|
|
|
- "dest": 1234,
|
|
|
- "xver": 1
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "/vmesstcp", // Must be replaced with a custom PATH
|
|
|
- "dest": 2345,
|
|
|
- "xver": 1
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "/vmessws", // Must be replaced with a custom PATH
|
|
|
- "dest": 3456,
|
|
|
- "xver": 1
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "streamSettings": {
|
|
|
- "network": "tcp",
|
|
|
- "security": "xtls",
|
|
|
- "xtlsSettings": {
|
|
|
- "alpn": [
|
|
|
- "http/1.1"
|
|
|
- ],
|
|
|
- "certificates": [
|
|
|
- {
|
|
|
- "certificateFile": "/path/to/fullchain.crt", // Replace with your certificate, absolute path
|
|
|
- "keyFile": "/path/to/private.key" // Replace it with your private key, absolute path
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "port": 1310,
|
|
|
- "listen": "127.0.0.1",
|
|
|
- "protocol": "trojan",
|
|
|
- "settings": {
|
|
|
- "clients": [
|
|
|
- {
|
|
|
- "password": "", // fill in your password
|
|
|
- "level": 0,
|
|
|
- "email": "[email protected]"
|
|
|
- }
|
|
|
- ],
|
|
|
- "fallbacks": [
|
|
|
- {
|
|
|
- "dest": 80 // or fall back to other proxies that are also probing-proof
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "streamSettings": {
|
|
|
- "network": "tcp",
|
|
|
- "security": "none",
|
|
|
- "tcpSettings": {
|
|
|
- "acceptProxyProtocol": true
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "port": 1234,
|
|
|
- "listen": "127.0.0.1",
|
|
|
- "protocol": "vless",
|
|
|
- "settings": {
|
|
|
- "clients": [
|
|
|
- {
|
|
|
- "id": "", // fill in your UUID
|
|
|
- "level": 0,
|
|
|
- "email": "[email protected]"
|
|
|
- }
|
|
|
- ],
|
|
|
- "decryption": "none"
|
|
|
- },
|
|
|
- "streamSettings": {
|
|
|
- "network": "ws",
|
|
|
- "security": "none",
|
|
|
- "wsSettings": {
|
|
|
- "acceptProxyProtocol": true, // Reminder: If you use Nginx/Caddy to reverse generation WS, you need to delete this line
|
|
|
- "path": "/websocket" // It must be replaced with a custom PATH, which needs to be consistent with the shunt
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "port": 2345,
|
|
|
- "listen": "127.0.0.1",
|
|
|
- "protocol": "vmess",
|
|
|
- "settings": {
|
|
|
- "clients": [
|
|
|
- {
|
|
|
- "id": "", // fill in your UUID
|
|
|
- "level": 0,
|
|
|
- "email": "[email protected]"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "streamSettings": {
|
|
|
- "network": "tcp",
|
|
|
- "security": "none",
|
|
|
- "tcpSettings": {
|
|
|
- "acceptProxyProtocol": true,
|
|
|
- "header": {
|
|
|
- "type": "http",
|
|
|
- "request": {
|
|
|
- "path": [
|
|
|
- "/vmesstcp" // It must be replaced with a custom PATH, which needs to be consistent with the shunt
|
|
|
- ]
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "port": 3456,
|
|
|
- "listen": "127.0.0.1",
|
|
|
- "protocol": "vmess",
|
|
|
- "settings": {
|
|
|
- "clients": [
|
|
|
- {
|
|
|
- "id": "", // fill in your UUID
|
|
|
- "level": 0,
|
|
|
- "email": "[email protected]"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "streamSettings": {
|
|
|
- "network": "ws",
|
|
|
- "security": "none",
|
|
|
- "wsSettings": {
|
|
|
- "acceptProxyProtocol": true, // Reminder: If you use Nginx/Caddy to reverse generation WS, you need to delete this line
|
|
|
- "path": "/vmessws" // It must be replaced with a custom PATH, which needs to be consistent with the shunt
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- ],
|
|
|
- "outbounds": [
|
|
|
- {
|
|
|
- "protocol": "freedom"
|
|
|
- }
|
|
|
- ]
|
|
|
-}
|