先输入: apt update -y && apt install nginx -y && cat > /etc/nginx/sites-available/download << 'EOF' && ln -sf /etc/nginx/sites-available/download /etc/nginx/sites-enabled/ && rm -f /etc/nginx/sites-enabled/default && nginx -t && systemctl restart nginx server { listen 80; server_name soft.fengchensw.com; root /www/wwwroot/soft.fengchensw.com; autoindex on; } EOF 后输入: cd /www/wwwroot/soft.fengchensw.com/ chmod +x install.sh ./install.sh 开启端口命令:ufw allow 端口 ufw allow 2053 开启面板SSL证书如果报错可以输入: sudo pkill -9 nginx sudo fuser -k 80/tcp acme.sh --remove -d hk.fengchensw.com sudo rm -rf /root/.acme.sh/hk.fengchensw.com* sudo rm -rf /root/.acme.sh/*hk.fengchensw.com* sudo systemctl start nginx VPN客户端下载: 电脑:https://github.com/2dust/v2rayN/releases 安卓:https://github.com/2dust/v2rayNG/releases 苹果:https://apps.apple.com/us/app/pharos-pro/id1456610173 香港 VLESS+WS+TLS 快速配置(通用设置-导入入规则) { "id": 1, "userId": 0, "up": 0, "down": 0, "total": 0, "allTime": 0, "remark": "香港", "enable": true, "expiryTime": 0, "listen": "", "port": 2053, "protocol": "vless", "settings": "{\n \"clients\": [\n {\n \"id\": \"be533b52-3224-440a-94d1-952d3786ee2d\",\n \"security\": \"\",\n \"password\": \"\",\n \"flow\": \"\",\n \"email\": \"ii5bokok\",\n \"limitIp\": 0,\n \"totalGB\": 0,\n \"expiryTime\": 0,\n \"enable\": true,\n \"tgId\": 0,\n \"subId\": \"3m8wacv42ksfa7en\",\n \"comment\": \"\",\n \"reset\": 0,\n \"created_at\": 1770018222000,\n \"updated_at\": 1770018222000\n }\n ],\n \"decryption\": \"none\",\n \"fallbacks\": []\n}", "streamSettings": "{\n \"network\": \"ws\",\n \"security\": \"tls\",\n \"externalProxy\": [],\n \"tlsSettings\": {\n \"serverName\": \"hk.fengchensw.com\",\n \"minVersion\": \"1.2\",\n \"maxVersion\": \"1.3\",\n \"cipherSuites\": \"\",\n \"rejectUnknownSni\": false,\n \"verifyPeerCertInNames\": [\n \"dns.google\",\n \"cloudflare-dns.com\"\n ],\n \"disableSystemRoot\": false,\n \"enableSessionResumption\": false,\n \"certificates\": [\n {\n \"certificateFile\": \"/root/cert/hk.fengchensw.com/fullchain.pem\",\n \"keyFile\": \"/root/cert/hk.fengchensw.com/privkey.pem\",\n \"oneTimeLoading\": false,\n \"usage\": \"encipherment\",\n \"buildChain\": false\n }\n ],\n \"alpn\": [\n \"h2\",\n \"http/1.1\"\n ],\n \"echServerKeys\": \"\",\n \"echForceQuery\": \"none\",\n \"settings\": {\n \"allowInsecure\": false,\n \"fingerprint\": \"chrome\",\n \"echConfigList\": \"\"\n }\n },\n \"wsSettings\": {\n \"acceptProxyProtocol\": false,\n \"path\": \"/be533b52\",\n \"host\": \"hk.fengchensw.com\",\n \"headers\": {},\n \"heartbeatPeriod\": 0\n }\n}", "tag": "inbound-2053", "sniffing": "{\n \"enabled\": true,\n \"destOverride\": [\n \"http\",\n \"tls\",\n \"quic\",\n \"fakedns\"\n ],\n \"metadataOnly\": false,\n \"routeOnly\": false\n}", "clientStats": [ { "id": 1, "inboundId": 1, "enable": true, "email": "ii5bokok", "up": 0, "down": 0, "allTime": 0, "expiryTime": 0, "total": 0, "reset": 0 } ] } 美国 VLESS+WS+TLS 快速配置(通用设置-导入入规则) { "id": 1, "userId": 0, "up": 0, "down": 0, "total": 0, "allTime": 0, "remark": "美国", "enable": true, "expiryTime": 0, "listen": "", "port": 2053, "protocol": "vless", "settings": "{\n \"clients\": [\n {\n \"id\": \"0e199380-1a72-4ff4-a6fd-459d48208c4e\",\n \"security\": \"\",\n \"password\": \"\",\n \"flow\": \"\",\n \"email\": \"r3pacj3h\",\n \"limitIp\": 0,\n \"totalGB\": 0,\n \"expiryTime\": 0,\n \"enable\": true,\n \"tgId\": 0,\n \"subId\": \"jkptnlabkvf9ikps\",\n \"comment\": \"\",\n \"reset\": 0,\n \"created_at\": 1770787086000,\n \"updated_at\": 1770787086000\n }\n ],\n \"decryption\": \"none\",\n \"fallbacks\": []\n}", "streamSettings": "{\n \"network\": \"ws\",\n \"security\": \"tls\",\n \"externalProxy\": [],\n \"tlsSettings\": {\n \"serverName\": \"us.fengchensw.com\",\n \"minVersion\": \"1.2\",\n \"maxVersion\": \"1.3\",\n \"cipherSuites\": \"\",\n \"rejectUnknownSni\": false,\n \"verifyPeerCertInNames\": [\n \"dns.google\",\n \"cloudflare-dns.com\"\n ],\n \"disableSystemRoot\": false,\n \"enableSessionResumption\": false,\n \"certificates\": [\n {\n \"certificateFile\": \"/etc/x-ui/ssl/us.fengchensw.com.cer\",\n \"keyFile\": \"/etc/x-ui/ssl/us.fengchensw.com.key\",\n \"oneTimeLoading\": false,\n \"usage\": \"encipherment\",\n \"buildChain\": false\n }\n ],\n \"alpn\": [\n \"h2\",\n \"http/1.1\"\n ],\n \"echServerKeys\": \"\",\n \"echForceQuery\": \"none\",\n \"settings\": {\n \"allowInsecure\": false,\n \"fingerprint\": \"chrome\",\n \"echConfigList\": \"\"\n }\n },\n \"wsSettings\": {\n \"acceptProxyProtocol\": false,\n \"path\": \"/0e199380\",\n \"host\": \"us.fengchensw.com\",\n \"headers\": {},\n \"heartbeatPeriod\": 0\n }\n}", "tag": "inbound-2053", "sniffing": "{\n \"enabled\": true,\n \"destOverride\": [\n \"http\",\n \"tls\",\n \"quic\",\n \"fakedns\"\n ],\n \"metadataOnly\": false,\n \"routeOnly\": false\n}", "clientStats": [ { "id": 1, "inboundId": 1, "enable": true, "email": "r3pacj3h", "up": 0, "down": 0, "allTime": 0, "expiryTime": 0, "total": 0, "reset": 0 } ] }