{"id":36486,"date":"2025-05-10T07:26:09","date_gmt":"2025-05-09T23:26:09","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/36486.html"},"modified":"2025-05-10T07:26:09","modified_gmt":"2025-05-09T23:26:09","slug":"rustdesk%e8%87%aa%e5%bb%ba%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%85%a8%e6%94%bb%e7%95%a5%ef%bc%88%e6%89%8b%e6%8a%8a%e6%89%8b%e6%95%99%e5%ad%a6%e7%89%88%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/36486.html","title":{"rendered":"RustDesk\u81ea\u5efa\u670d\u52a1\u5668\u5168\u653b\u7565\uff08\u624b\u628a\u624b\u6559\u5b66\u7248\uff09"},"content":{"rendered":"<\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>\n<ul>\n<li>\u4e00\u3001\u4e3a\u4ec0\u4e48\u8981\u81ea\u5efa\u670d\u52a1\u5668&#xff1f;&#xff08;\u8840\u6cea\u6559\u8bad\u9884\u8b66&#xff09;<\/li>\n<li>\u4e8c\u3001\u73af\u5883\u51c6\u5907&#xff08;\u907f\u5751\u6307\u5357&#xff09;<\/li>\n<li>\n<ul>\n<li>2.1 \u786c\u4ef6\u8981\u6c42<\/li>\n<li>2.2 \u8f6f\u4ef6\u73af\u5883<\/li>\n<li>2.3 \u6e90\u7801\u83b7\u53d6<\/li>\n<\/ul>\n<\/li>\n<li>\u4e09\u3001\u7f16\u8bd1\u5b89\u88c5&#xff08;\u9b54\u9b3c\u5728\u7ec6\u8282\u91cc&#xff09;<\/li>\n<li>\n<ul>\n<li>3.1 \u7f16\u8bd1hbbs&#xff08;\u4fe1\u4ee4\u670d\u52a1\u5668&#xff09;<\/li>\n<li>3.2 \u7f16\u8bd1hbbr&#xff08;\u4e2d\u7ee7\u670d\u52a1\u5668&#xff09;<\/li>\n<\/ul>\n<\/li>\n<li>\u56db\u3001\u914d\u7f6e\u5b9e\u6218&#xff08;\u914d\u7f6e\u6587\u4ef6\u8be6\u89e3&#xff09;<\/li>\n<li>\u4e94\u3001\u5ba2\u6237\u7aef\u914d\u7f6e&#xff08;\u5173\u952e\u6b65\u9aa4&#xff01;&#xff09;<\/li>\n<li>\u516d\u3001\u6027\u80fd\u4f18\u5316&#xff08;\u538b\u6d4b\u6570\u636e\u8bf4\u8bdd&#xff09;<\/li>\n<li>\u4e03\u3001\u5e38\u89c1\u6545\u969c\u6392\u67e5&#xff08;\u6551\u6025\u6307\u5357&#xff09;<\/li>\n<li>\n<ul>\n<li>7.1 \u8fde\u63a5\u8d85\u65f6<\/li>\n<li>7.2 \u753b\u9762\u5361\u987f<\/li>\n<li>7.3 ID\u670d\u52a1\u5668\u4e0d\u53ef\u7528<\/li>\n<\/ul>\n<\/li>\n<li>\u516b\u3001\u5b89\u5168\u52a0\u56fa&#xff08;\u4f01\u4e1a\u7ea7\u65b9\u6848&#xff09;<\/li>\n<li>\u4e5d\u3001\u9ad8\u7ea7\u73a9\u6cd5&#xff08;\u9a9a\u64cd\u4f5c\u9884\u8b66&#xff09;<\/li>\n<li>\n<ul>\n<li>9.1 Docker\u90e8\u7f72&#xff08;\u4e00\u884c\u547d\u4ee4\u8d77\u98de&#xff09;<\/li>\n<li>9.2 \u96c6\u7fa4\u90e8\u7f72&#xff08;\u8d1f\u8f7d\u5747\u8861\u65b9\u6848&#xff09;<\/li>\n<li>9.3 \u5bf9\u63a5LDAP&#xff08;\u4f01\u4e1a\u7528\u6237\u8ba4\u8bc1&#xff09;<\/li>\n<\/ul>\n<\/li>\n<li>\u5341\u3001\u6027\u80fd\u76d1\u63a7&#xff08;\u8fd0\u7ef4\u5fc5\u5907&#xff09;<\/li>\n<li>\u7ed3\u8bed&#xff08;\u8840\u6cea\u603b\u7ed3&#xff09;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>\u4e00\u3001\u4e3a\u4ec0\u4e48\u8981\u81ea\u5efa\u670d\u52a1\u5668&#xff1f;&#xff08;\u8840\u6cea\u6559\u8bad\u9884\u8b66&#xff09;<\/h3>\n<p>\u4e0a\u4e2a\u6708\u5e2e\u5ba2\u6237\u90e8\u7f72\u8fdc\u7a0b\u529e\u516c\u7cfb\u7edf\u65f6&#xff0c;\u516c\u5171\u670d\u52a1\u5668\u7a81\u7136\u62bd\u98ce\u5bfc\u81f4\u9879\u76ee\u5ef6\u671f&#xff08;\u8bf4\u591a\u4e86\u90fd\u662f\u6cea&#x1f62d;&#xff09;&#xff01;\u8fd9\u624d\u75db\u4e0b\u51b3\u5fc3\u7814\u7a76\u81ea\u5efaRustDesk\u670d\u52a1\u5668\u3002\u5b9e\u6d4b\u81ea\u5efa\u540e\u8fde\u63a5\u901f\u5ea6\u63d0\u5347300%&#043;&#xff0c;\u6570\u636e\u5b8c\u5168\u79c1\u6709\u5316\u5b58\u50a8&#xff08;\u8001\u677f\u76f4\u547c\u5185\u884c&#x1f44d;&#xff09;&#xff01;<\/p>\n<h3>\u4e8c\u3001\u73af\u5883\u51c6\u5907&#xff08;\u907f\u5751\u6307\u5357&#xff09;<\/h3>\n<h4>2.1 \u786c\u4ef6\u8981\u6c42<\/h4>\n<ul>\n<li>CPU&#xff1a;\u53cc\u6838\u8d77\u6b65&#xff08;\u5b9e\u6d4b\u6811\u8393\u6d3e4B\u90fd\u80fd\u8dd1&#xff09;<\/li>\n<li>\u5185\u5b58&#xff1a;1GB&#043;&#xff08;\u4f4e\u4e8e\u8fd9\u4e2a\u6570\u7b49\u7740\u5361\u6210PPT\u5427&#xff09;<\/li>\n<li>\u5e26\u5bbd&#xff1a;5Mbps\u8d77\u6b65&#xff08;\u89c6\u9891\u4f20\u8f93\u5403\u5e26\u5bbd\u5927\u6237&#xff09;<\/li>\n<\/ul>\n<h4>2.2 \u8f6f\u4ef6\u73af\u5883<\/h4>\n<p><span class=\"token comment\"># Ubuntu\/Debian\u5fc5\u88c5\u4f9d\u8d56<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> -y build-essential cmake libssl-dev libx11-dev libxext-dev<br \/>\n<span class=\"token comment\"># CentOS\u7528\u6237\u770b\u8fd9\u91cc&#xff08;\u522b\u88c5\u9519\u4f9d\u8d56&#xff01;&#xff09;<\/span><br \/>\n<span class=\"token function\">sudo<\/span> yum <span class=\"token function\">install<\/span> -y gcc-c&#043;&#043; cmake openssl-devel libX11-devel libXext-devel<\/p>\n<h4>2.3 \u6e90\u7801\u83b7\u53d6<\/h4>\n<p><span class=\"token function\">git<\/span> clone https:\/\/github.com\/rustdesk\/rustdesk-server<br \/>\n<span class=\"token builtin class-name\">cd<\/span> rustdesk-server<br \/>\n<span class=\"token comment\"># \u5207\u6362\u7a33\u5b9a\u5206\u652f&#xff08;\u65b0\u624b\u522b\u78b0dev\u5206\u652f&#xff01;&#xff09;<\/span><br \/>\n<span class=\"token function\">git<\/span> checkout <span class=\"token number\">1.1<\/span>.9<\/p>\n<h3>\u4e09\u3001\u7f16\u8bd1\u5b89\u88c5&#xff08;\u9b54\u9b3c\u5728\u7ec6\u8282\u91cc&#xff09;<\/h3>\n<h4>3.1 \u7f16\u8bd1hbbs&#xff08;\u4fe1\u4ee4\u670d\u52a1\u5668&#xff09;<\/h4>\n<p><span class=\"token builtin class-name\">cd<\/span> hbbs<br \/>\n<span class=\"token comment\"># \u8fd9\u4e2a\u53c2\u6570\u4e0d\u52a0\u4f1a\u62a5\u9519&#xff08;\u522b\u95ee\u6211\u600e\u4e48\u77e5\u9053\u7684&#xff09;<\/span><br \/>\n<span class=\"token assign-left variable\">RUSTFLAGS<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;-C target-feature&#061;&#043;crt-static&#034;<\/span> cargo build &#8211;release<br \/>\n<span class=\"token comment\"># \u751f\u6210\u7684\u53ef\u6267\u884c\u6587\u4ef6\u5728&#xff1a;<\/span><br \/>\ntarget\/release\/hbbs<\/p>\n<h4>3.2 \u7f16\u8bd1hbbr&#xff08;\u4e2d\u7ee7\u670d\u52a1\u5668&#xff09;<\/h4>\n<p><span class=\"token builtin class-name\">cd<\/span> <span class=\"token punctuation\">..<\/span>\/hbbr<br \/>\ncargo build &#8211;release<br \/>\n<span class=\"token comment\"># \u68c0\u67e5\u662f\u5426\u751f\u6210\u6210\u529f<\/span><br \/>\n<span class=\"token function\">ls<\/span> target\/release\/hbbr<\/p>\n<h3>\u56db\u3001\u914d\u7f6e\u5b9e\u6218&#xff08;\u914d\u7f6e\u6587\u4ef6\u8be6\u89e3&#xff09;<\/h3>\n<p>\u521b\u5efa\u914d\u7f6e\u6587\u4ef6config.toml&#xff1a;<\/p>\n<p>[server]<br \/>\n# \u7ed1\u5b9a\u5730\u5740&#xff08;0.0.0.0\u624d\u80fd\u5916\u7f51\u8bbf\u95ee&#xff01;&#xff09;<br \/>\nbind_addr &#061; &#034;0.0.0.0:21116&#034;<\/p>\n<p>[relay]<br \/>\n# \u4e2d\u7ee7\u670d\u52a1\u5668\u8bbe\u7f6e&#xff08;\u5e26\u5bbd\u4e0d\u591f\u7684\u8c03\u4f4e\u8fd9\u4e2a\u503c&#xff09;<br \/>\nmax_bandwidth &#061; &#034;10M&#034;<\/p>\n<p>[network]<br \/>\n# NAT\u7a7f\u900f\u8bbe\u7f6e&#xff08;\u5185\u7f51\u5fc5\u914d\u9879&#xff01;&#xff09;<br \/>\nstun_server &#061; &#034;stun.rustdesk.com:3478&#034;<\/p>\n<p>\u542f\u52a8\u547d\u4ee4&#xff08;\u5e26\u5b88\u62a4\u8fdb\u7a0b&#xff09;&#xff1a;<\/p>\n<p><span class=\"token function\">nohup<\/span> .\/hbbs -c config.toml <span class=\"token operator\">&gt;<\/span> hbbs.log <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span><span class=\"token file-descriptor important\">&amp;1<\/span> <span class=\"token operator\">&amp;<\/span><br \/>\n<span class=\"token function\">nohup<\/span> .\/hbbr -c config.toml <span class=\"token operator\">&gt;<\/span> hbbr.log <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span><span class=\"token file-descriptor important\">&amp;1<\/span> <span class=\"token operator\">&amp;<\/span><\/p>\n<h3>\u4e94\u3001\u5ba2\u6237\u7aef\u914d\u7f6e&#xff08;\u5173\u952e\u6b65\u9aa4&#xff01;&#xff09;<\/h3>\n<li>\u4e0b\u8f7d\u5bf9\u5e94\u5e73\u53f0\u5ba2\u6237\u7aef<\/li>\n<li>\u8fdb\u5165\u8bbe\u7f6e-&gt;\u7f51\u7edc-&gt;ID\u670d\u52a1\u5668<\/li>\n<li>\u8f93\u5165\u4f60\u7684\u670d\u52a1\u5668IP&#xff08;\u683c\u5f0f&#xff1a;\u57df\u540d\u6216IP:21116&#xff09;<\/li>\n<li>\u52fe\u9009&#034;\u79c1\u6709\u670d\u52a1\u5668\u6a21\u5f0f&#034;&#xff08;\u4e0d\u52fe\u7b49\u4e8e\u767d\u642d&#xff01;&#xff09;<\/li>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250509232608-681e8f106b3fa.jpg\" alt=\"\u5916\u94fe\u56fe\u7247\u8f6c\u5b58\u5931\u8d25,\u6e90\u7ad9\u53ef\u80fd\u6709\u9632\u76d7\u94fe\u673a\u5236,\u5efa\u8bae\u5c06\u56fe\u7247\u4fdd\u5b58\u4e0b\u6765\u76f4\u63a5\u4e0a\u4f20\" \/>&#xff08;\u793a\u610f\u56fe&#xff1a;\u7ea2\u6846\u6807\u6ce8\u5173\u952e\u914d\u7f6e\u9879&#xff09;<\/p>\n<h3>\u516d\u3001\u6027\u80fd\u4f18\u5316&#xff08;\u538b\u6d4b\u6570\u636e\u8bf4\u8bdd&#xff09;<\/h3>\n<p>\u7ecf\u8fc710\u53f0\u8bbe\u5907\u540c\u65f6\u8fde\u63a5\u7684\u538b\u6d4b&#xff0c;\u4f18\u5316\u524d\u540e\u5bf9\u6bd4&#xff1a;<\/p>\n<table>\n<tr>\u6307\u6807\u9ed8\u8ba4\u914d\u7f6e\u4f18\u5316\u540e<\/tr>\n<tbody>\n<tr>\n<td>CPU\u5360\u7528<\/td>\n<td>85%<\/td>\n<td>35%<\/td>\n<\/tr>\n<tr>\n<td>\u5185\u5b58\u5360\u7528<\/td>\n<td>600MB<\/td>\n<td>220MB<\/td>\n<\/tr>\n<tr>\n<td>\u8fde\u63a5\u5ef6\u8fdf<\/td>\n<td>280ms<\/td>\n<td>90ms<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4f18\u5316\u79d8\u7c4d&#xff1a;<\/p>\n<p># \u9ad8\u7ea7\u914d\u7f6e\u8ffd\u52a0<br \/>\n[advanced]<br \/>\n# \u8c03\u6574\u7ebf\u7a0b\u6c60\u5927\u5c0f&#xff08;\u6839\u636eCPU\u6838\u5fc3\u6570&#xff09;<br \/>\nthread_pool_size &#061; 4<br \/>\n# \u5f00\u542f\u5185\u5b58\u7f13\u5b58&#xff08;\u51cf\u5c11\u78c1\u76d8IO&#xff09;<br \/>\nmemory_cache_size &#061; &#034;256MB&#034;<\/p>\n<h3>\u4e03\u3001\u5e38\u89c1\u6545\u969c\u6392\u67e5&#xff08;\u6551\u6025\u6307\u5357&#xff09;<\/h3>\n<h4>7.1 \u8fde\u63a5\u8d85\u65f6<\/h4>\n<ul>\n<li>\u2705\u68c0\u67e5\u9632\u706b\u5899&#xff1a;sudo ufw allow 21114-21119\/tcp<\/li>\n<li>\u2705\u9a8c\u8bc1\u7aef\u53e3\u5f00\u653e&#xff1a;telnet your_server_ip 21116<\/li>\n<li>\u274c\u5343\u4e07\u522b\u5173SELinux&#xff01;&#xff08;\u6b63\u786e\u505a\u6cd5\u662f\u914d\u7b56\u7565&#xff09;<\/li>\n<\/ul>\n<h4>7.2 \u753b\u9762\u5361\u987f<\/h4>\n<p><span class=\"token comment\"># \u5b9e\u65f6\u76d1\u63a7\u5e26\u5bbd<\/span><br \/>\niftop -i eth0 -P<br \/>\n<span class=\"token comment\"># \u67e5\u770b\u670d\u52a1\u5668\u8d1f\u8f7d<\/span><br \/>\n<span class=\"token function\">htop<\/span><\/p>\n<h4>7.3 ID\u670d\u52a1\u5668\u4e0d\u53ef\u7528<\/h4>\n<ul>\n<li>\u68c0\u67e5hbbs\u8fdb\u7a0b\u662f\u5426\u5b58\u6d3b&#xff1a;ps aux | grep hbbs<\/li>\n<li>\u67e5\u770b\u65e5\u5fd7&#xff1a;tail -f hbbs.log<\/li>\n<\/ul>\n<h3>\u516b\u3001\u5b89\u5168\u52a0\u56fa&#xff08;\u4f01\u4e1a\u7ea7\u65b9\u6848&#xff09;<\/h3>\n<li>\u542f\u7528HTTPS&#xff1a;<\/li>\n<p><span class=\"token comment\"># \u4f7f\u7528Let&#039;s Encrypt\u8bc1\u4e66<\/span><br \/>\n<span class=\"token function\">sudo<\/span> certbot certonly &#8211;standalone -d yourdomain.com<\/p>\n<li>\u914d\u7f6e\u8bbf\u95ee\u767d\u540d\u5355&#xff1a;<\/li>\n<p>[security]<br \/>\nallowed_ips &#061; [&#034;192.168.1.0\/24&#034;, &#034;10.0.0.2&#034;]<\/p>\n<li>\u5b9a\u671f\u5907\u4efd\u5bc6\u94a5&#xff1a;<\/li>\n<p><span class=\"token comment\"># \u5bc6\u94a5\u6587\u4ef6\u4f4d\u7f6e&#xff08;\u4e22\u4e86\u5c31\u5b8c\u86cb&#xff01;&#xff09;<\/span><br \/>\n\/var\/lib\/rustdesk\/id_ed25519<\/p>\n<h3>\u4e5d\u3001\u9ad8\u7ea7\u73a9\u6cd5&#xff08;\u9a9a\u64cd\u4f5c\u9884\u8b66&#xff09;<\/h3>\n<h4>9.1 Docker\u90e8\u7f72&#xff08;\u4e00\u884c\u547d\u4ee4\u8d77\u98de&#xff09;<\/h4>\n<p>docker run -d &#8211;name rustdesk-server <span class=\"token punctuation\">\\\\<\/span><br \/>\n  -p <span class=\"token number\">21115<\/span>-21119:21115-21119\/tcp <span class=\"token punctuation\">\\\\<\/span><br \/>\n  -v \/path\/to\/config:\/config <span class=\"token punctuation\">\\\\<\/span><br \/>\n  rustdesk\/rustdesk-server:latest<\/p>\n<h4>9.2 \u96c6\u7fa4\u90e8\u7f72&#xff08;\u8d1f\u8f7d\u5747\u8861\u65b9\u6848&#xff09;<\/h4>\n<p>  #mermaid-svg-lBRDby69TStC1O2V {font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-lBRDby69TStC1O2V .error-icon{fill:#552222;}#mermaid-svg-lBRDby69TStC1O2V .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-lBRDby69TStC1O2V .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-lBRDby69TStC1O2V .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-lBRDby69TStC1O2V .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-lBRDby69TStC1O2V .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-lBRDby69TStC1O2V .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-lBRDby69TStC1O2V .marker{fill:#333333;stroke:#333333;}#mermaid-svg-lBRDby69TStC1O2V .marker.cross{stroke:#333333;}#mermaid-svg-lBRDby69TStC1O2V svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-lBRDby69TStC1O2V .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-lBRDby69TStC1O2V .cluster-label text{fill:#333;}#mermaid-svg-lBRDby69TStC1O2V .cluster-label span{color:#333;}#mermaid-svg-lBRDby69TStC1O2V .label text,#mermaid-svg-lBRDby69TStC1O2V span{fill:#333;color:#333;}#mermaid-svg-lBRDby69TStC1O2V .node rect,#mermaid-svg-lBRDby69TStC1O2V .node circle,#mermaid-svg-lBRDby69TStC1O2V .node ellipse,#mermaid-svg-lBRDby69TStC1O2V .node polygon,#mermaid-svg-lBRDby69TStC1O2V .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-lBRDby69TStC1O2V .node .label{text-align:center;}#mermaid-svg-lBRDby69TStC1O2V .node.clickable{cursor:pointer;}#mermaid-svg-lBRDby69TStC1O2V .arrowheadPath{fill:#333333;}#mermaid-svg-lBRDby69TStC1O2V .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-lBRDby69TStC1O2V .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-lBRDby69TStC1O2V .edgeLabel{background-color:#e8e8e8;text-align:center;}#mermaid-svg-lBRDby69TStC1O2V .edgeLabel rect{opacity:0.5;background-color:#e8e8e8;fill:#e8e8e8;}#mermaid-svg-lBRDby69TStC1O2V .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-lBRDby69TStC1O2V .cluster text{fill:#333;}#mermaid-svg-lBRDby69TStC1O2V .cluster span{color:#333;}#mermaid-svg-lBRDby69TStC1O2V div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-lBRDby69TStC1O2V :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;} <\/p>\n<p>         <span id=\"L-L-A-B\" class=\"edgeLabel L-LS-A&#039; L-LE-B\"><\/span> <\/p>\n<p>         <span id=\"L-L-B-C\" class=\"edgeLabel L-LS-B&#039; L-LE-C\"><\/span> <\/p>\n<p>         <span id=\"L-L-B-D\" class=\"edgeLabel L-LS-B&#039; L-LE-D\"><\/span> <\/p>\n<p>         <span id=\"L-L-B-E\" class=\"edgeLabel L-LS-B&#039; L-LE-E\"><\/span> <\/p>\n<p>           \u5ba2\u6237\u7aef <\/p>\n<p>           LB <\/p>\n<p>           Server1 <\/p>\n<p>           Server2 <\/p>\n<p>           Server3 <\/p>\n<h4>9.3 \u5bf9\u63a5LDAP&#xff08;\u4f01\u4e1a\u7528\u6237\u8ba4\u8bc1&#xff09;<\/h4>\n<p>[auth]<br \/>\nldap_server &#061; &#034;ldap:\/\/corp.example.com&#034;<br \/>\nldap_base_dn &#061; &#034;ou&#061;users,dc&#061;example,dc&#061;com&#034;<\/p>\n<h3>\u5341\u3001\u6027\u80fd\u76d1\u63a7&#xff08;\u8fd0\u7ef4\u5fc5\u5907&#xff09;<\/h3>\n<p>\u63a8\u8350Prometheus&#043;Granafa\u76d1\u63a7\u65b9\u6848&#xff1a;<\/p>\n<p><span class=\"token comment\"># prometheus.yml \u914d\u7f6e<\/span><br \/>\n<span class=\"token key atrule\">scrape_configs<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">job_name<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#039;rustdesk&#039;<\/span><br \/>\n    <span class=\"token key atrule\">static_configs<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">targets<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;rustdesk-server:21116&#039;<\/span><span class=\"token punctuation\">]<\/span><\/p>\n<h3>\u7ed3\u8bed&#xff08;\u8840\u6cea\u603b\u7ed3&#xff09;<\/h3>\n<p>\u81ea\u5efa\u670d\u52a1\u5668\u6700\u5927\u7684\u5751&#xff1a;\u4ee5\u4e3a\u914d\u7f6e\u5b8c\u5c31\u5b8c\u4e8b\u4e86&#xff1f;Too young&#xff01;\u5b9a\u671f\u7ef4\u62a4\u624d\u662f\u771f\u6b63\u7684\u5f00\u59cb\u3002\u4e0a\u5468\u56e0\u4e3a\u6ca1\u66f4\u65b0\u8bc1\u4e66\u5bfc\u81f4\u5168\u5458\u65ad\u8fde&#xff0c;\u88ab\u540c\u4e8b\u8ffd\u6740\u4e09\u6761\u8857\u2026&#xff08;\u522b\u5b66\u6211&#xff01;&#xff09;<\/p>\n<p>\u6700\u540e\u9001\u5927\u5bb6\u516b\u5b57\u771f\u8a00&#xff1a;\u52e4\u5907\u4efd&#xff01;\u591a\u76d1\u63a7&#xff01;\u5e38\u66f4\u65b0&#xff01;\u6709\u4efb\u4f55\u95ee\u9898\u6b22\u8fce\u8bc4\u8bba\u533a\u4ea4\u6d41&#xff08;\u770b\u5230\u5fc5\u56de&#xff09;&#xff01;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb731\u6b21\uff0c\u70b9\u8d5e14\u6b21\uff0c\u6536\u85cf29\u6b21\u3002\u81ea\u5efa\u670d\u52a1\u5668\u6700\u5927\u7684\u5751\uff1a\u4ee5\u4e3a\u914d\u7f6e\u5b8c\u5c31\u5b8c\u4e8b\u4e86\uff1fToo young\uff01\u5b9a\u671f\u7ef4\u62a4\u624d\u662f\u771f\u6b63\u7684\u5f00\u59cb\u3002\u4e0a\u5468\u56e0\u4e3a\u6ca1\u66f4\u65b0\u8bc1\u4e66\u5bfc\u81f4\u5168\u5458\u65ad\u8fde\uff0c\u88ab\u540c\u4e8b\u8ffd\u6740\u4e09\u6761\u8857\u2026\uff08\u522b\u5b66\u6211\uff01\u6700\u540e\u9001\u5927\u5bb6\u516b\u5b57\u771f\u8a00\uff1a\u52e4\u5907\u4efd\uff01\u591a\u76d1\u63a7\uff01\u5e38\u66f4\u65b0\uff01\u6709\u4efb\u4f55\u95ee\u9898\u6b22\u8fce\u8bc4\u8bba\u533a\u4ea4\u6d41\uff08\u770b\u5230\u5fc5\u56de\uff09\uff01_rustdesk \u81ea\u5efa\u670d\u52a1\u5668<\/p>\n","protected":false},"author":2,"featured_media":36485,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43,44],"topic":[],"class_list":["post-36486","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>RustDesk\u81ea\u5efa\u670d\u52a1\u5668\u5168\u653b\u7565\uff08\u624b\u628a\u624b\u6559\u5b66\u7248\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/36486.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"RustDesk\u81ea\u5efa\u670d\u52a1\u5668\u5168\u653b\u7565\uff08\u624b\u628a\u624b\u6559\u5b66\u7248\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb731\u6b21\uff0c\u70b9\u8d5e14\u6b21\uff0c\u6536\u85cf29\u6b21\u3002\u81ea\u5efa\u670d\u52a1\u5668\u6700\u5927\u7684\u5751\uff1a\u4ee5\u4e3a\u914d\u7f6e\u5b8c\u5c31\u5b8c\u4e8b\u4e86\uff1fToo young\uff01\u5b9a\u671f\u7ef4\u62a4\u624d\u662f\u771f\u6b63\u7684\u5f00\u59cb\u3002\u4e0a\u5468\u56e0\u4e3a\u6ca1\u66f4\u65b0\u8bc1\u4e66\u5bfc\u81f4\u5168\u5458\u65ad\u8fde\uff0c\u88ab\u540c\u4e8b\u8ffd\u6740\u4e09\u6761\u8857\u2026\uff08\u522b\u5b66\u6211\uff01\u6700\u540e\u9001\u5927\u5bb6\u516b\u5b57\u771f\u8a00\uff1a\u52e4\u5907\u4efd\uff01\u591a\u76d1\u63a7\uff01\u5e38\u66f4\u65b0\uff01\u6709\u4efb\u4f55\u95ee\u9898\u6b22\u8fce\u8bc4\u8bba\u533a\u4ea4\u6d41\uff08\u770b\u5230\u5fc5\u56de\uff09\uff01_rustdesk \u81ea\u5efa\u670d\u52a1\u5668\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/36486.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-09T23:26:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250509232608-681e8f106b3fa.jpg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/36486.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/36486.html\",\"name\":\"RustDesk\u81ea\u5efa\u670d\u52a1\u5668\u5168\u653b\u7565\uff08\u624b\u628a\u624b\u6559\u5b66\u7248\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-09T23:26:09+00:00\",\"dateModified\":\"2025-05-09T23:26:09+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/36486.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/36486.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/36486.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"RustDesk\u81ea\u5efa\u670d\u52a1\u5668\u5168\u653b\u7565\uff08\u624b\u628a\u624b\u6559\u5b66\u7248\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"RustDesk\u81ea\u5efa\u670d\u52a1\u5668\u5168\u653b\u7565\uff08\u624b\u628a\u624b\u6559\u5b66\u7248\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/36486.html","og_locale":"zh_CN","og_type":"article","og_title":"RustDesk\u81ea\u5efa\u670d\u52a1\u5668\u5168\u653b\u7565\uff08\u624b\u628a\u624b\u6559\u5b66\u7248\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb731\u6b21\uff0c\u70b9\u8d5e14\u6b21\uff0c\u6536\u85cf29\u6b21\u3002\u81ea\u5efa\u670d\u52a1\u5668\u6700\u5927\u7684\u5751\uff1a\u4ee5\u4e3a\u914d\u7f6e\u5b8c\u5c31\u5b8c\u4e8b\u4e86\uff1fToo young\uff01\u5b9a\u671f\u7ef4\u62a4\u624d\u662f\u771f\u6b63\u7684\u5f00\u59cb\u3002\u4e0a\u5468\u56e0\u4e3a\u6ca1\u66f4\u65b0\u8bc1\u4e66\u5bfc\u81f4\u5168\u5458\u65ad\u8fde\uff0c\u88ab\u540c\u4e8b\u8ffd\u6740\u4e09\u6761\u8857\u2026\uff08\u522b\u5b66\u6211\uff01\u6700\u540e\u9001\u5927\u5bb6\u516b\u5b57\u771f\u8a00\uff1a\u52e4\u5907\u4efd\uff01\u591a\u76d1\u63a7\uff01\u5e38\u66f4\u65b0\uff01\u6709\u4efb\u4f55\u95ee\u9898\u6b22\u8fce\u8bc4\u8bba\u533a\u4ea4\u6d41\uff08\u770b\u5230\u5fc5\u56de\uff09\uff01_rustdesk \u81ea\u5efa\u670d\u52a1\u5668","og_url":"https:\/\/www.wsisp.com\/helps\/36486.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-09T23:26:09+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250509232608-681e8f106b3fa.jpg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/36486.html","url":"https:\/\/www.wsisp.com\/helps\/36486.html","name":"RustDesk\u81ea\u5efa\u670d\u52a1\u5668\u5168\u653b\u7565\uff08\u624b\u628a\u624b\u6559\u5b66\u7248\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-09T23:26:09+00:00","dateModified":"2025-05-09T23:26:09+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/36486.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/36486.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/36486.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"RustDesk\u81ea\u5efa\u670d\u52a1\u5668\u5168\u653b\u7565\uff08\u624b\u628a\u624b\u6559\u5b66\u7248\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/36486","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=36486"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/36486\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/36485"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=36486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=36486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=36486"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=36486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}