|
|
@@ -0,0 +1,74 @@
|
|
|
+{
|
|
|
+ "log": {
|
|
|
+ "loglevel": "warning"
|
|
|
+ },
|
|
|
+ "inbounds": [
|
|
|
+ {
|
|
|
+ "port": 443,
|
|
|
+ "protocol": "vless",
|
|
|
+ "settings": {
|
|
|
+ "clients": [
|
|
|
+ {
|
|
|
+ "id": "", // 填写你的 UUID
|
|
|
+ "level": 0,
|
|
|
+ "email": "[email protected]"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "decryption": "none",
|
|
|
+ "fallbacks": [
|
|
|
+ {
|
|
|
+ "dest": 80
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "/websocket", // 必须换成自定义的 PATH
|
|
|
+ "dest": 1234,
|
|
|
+ "xver": 1
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "streamSettings": {
|
|
|
+ "network": "tcp",
|
|
|
+ "security": "tls",
|
|
|
+ "tlsSettings": {
|
|
|
+ "alpn": [
|
|
|
+ "http/1.1"
|
|
|
+ ],
|
|
|
+ "certificates": [
|
|
|
+ {
|
|
|
+ "certificateFile": "/path/to/fullchain.crt", // 换成你的证书,绝对路径
|
|
|
+ "keyFile": "/path/to/private.key" // 换成你的私钥,绝对路径
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "port": 1234,
|
|
|
+ "listen": "127.0.0.1",
|
|
|
+ "protocol": "vless",
|
|
|
+ "settings": {
|
|
|
+ "clients": [
|
|
|
+ {
|
|
|
+ "id": "", // 填写你的 UUID
|
|
|
+ "level": 0,
|
|
|
+ "email": "[email protected]"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "decryption": "none"
|
|
|
+ },
|
|
|
+ "streamSettings": {
|
|
|
+ "network": "ws",
|
|
|
+ "security": "none",
|
|
|
+ "wsSettings": {
|
|
|
+ "acceptProxyProtocol": true,
|
|
|
+ "path": "/websocket" // 必须换成自定义的 PATH,需要和上面的一致
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "outbounds": [
|
|
|
+ {
|
|
|
+ "protocol": "freedom"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+}
|