xray-vision

This commit is contained in:
quackerd 2023-01-02 15:00:17 +01:00
parent ce06a48962
commit 5e7ed23e95
3 changed files with 25 additions and 16 deletions

View File

@ -2,15 +2,17 @@
2. 打开V2rayNG app 2. 打开V2rayNG app
3. 右上角箭头->新加配置文件->手动输入[VLess] 3. 右上角箭头->新加配置文件->手动输入[VLess]
别名:随便起 别名(remarks):随便起
地址:{{ FQDN }} 地址(address){{ FQDN }}
端口:{{ PORT }} 端口(port){{ PORT }}
用户id{{ USER }} 用户ID(id){{ USER }}
流控flow{{ FLOW }} 流控(flow){{ FLOW }}
传输协议tcp 传输协议(network)tcp
伪装类型none 伪装类型(type)none
底层传输安全xtls 传输层安全(tls)tls
跳过证书验证false uTLS: firefox
alpn: h2,http/1.1
跳过证书验证(allowInsecure)false
以上没有提到的选项统统默认值 以上没有提到的选项统统默认值

View File

@ -87,8 +87,7 @@
{ {
"id": "{{ USER }}", "id": "{{ USER }}",
"encryption": "none", "encryption": "none",
"flow": "{{ FLOW }}", "flow": "{{ FLOW }}"
"level": 0
} }
] ]
} }
@ -96,10 +95,11 @@
}, },
"streamSettings": { "streamSettings": {
"network": "tcp", "network": "tcp",
"security": "xtls", "security": "tls",
"xtlsSettings": { "tlsSettings": {
"serverName": "{{ FQDN }}", "serverName": "{{ FQDN }}",
"allowInsecure": false "allowInsecure": false,
"fingerprint": "safari"
} }
} }
}, },

View File

@ -21,8 +21,8 @@
}, },
"streamSettings": { "streamSettings": {
"network": "tcp", "network": "tcp",
"security": "xtls", "security": "tls",
"xtlsSettings": { "tlsSettings": {
"certificates": [ "certificates": [
{ {
"certificateFile": "/etc/letsencrypt/live/{{ FQDN }}/fullchain.pem", "certificateFile": "/etc/letsencrypt/live/{{ FQDN }}/fullchain.pem",
@ -30,6 +30,13 @@
} }
] ]
} }
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
} }
} }
], ],