{"id":6403,"date":"2024-08-29T12:00:01","date_gmt":"2024-08-29T04:00:01","guid":{"rendered":"http:\/\/wordpress.jiyun.net\/?p=6403"},"modified":"2024-11-30T20:18:41","modified_gmt":"2024-11-30T12:18:41","slug":"%e8%87%aa%e5%bb%ba%e7%bd%91%e7%bb%9c%e4%bb%a3%e7%90%86","status":"publish","type":"post","link":"http:\/\/puo.cn\/?p=6403","title":{"rendered":"\u81ea\u5efa\u7f51\u7edc\u4ee3\u7406"},"content":{"rendered":"<article id=\"article-container\" class=\"post-content\">\u65e5\u5e38\u751f\u6d3b\u4e2d\u7ecf\u5e38\u9047\u5230\u65e0\u6cd5\u8fde\u63a5\u5230\u7f51\u7edc\u7684\u60c5\u51b5\ud83e\udd23\uff0c\u6240\u4ee5\u6211\u4eec\u53ef\u4ee5\u81ea\u5df1\u642d\u5efa\u4e00\u4e2a\u4ee3\u7406\u3002<\/p>\n<p>\u8fd9\u6837\u5c31\u53ef\u4ee5\u4e0a\u7f51\u4e86<\/p>\n<h2 id=\"\u5f00\u59cb\">\u5f00\u59cb<\/h2>\n<ul>\n<li>\u53ef\u4ee5\u8fde\u63a5\u5230\u7f51\u7edc\u7684\u670d\u52a1\u5668<\/li>\n<li>\u57df\u540d\uff08\u53ef\u65e0\uff09\u7528\u4e8e\u6d41\u91cf\u4f2a\u88c5<\/li>\n<\/ul>\n<h3 id=\"\u6709\u57df\u540d\">\u6709\u57df\u540d<\/h3>\n<p>\u57df\u540d\u662f\u7528\u4e8e\u4f2a\u88c5\u57df\u540d\uff0c\u8fdb\u884c\u8fde\u63a5\u7684\uff0c\u53ef\u65e0\uff0c\u4f5c\u7528\u4f2a\u88c5\uff0c\u9632\u6b62\u4e4b\u540e\u65e0\u6cd5\u8fde\u63a5\u5230\u7f51\u7edc\u3002<\/p>\n<p>\u57df\u540dDNS\u89e3\u6790\u5230\u53ef\u4ee5\u8fde\u63a5\u5230\u7f51\u7edc\u7684\u670d\u52a1\u5668\u7684IP<\/p>\n<div class=\"table-wrap\">\n<table>\n<thead>\n<tr>\n<th>\u89e3\u6790\u7c7b\u578b<\/th>\n<th>\u540d\u79f0<\/th>\n<th>\u76ee\u6807\uff08IPv4 address\uff09<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>A<\/td>\n<td>\u968f\u4fbf<\/td>\n<td>\u670d\u52a1\u5668\u7684IP<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u6bd4\u5982\u6211\u7684\u57df\u540d\u4e3aabcd.com\uff0c\u90a3\u4e48\u4e3a\u5176\u6dfb\u52a0\u4e00\u4e2a\u8bb0\u5f55<\/p>\n<div class=\"table-wrap\">\n<table>\n<thead>\n<tr>\n<th>\u89e3\u6790\u7c7b\u578b<\/th>\n<th>\u540d\u79f0<\/th>\n<th>\u76ee\u6807\uff08IPv4 address\uff09<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>A<\/td>\n<td>vpn<\/td>\n<td>\u670d\u52a1\u5668\u7684IP<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u8fd9\u6837vpn.abcd.com\u5c31\u89e3\u6790\u81f3\u670d\u52a1\u5668IP\uff0cvpn.abcd.com\u89e3\u6790\u7684\u7ed3\u679c\u5c31\u4f1a\u662f\u670d\u52a1\u5668\u7684IP\u5730\u5740\u3002<\/p>\n<p>\u5efa\u8bae\u4f7f\u7528cloudflare\uff0c\u540e\u9762\u597d\u914d\u7f6e\u8bc1\u4e66\u3002<strong>cloudflare\u89e3\u6790\u4e0d\u8981\u5f00\u4ee3\u7406\uff0c\u4ec5DNS\u6a21\u5f0f<\/strong><\/p>\n<h4 id=\"\u4fee\u6539SSL-TLS-mode\">\u4fee\u6539SSL\/TLS mode<\/h4>\n<p>\u4f8b\u5982cloudflare\u7684SSL\/TLS\u52a0\u5bc6\u6a21\u5f0f\u6539\u4e3a\u5b8c\u5168\uff0c\u5373\u7aef\u5bf9\u7aef\u52a0\u5bc6\uff0c\u4f7f\u7528\u670d\u52a1\u5668\u4e0a\u7684\u8bc1\u4e66\u3002<\/p>\n<h4 id=\"\u914d\u7f6e\u8bc1\u4e66-\u5b89\u88c5\u4ee3\u7406\">\u914d\u7f6e\u8bc1\u4e66\/\u5b89\u88c5\u4ee3\u7406<\/h4>\n<p>\u6574\u4e2a\u53ef\u4ee5\u4e0a\u7f51\u7684\u670d\u52a1\u5668\u3002<\/p>\n<p>\u8fdb\u5165root\uff0c\u540e\u9762\u6ce8\u518c\u8bc1\u4e66\u8981\u7aef\u53e3\u6743\u9650<\/p>\n<figure class=\"highlight plaintext\">\n<div class=\"highlight-tools \"><i class=\"fas fa-angle-down expand \"><\/i><\/p>\n<div class=\"code-lang\">PLAINTEXT<\/div>\n<div class=\"copy-notice\"><\/div>\n<p><i class=\"fas fa-paste copy-button\"><\/i><\/div>\n<table>\n<tbody>\n<tr>\n<td class=\"gutter\">\n<pre><span class=\"line\">1<\/span><\/pre>\n<\/td>\n<td class=\"code\">\n<pre><span class=\"line\">sudo su  #Ubuntu<\/span><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<figure class=\"highlight plaintext\">\n<div class=\"highlight-tools \"><i class=\"fas fa-angle-down expand \"><\/i><\/p>\n<div class=\"code-lang\">PLAINTEXT<\/div>\n<div class=\"copy-notice\"><\/div>\n<p><i class=\"fas fa-paste copy-button\"><\/i><\/div>\n<table>\n<tbody>\n<tr>\n<td class=\"gutter\">\n<pre><span class=\"line\">1<\/span>\n<span class=\"line\">2<\/span>\n<span class=\"line\">3<\/span><\/pre>\n<\/td>\n<td class=\"code\">\n<pre><span class=\"line\">apt update -y # Debian\/Ubuntu \u547d\u4ee4<\/span>\n<span class=\"line\">apt install -y curl #Debian\/Ubuntu \u547d\u4ee4<\/span>\n<span class=\"line\">apt install -y socat #Debian\/Ubuntu \u547d\u4ee4<\/span><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<figure class=\"highlight plaintext\">\n<div class=\"highlight-tools \"><i class=\"fas fa-angle-down expand \"><\/i><\/p>\n<div class=\"code-lang\">PLAINTEXT<\/div>\n<div class=\"copy-notice\"><\/div>\n<p><i class=\"fas fa-paste copy-button\"><\/i><\/div>\n<table>\n<tbody>\n<tr>\n<td class=\"gutter\">\n<pre><span class=\"line\">1<\/span>\n<span class=\"line\">2<\/span>\n<span class=\"line\">3<\/span><\/pre>\n<\/td>\n<td class=\"code\">\n<pre><span class=\"line\">yum update -y #CentOS \u547d\u4ee4<\/span>\n<span class=\"line\">yum install -y curl #CentOS \u547d\u4ee4<\/span>\n<span class=\"line\">yum install -y socat #CentOS \u547d\u4ee4<\/span><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>\u5b89\u88c5 Acme \u811a\u672c<\/p>\n<figure class=\"highlight plaintext\">\n<div class=\"highlight-tools \"><i class=\"fas fa-angle-down expand \"><\/i><\/p>\n<div class=\"code-lang\">PLAINTEXT<\/div>\n<div class=\"copy-notice\"><\/div>\n<p><i class=\"fas fa-paste copy-button\"><\/i><\/div>\n<table>\n<tbody>\n<tr>\n<td class=\"gutter\">\n<pre><span class=\"line\">1<\/span><\/pre>\n<\/td>\n<td class=\"code\">\n<pre><span class=\"line\">curl https:\/\/get.acme.sh | sh<\/span><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>80 \u7aef\u53e3\u7a7a\u95f2\u7684\u8bc1\u4e66\u7533\u8bf7\u65b9\u5f0f<\/p>\n<p>\u6ce8\u610f80\u7aef\u53e3\u8981\u7a7a\u95f2\uff0c\u5173\u95ed\u5360\u752880\u7aef\u53e3\u7684\u7a0b\u5e8f\uff0c\u6211\u4e4b\u524d\u5c31\u56e0\u4e3a\u7aef\u53e3\u88abnps\u5360\u7528\u6ce8\u518c\u5931\u8d25\u3002<\/p>\n<p>\u81ea\u884c\u66f4\u6362\u4ee3\u7801\u4e2d\u7684\u57df\u540d\u3001\u90ae\u7bb1\u4e3a\u4f60\u89e3\u6790\u7684\u57df\u540d\u53ca\u90ae\u7bb1\u3002<\/p>\n<figure class=\"highlight plaintext\">\n<div class=\"highlight-tools \"><i class=\"fas fa-angle-down expand \"><\/i><\/p>\n<div class=\"code-lang\">PLAINTEXT<\/div>\n<div class=\"copy-notice\"><\/div>\n<p><i class=\"fas fa-paste copy-button\"><\/i><\/div>\n<table>\n<tbody>\n<tr>\n<td class=\"gutter\">\n<pre><span class=\"line\">1<\/span>\n<span class=\"line\">2<\/span><\/pre>\n<\/td>\n<td class=\"code\">\n<pre><span class=\"line\">~\/.acme.sh\/acme.sh --register-account -m xxxx@xxxx.com<\/span>\n<span class=\"line\">~\/.acme.sh\/acme.sh --issue -d \u7533\u8bf7\u7684\u57df\u540d --standalone<\/span><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>\u5b89\u88c5\u8bc1\u4e66\u5230\u6307\u5b9a\u6587\u4ef6\u5939\u3002\u6ce8\u610f\uff1a\u66f4\u6362\u4ee3\u7801\u4e2d\u7684\u57df\u540d\u4e3a\u4f60\u89e3\u6790\u7684\u57df\u540d\u3002<\/p>\n<figure class=\"highlight plaintext\">\n<div class=\"highlight-tools \"><i class=\"fas fa-angle-down expand \"><\/i><\/p>\n<div class=\"code-lang\">PLAINTEXT<\/div>\n<div class=\"copy-notice\"><\/div>\n<p><i class=\"fas fa-paste copy-button\"><\/i><\/div>\n<table>\n<tbody>\n<tr>\n<td class=\"gutter\">\n<pre><span class=\"line\">1<\/span><\/pre>\n<\/td>\n<td class=\"code\">\n<pre><span class=\"line\">~\/.acme.sh\/acme.sh --installcert -d mydomain.com --key-file \/root\/private.key --fullchain-file \/root\/cert.crt<\/span><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>\u5b89\u88c5 &amp; \u5347\u7ea7 X-ui \u9762\u677f<\/p>\n<figure class=\"highlight plaintext\">\n<div class=\"highlight-tools \"><i class=\"fas fa-angle-down expand \"><\/i><\/p>\n<div class=\"code-lang\">PLAINTEXT<\/div>\n<div class=\"copy-notice\"><\/div>\n<p><i class=\"fas fa-paste copy-button\"><\/i><\/div>\n<table>\n<tbody>\n<tr>\n<td class=\"gutter\">\n<pre><span class=\"line\">1<\/span><\/pre>\n<\/td>\n<td class=\"code\">\n<pre><span class=\"line\">bash &lt;(curl -Ls https:\/\/raw.githubusercontent.com\/FranzKafkaYu\/x-ui\/master\/install.sh)<\/span><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>\u6309\u7167\u4e2d\u6587\u63d0\u793a\u8f93\u5165\u7528\u6237\u540d\uff0c\u5bc6\u7801\uff0c\u7aef\u53e3\uff08\u6ce8\u610f\u5728\u670d\u52a1\u5668\u9762\u677f\u5f00\u542f\u5bf9\u5e94\u7aef\u53e3\uff09<\/p>\n<p>\u8bbf\u95eeweb\uff0cIP:\u7aef\u53e3<\/p>\n<h3 id=\"\u65e0\u57df\u540d\">\u65e0\u57df\u540d<\/h3>\n<p>\u82e5\u73b0\u5728\u6682\u65f6\u6ca1\u6709\u57df\u540d\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u534f\u8bae\uff0c\u6ce8\u610f\u6d41\u91cf\u4f2a\u88c5\u3002<\/p>\n<h2 id=\"\u4ee3\u7406\u914d\u7f6e\">\u4ee3\u7406\u914d\u7f6e<\/h2>\n<h3 id=\"\u5404\u79cd\u534f\u8bae\u4ee5\u53ca\u8bbe\u7f6e\u89e3\u91ca\">\u5404\u79cd\u534f\u8bae\u4ee5\u53ca\u8bbe\u7f6e\u89e3\u91ca<\/h3>\n<p>\u591a\u79cd\u534f\u8bae\u4ee3\u7406\u9762\u677f\uff0c\u50cf\u662fShadowsocks\u3001V2Ray\u548cXray\uff0c\u6bcf\u79cd\u90fd\u6709\u81ea\u5df1\u7684\u7279\u70b9\u548c\u9002\u7528\u573a\u666f\u55b5\uff5e<\/p>\n<p><strong>Shadowsocks<\/strong>\uff1a<br \/>\n\u4f18\u70b9\uff1a<\/p>\n<ul>\n<li>\u8f7b\u91cf\u7ea7\uff0c\u8d44\u6e90\u5360\u7528\u5c11\u55b5\u3002<\/li>\n<li>\u8bbe\u7f6e\u7b80\u5355\uff0c\u7528\u6237\u53cb\u597d\u55b5\u3002<\/li>\n<li>\u8f83\u597d\u7684\u6297\u5c01\u9501\u6027\u80fd\u55b5\u3002<\/li>\n<\/ul>\n<p>\u7f3a\u70b9\uff1a<\/p>\n<ul>\n<li>\u534f\u8bae\u7279\u5f81\u8f83\u4e3a\u660e\u663e\uff0c\u53ef\u80fd\u4f1a\u88ab\u67d0\u4e9b\u7f51\u7edc\u5ba1\u67e5\u6280\u672f\u68c0\u6d4b\u5230\u55b5\u3002<\/li>\n<li>\u4e0d\u652f\u6301\u771f\u6b63\u7684\u5168\u6d41\u91cf\u6df7\u6dc6\u55b5\u3002<\/li>\n<\/ul>\n<p><strong>V2Ray<\/strong>\uff1a<br \/>\n\u4f18\u70b9\uff1a<\/p>\n<ul>\n<li>\u652f\u6301\u591a\u79cd\u534f\u8bae\uff0c\u7075\u6d3b\u914d\u7f6e\u55b5\u3002<\/li>\n<li>\u8f83\u5f3a\u7684\u6297\u5c01\u9501\u80fd\u529b\uff0c\u9690\u853d\u6027\u9ad8\u55b5\u3002<\/li>\n<li>\u652f\u6301\u6d41\u91cf\u6df7\u6dc6\uff0c\u53ef\u6a21\u62df\u6b63\u5e38\u6d41\u91cf\uff0c\u96be\u4ee5\u88ab\u68c0\u6d4b\u55b5\u3002<\/li>\n<\/ul>\n<p>\u7f3a\u70b9\uff1a<\/p>\n<ul>\n<li>\u8bbe\u7f6e\u76f8\u5bf9\u590d\u6742\uff0c\u65b0\u624b\u4e0a\u624b\u8f83\u96be\u55b5\u3002<\/li>\n<li>\u8d44\u6e90\u6d88\u8017\u76f8\u5bf9\u8f83\u5927\u55b5\u3002<\/li>\n<\/ul>\n<p><strong>Xray<\/strong>\uff08\u76f8\u5f53\u4e8eV2Ray\u7684\u8fdb\u9636\u7248\uff09\uff1a<br \/>\n\u4f18\u70b9\uff1a<\/p>\n<ul>\n<li>\u6c47\u96c6\u4e86V2Ray\u7684\u6240\u6709\u4f18\u70b9\uff0c\u4e14\u8fdb\u884c\u4e86\u4f18\u5316\u55b5\u3002<\/li>\n<li>\u63d0\u4f9b\u66f4\u591a\u7684\u534f\u8bae\uff0c\u6bd4\u5982XTLS\u7b49\uff0c\u6548\u7387\u66f4\u9ad8\u55b5\u3002<\/li>\n<\/ul>\n<p>\u7f3a\u70b9\uff1a<\/p>\n<ul>\n<li>\u548cV2Ray\u7c7b\u4f3c\uff0c\u914d\u7f6e\u8f83\u4e3a\u590d\u6742\u55b5\u3002<\/li>\n<li>\u9700\u8981\u7528\u6237\u6709\u4e00\u5b9a\u7684\u6280\u672f\u80cc\u666f\u55b5\u3002<\/li>\n<\/ul>\n<p>\u5728\u9009\u62e9\u4f7f\u7528\u8fd9\u4e9b\u4ee3\u7406\u7684\u65f6\u5019\uff0c\u8981\u8003\u8651\u5230\u81ea\u5df1\u7684\u9700\u6c42\u3001\u7f51\u7edc\u73af\u5883\u3001\u6280\u672f\u80fd\u529b\u55b5\u3002\u4e0d\u540c\u73af\u5883\u548c\u9700\u6c42\u4e0b\uff0c\u6700\u5408\u9002\u7684\u9009\u62e9\u4e5f\u53ef\u80fd\u4e0d\u540c\u55b5\u3002\u53e6\u5916\uff0c\u4f7f\u7528\u4ee3\u7406\u670d\u52a1\uff0c\u8981\u786e\u4fdd\u5408\u6cd5\u5408\u89c4\u55b5\uff5e<\/p>\n<ol>\n<li><strong>Host<\/strong>\uff1a\n<ul>\n<li>\u5728\u7f51\u7edc\u4e2d\uff0c<code>Host<\/code>\u901a\u5e38\u6307\u4f60\u7684\u670d\u52a1\u6216\u7f51\u7ad9\u7684\u57df\u540d\u55b5\u3002<\/li>\n<li>\u5728\u4ee3\u7406\u8bbe\u7f6e\u4e2d\uff0c\u4fee\u6539<code>Host<\/code>\u5934\u53ef\u4ee5\u5e2e\u52a9\u4f60\u7ed5\u8fc7\u4e00\u4e9b\u7f51\u7edc\u9650\u5236\u55b5\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>TLS<\/strong>\uff1a\n<ul>\n<li>TLS\uff08\u4f20\u8f93\u5c42\u5b89\u5168\u534f\u8bae\uff09\u662f\u4e00\u79cd\u52a0\u5bc6\u534f\u8bae\uff0c\u7528\u6765\u4fdd\u62a4\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u4e4b\u95f4\u7684\u901a\u4fe1\u5b89\u5168\u55b5\u3002<\/li>\n<li>\u542f\u7528TLS\u53ef\u4ee5\u786e\u4fdd\u4f60\u7684\u6570\u636e\u5728\u4f20\u8f93\u8fc7\u7a0b\u4e2d\u4e0d\u4f1a\u88ab\u7a83\u542c\u6216\u7be1\u6539\u55b5\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>\u8bc1\u4e66<\/strong>\uff1a\n<ul>\n<li>\u6570\u5b57\u8bc1\u4e66\u7528\u6765\u9a8c\u8bc1\u7f51\u7ad9\u6216\u670d\u52a1\u5668\u7684\u8eab\u4efd\uff0c\u4fdd\u8bc1\u4ea4\u6d41\u53cc\u65b9\u662f\u53ef\u4fe1\u7684\u55b5\u3002<\/li>\n<li>\u8bc1\u4e66\u901a\u5e38\u7531\u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08CA\uff09\u7b7e\u53d1\uff0c\u5305\u542b\u516c\u94a5\u3001\u8eab\u4efd\u4fe1\u606f\u7b49\u55b5\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>\u5728\u9762\u677f\u4e2d\u8fdb\u884c\u8bbe\u7f6e\u65f6\uff0c\u4f60\u53ef\u80fd\u9700\u8981\u586b\u5199\u6216\u4e0a\u4f20\u76f8\u5173\u4fe1\u606f\uff0c\u6bd4\u5982\uff1a<\/p>\n<ul>\n<li>\u8bc1\u4e66\uff08Cert\uff09\u6587\u4ef6\u8def\u5f84\uff1aTLS\u52a0\u5bc6\u6240\u9700\u7684\u516c\u94a5\u8bc1\u4e66\u6587\u4ef6\u4f4d\u7f6e\u55b5\u3002<\/li>\n<li>\u79c1\u94a5\uff08Key\uff09\u6587\u4ef6\u8def\u5f84\uff1a\u914d\u5408\u8bc1\u4e66\u4f7f\u7528\u7684\u79c1\u94a5\u6587\u4ef6\u4f4d\u7f6e\u55b5\u3002<\/li>\n<li>\u8bc1\u4e66\u9881\u53d1\u673a\u6784\u94fe\uff08CA Chain\uff09\u6587\u4ef6\u8def\u5f84\uff1a\u4e00\u4e32\u8bc1\u4e66\u8def\u5f84\uff0c\u4e3a\u4e86\u63d0\u4f9b\u8bc1\u4e66\u7684\u4fe1\u4efb\u94fe\u55b5\u3002<\/li>\n<\/ul>\n<p>\u542f\u7528TLS\u548c\u4f7f\u7528\u5408\u9002\u7684\u8bc1\u4e66\uff0c\u53ef\u4ee5\u5927\u5927\u63d0\u5347\u60a8\u4f7f\u7528\u4ee3\u7406\u670d\u52a1\u65f6\u7684\u5b89\u5168\u6027\u55b5\u3002\u4e0d\u8fc7\uff0c\u8bbe\u7f6e\u8fd9\u4e9b\u53c2\u6570\u65f6\u8981\u5c0f\u5fc3\u55b5\uff0c\u4e0d\u6b63\u786e\u7684\u8bbe\u7f6e\u53ef\u80fd\u5bfc\u81f4\u670d\u52a1\u4e0d\u80fd\u6b63\u5e38\u5de5\u4f5c\u55b5\u3002\u4e00\u5b9a\u8981\u786e\u4fdd\u4f60\u62e5\u6709\u5408\u6cd5\u7684\u8bc1\u4e66\u5e76\u4e14\u6309\u7167\u6b63\u786e\u7684\u65b9\u6cd5\u914d\u7f6e\u55b5\uff5e\u5982\u679c\u4f60\u5728\u8bbe\u7f6e\u4e2d\u9047\u5230\u4efb\u4f55\u95ee\u9898\uff0c\u8bb0\u5f97\u67e5\u9605\u5b98\u65b9\u6587\u6863\u6216\u8005\u5411\u4e13\u4e1a\u4eba\u58eb\u5bfb\u6c42\u5e2e\u52a9\u55b5\u3002<\/p>\n<h3 id=\"\u5177\u4f53\u64cd\u4f5c\u4e3e\u4f8b\">\u5177\u4f53\u64cd\u4f5c\u4e3e\u4f8b<\/h3>\n<p>\u8fdb\u5165web\u9762\u677f<\/p>\n<p>\u5de6\u4fa7\u5165\u7ad9\u5217\u8868<\/p>\n<p>\u6dfb\u52a0<\/p>\n<p><strong>\u914d\u7f6e\u5f88\u591a\u79cd\u60c5\u51b5\uff0c\u53ef\u81ea\u884c\u63a2\u7a76\u3002<\/strong><\/p>\n<p>\u63a8\u8350\u4e00\u79cd\uff1a\uff08\u6309\u7167web\u6dfb\u52a0\u586b\u5165\u987a\u5e8f\uff09<\/p>\n<div class=\"table-wrap\">\n<table>\n<thead>\n<tr>\n<th>\u5907\u6ce8<\/th>\n<th>\u542f\u7528<\/th>\n<th>\u534f\u8bae<\/th>\n<th>\u76d1\u542cIP<\/th>\n<th>\u7aef\u53e3<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u968f\u4fbf<\/td>\n<td>\u6253\u5f00<\/td>\n<td>shadowsocks<\/td>\n<td>\u7559\u7a7a<\/td>\n<td>\u968f\u4fbf<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"table-wrap\">\n<table>\n<thead>\n<tr>\n<th>\u603b\u6d41\u91cf<\/th>\n<th>\u5230\u671f\u65f6\u95f4<\/th>\n<th>\u52a0\u5bc6<\/th>\n<th>\u5bc6\u7801<\/th>\n<th>\u7f51\u7edc<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u968f\u4fbf<\/td>\n<td>\u968f\u4fbf<\/td>\n<td>chacha20-poly1305<\/td>\n<td>\u586b\u4e2a<\/td>\n<td>tcp+udp<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"table-wrap\">\n<table>\n<thead>\n<tr>\n<th>\u4f20\u8f93<\/th>\n<th>\u8def\u5f84<\/th>\n<th>\u8bf7\u6c42\u5934 :Host<\/th>\n<th>tls<\/th>\n<th>\u57df\u540d<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>ws<\/td>\n<td>\/path<\/td>\n<td>\u4f60\u7684\u57df\u540d<\/td>\n<td>\u5f00<\/td>\n<td>\u4f60\u7684\u57df\u540d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"table-wrap\">\n<table>\n<thead>\n<tr>\n<th>\u8bc1\u4e66<\/th>\n<th>\u516c\u94a5\u6587\u4ef6\u8def\u5f84<\/th>\n<th>\u5bc6\u94a5\u6587\u4ef6\u8def\u5f84<\/th>\n<th>sniffin<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>certificate file path<\/td>\n<td>\/root\/cert.crt<\/td>\n<td>\/root\/private.key<\/td>\n<td>\u5f00<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2 id=\"\u4f7f\u7528\u4ee3\u7406\">\u4f7f\u7528\u4ee3\u7406<\/h2>\n<p>\u4f7f\u7528v2rayN<\/p>\n<p>\u6dfb\u52a0\u3010Shadowsocks\u3011\u670d\u52a1\u5668<\/p>\n<div class=\"table-wrap\">\n<table>\n<thead>\n<tr>\n<th>\u522b\u540d<\/th>\n<th>\u5730\u5740<\/th>\n<th>\u7aef\u53e3<\/th>\n<th>\u5bc6\u7801<\/th>\n<th>\u52a0\u5bc6\u65b9\u5f0f<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u968f\u4fbf<\/td>\n<td>IP\u5730\u5740<\/td>\n<td>\u548c\u4e0a\u9762\u4e00\u6837<\/td>\n<td>\u548c\u4e0a\u9762\u4e00\u6837<\/td>\n<td>\u548c\u4e0a\u9762\u4e00\u6837<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"table-wrap\">\n<table>\n<thead>\n<tr>\n<th>\u4f20\u8f93\u534f\u8bae<\/th>\n<th>\u4f2a\u88c5\u7c7b\u578b<\/th>\n<th>\u4f2a\u88c5\u57df\u540d<\/th>\n<th>\u8def\u5f84<\/th>\n<th>TLS<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u548c\u4e0a\u9762\u4e00\u6837<\/td>\n<td>none<\/td>\n<td>\u548c\u4e0a\u9762\u4e00\u6837\u4f60\u7684\u57df\u540d<\/td>\n<td>\/path<\/td>\n<td>\u5f00<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"table-wrap\">\n<table>\n<thead>\n<tr>\n<th>SNI<\/th>\n<th>\u8df3\u8fc7\u8bc1\u4e66\u9a8c\u8bc1<\/th>\n<th>Fingerprint<\/th>\n<th>Alpn<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u57df\u540d<\/td>\n<td>\u6253\u5f00<\/td>\n<td>\u968f\u4fbf<\/td>\n<td>http\/1.1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<figure class=\"highlight plaintext\">\n<div class=\"highlight-tools \"><i class=\"fas fa-angle-down expand \"><\/i><\/p>\n<div class=\"code-lang\">PLAINTEXT<\/div>\n<div class=\"copy-notice\"><\/div>\n<p><i class=\"fas fa-paste copy-button\"><\/i><\/div>\n<table>\n<tbody>\n<tr>\n<td class=\"gutter\">\n<pre><span class=\"line\">1<\/span>\n<span class=\"line\">2<\/span>\n<span class=\"line\">3<\/span>\n<span class=\"line\">4<\/span>\n<span class=\"line\">5<\/span>\n<span class=\"line\">6<\/span>\n<span class=\"line\">7<\/span>\n<span class=\"line\">8<\/span>\n<span class=\"line\">9<\/span>\n<span class=\"line\">10<\/span>\n<span class=\"line\">11<\/span>\n<span class=\"line\">12<\/span>\n<span class=\"line\">13<\/span>\n<span class=\"line\">14<\/span>\n<span class=\"line\">15<\/span>\n<span class=\"line\">16<\/span><\/pre>\n<\/td>\n<td class=\"code\">\n<pre><span class=\"line\">x-ui \u7ba1\u7406\u811a\u672c\u4f7f\u7528\u65b9\u6cd5: <\/span>\n<span class=\"line\">----------------------------------------------<\/span>\n<span class=\"line\">x-ui              - \u663e\u793a\u7ba1\u7406\u83dc\u5355 (\u529f\u80fd\u66f4\u591a)<\/span>\n<span class=\"line\">x-ui start        - \u542f\u52a8 x-ui \u9762\u677f<\/span>\n<span class=\"line\">x-ui stop         - \u505c\u6b62 x-ui \u9762\u677f<\/span>\n<span class=\"line\">x-ui restart      - \u91cd\u542f x-ui \u9762\u677f<\/span>\n<span class=\"line\">x-ui status       - \u67e5\u770b x-ui \u72b6\u6001<\/span>\n<span class=\"line\">x-ui enable       - \u8bbe\u7f6e x-ui \u5f00\u673a\u81ea\u542f<\/span>\n<span class=\"line\">x-ui disable      - \u53d6\u6d88 x-ui \u5f00\u673a\u81ea\u542f<\/span>\n<span class=\"line\">x-ui log          - \u67e5\u770b x-ui \u65e5\u5fd7<\/span>\n<span class=\"line\">x-ui v2-ui        - \u8fc1\u79fb\u672c\u673a\u5668\u7684 v2-ui \u8d26\u53f7\u6570\u636e\u81f3 x-ui<\/span>\n<span class=\"line\">x-ui update       - \u66f4\u65b0 x-ui \u9762\u677f<\/span>\n<span class=\"line\">x-ui install      - \u5b89\u88c5 x-ui \u9762\u677f<\/span>\n<span class=\"line\">x-ui uninstall    - \u5378\u8f7d x-ui \u9762\u677f<\/span>\n<span class=\"line\">----------------------------------------------<\/span>\n\n<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<\/article>\n<div class=\"post-copyright\">\n<div class=\"post-copyright__author\"><span class=\"post-copyright-meta\">\u6587\u7ae0\u4f5c\u8005:\u00a0<\/span><span class=\"post-copyright-info\"><a rel=\"nofollow\" href=\"https:\/\/polar-bear.eu.org\/\">Ziyourufeng<\/a><\/span><\/div>\n<div class=\"post-copyright__type\"><span class=\"post-copyright-meta\">\u6587\u7ae0\u94fe\u63a5:\u00a0<\/span><span class=\"post-copyright-info\"><a rel=\"nofollow\" href=\"https:\/\/polar-bear.eu.org\/2024\/01\/31\/zi-jian-wang-luo-dai-li\/\">https:\/\/polar-bear.eu.org\/2024\/01\/31\/zi-jian-wang-luo-dai-li\/<\/a><\/span><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u65e5\u5e38\u751f\u6d3b\u4e2d\u7ecf\u5e38\u9047\u5230\u65e0\u6cd5\u8fde\u63a5\u5230\u7f51\u7edc\u7684\u60c5\u51b5\ud83e\udd23\uff0c\u6240\u4ee5\u6211\u4eec\u53ef\u4ee5\u81ea\u5df1\u642d\u5efa\u4e00\u4e2a\u4ee3\u7406\u3002 \u8fd9\u6837\u5c31\u53ef\u4ee5\u4e0a\u7f51\u4e86 \u5f00\u59cb \u53ef\u4ee5\u8fde\u63a5\u5230\u7f51\u7edc\u7684\u670d\u52a1\u5668 \u57df\u540d\uff08\u53ef\u65e0\uff09\u7528\u4e8e\u6d41\u91cf\u4f2a\u88c5 \u6709\u57df\u540d \u57df\u540d\u662f\u7528\u4e8e\u4f2a\u88c5\u57df\u540d\uff0c\u8fdb\u884c\u8fde\u63a5\u7684\uff0c\u53ef\u65e0\uff0c\u4f5c\u7528\u4f2a\u88c5\uff0c\u9632\u6b62\u4e4b\u540e\u65e0\u6cd5\u8fde\u63a5\u5230\u7f51\u7edc\u3002 \u57df\u540dDNS&#8230;<\/p>\n","protected":false},"author":1,"featured_media":6409,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[136],"tags":[],"topic":[],"class_list":["post-6403","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-136"],"_links":{"self":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts\/6403","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6403"}],"version-history":[{"count":1,"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts\/6403\/revisions"}],"predecessor-version":[{"id":643984,"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts\/6403\/revisions\/643984"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=\/"}],"wp:attachment":[{"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6403"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6403"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6403"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftopic&post=6403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}