diff --git a/VLESS-TCP-TLS (minimal by rprx)/README.md b/VLESS-TCP-TLS (minimal by rprx)/README.md new file mode 100644 index 0000000..a1ca57e --- /dev/null +++ b/VLESS-TCP-TLS (minimal by rprx)/README.md @@ -0,0 +1,13 @@ +# VLESS + TCP + TLS + 回落(最简配置) + +你需要有一个解析到服务器 IP 的域名,并且申请了证书,比如 let's encrypt + +你还需要一个 Nginx: + +1. 用系统自带的包管理器安装 nginx,具体方法请 Google +2. nginx 的默认配置就是监听 80 端口,无需修改 +3. 可选:找到并替换掉 nginx 自带的 index.html 等文件 +4. 执行 `systemctl enable nginx` 设置开机自启 +5. 执行 `systemctl start nginx` 启动 nginx + +若服务器开启了防火墙或 VPS 有安全组,记得放行 TCP/80、443 端口 diff --git a/VLESS-TCP-TLS (minimal by rprx)/config_client.json b/VLESS-TCP-TLS (minimal by rprx)/config_client.json new file mode 100644 index 0000000..e1e330d --- /dev/null +++ b/VLESS-TCP-TLS (minimal by rprx)/config_client.json @@ -0,0 +1,39 @@ +{ + "log": { + "loglevel": "warning" + }, + "inbounds": [ + { + "port": 10800, + "listen": "127.0.0.1", + "protocol": "socks", + "settings": { + "udp": true + } + } + ], + "outbounds": [ + { + "protocol": "vless", + "settings": { + "vnext": [ + { + "address": "example.com", // 换成你的域名 + "port": 443, + "users": [ + { + "id": "", // 填写你的 UUID + "encryption": "none", + "level": 0 + } + ] + } + ] + }, + "streamSettings": { + "network": "tcp", + "security": "tls" + } + } + ] +} \ No newline at end of file diff --git a/VLESS-TCP-TLS (minimal by rprx)/config_server.json b/VLESS-TCP-TLS (minimal by rprx)/config_server.json new file mode 100644 index 0000000..65d0892 --- /dev/null +++ b/VLESS-TCP-TLS (minimal by rprx)/config_server.json @@ -0,0 +1,44 @@ +{ + "log": { + "loglevel": "warning" + }, + "inbounds": [ + { + "port": 443, + "protocol": "vless", + "settings": { + "clients": [ + { + "id": "", // 填写你的 UUID + "level": 0, + "email": "love@v2fly.org" + } + ], + "decryption": "none", + "fallback": { + "port": 80 + } + }, + "streamSettings": { + "network": "tcp", + "security": "tls", + "tlsSettings": { + "alpn": [ + "http/1.1" + ], + "certificates": [ + { + "certificateFile": "/path/to/tls.crt", // 换成你的证书,绝对路径 + "keyFile": "/path/to/tls.key" // 换成你的私钥,绝对路径 + } + ] + } + } + } + ], + "outbounds": [ + { + "protocol": "freedom" + } + ] +} \ No newline at end of file