{"id":81858,"date":"2026-07-25T04:43:14","date_gmt":"2026-07-24T20:43:14","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/81858.html"},"modified":"2026-07-25T04:43:14","modified_gmt":"2026-07-24T20:43:14","slug":"%e9%9b%b6%e5%9f%ba%e7%a1%80%e6%90%ad%e5%bb%ba%e5%ae%b6%e5%ba%ad%e5%85%ac%e7%bd%91%e6%9c%8d%e5%8a%a1%e5%99%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/81858.html","title":{"rendered":"\u96f6\u57fa\u7840\u642d\u5efa\u5bb6\u5ead\u516c\u7f51\u670d\u52a1\u5668"},"content":{"rendered":"<p>\u5982\u4f55\u81ea\u5efa\u516c\u7f51\u670d\u52a1\u5668&#xff1a;\u4ece\u96f6\u642d\u5efa\u5bb6\u5ead\u670d\u52a1\u5668\u7684\u5b8c\u6574\u6307\u5357<\/p>\n<p>\u6708\u79df2000&#043;\u7684\u4e91\u4e3b\u673a\u7528\u4e0d\u8d77&#xff1f;\u624b\u628a\u624b\u6559\u4f60\u7528\u95f2\u7f6e\u7535\u8111\u642d\u5efa\u5c5e\u4e8e\u81ea\u5df1\u7684\u516c\u7f51\u670d\u52a1\u5668<\/p>\n<p>\u76ee\u5f55<\/p>\n<\/p>\n<p>\u00b7 \u4e00\u3001\u4e3a\u4ec0\u4e48\u9009\u62e9\u81ea\u5efa\u516c\u7f51\u670d\u52a1\u5668&#xff1f;<\/p>\n<p>\u00b7 \u4e8c\u3001\u4e24\u79cd\u4e3b\u6d41\u65b9\u6848\u5bf9\u6bd4&#xff1a;\u4f60\u9700\u8981\u54ea\u4e00\u4e2a&#xff1f;<\/p>\n<p>\u00b7 \u4e09\u3001\u65b9\u6848\u4e00\u8be6\u89e3&#xff1a;\u6709\u516c\u7f51IP\u65f6\u7684\u76f4\u63a5\u53d1\u5e03\u65b9\u6848<\/p>\n<p>\u00b7 \u56db\u3001\u65b9\u6848\u4e8c\u8be6\u89e3&#xff1a;\u65e0\u516c\u7f51IP\u65f6\u7684FRP\u5185\u7f51\u7a7f\u900f\u65b9\u6848<\/p>\n<p>\u00b7 \u4e94\u3001\u4e00\u6b65\u4e00\u6b65\u6559\u4f60\u90e8\u7f72FRP\u5185\u7f51\u7a7f\u900f<\/p>\n<p>\u00b7 \u516d\u3001\u5b89\u5168\u52a0\u56fa&#xff1a;\u8ba9\u516c\u7f51\u670d\u52a1\u5668\u66f4\u5b89\u5168<\/p>\n<p>\u00b7 \u4e03\u3001\u5408\u6cd5\u6027\u4e0e\u98ce\u9669\u8b66\u793a<\/p>\n<p>\u00b7 \u516b\u3001\u5e38\u89c1\u95ee\u9898\u6392\u67e5<\/p>\n<p>\u00b7 \u4e5d\u3001\u5199\u5728\u6700\u540e<\/p>\n<\/p>\n<p>&#8212;<\/p>\n<\/p>\n<p>\u4e00\u3001\u4e3a\u4ec0\u4e48\u9009\u62e9\u81ea\u5efa\u516c\u7f51\u670d\u52a1\u5668&#xff1f;<\/p>\n<p>\u4e91\u670d\u52a1\u5668\u7684\u6210\u672c\u4e4b\u6240\u4ee5\u9ad8&#xff0c;\u662f\u56e0\u4e3a\u5b83\u5305\u542b\u4e86\u786c\u4ef6\u3001\u8fd0\u7ef4\u3001\u5e26\u5bbd\u3001\u7535\u529b\u7b49\u591a\u91cd\u8d39\u7528\u3002\u76f8\u6bd4\u4e4b\u4e0b&#xff0c;\u81ea\u5efa\u65b9\u6848\u7684\u4f18\u52bf\u975e\u5e38\u660e\u663e&#xff1a;<\/p>\n<\/p>\n<p>1. \u6210\u672c\u6781\u4f4e&#xff1a;\u5229\u7528\u95f2\u7f6e\u65e7\u7535\u8111\u6216\u8ff7\u4f60\u4e3b\u673a&#xff0c;\u786c\u4ef6\u6210\u672c\u53ef\u63a7\u5236\u5728500\u5143\u4ee5\u5185&#xff0c;\u7535\u8d39\u6bcf\u6708\u4ec5\u9700\u51e0\u5143\u5230\u5341\u51e0\u5143\u3002<\/p>\n<p>2. \u6570\u636e\u5b8c\u5168\u638c\u63a7&#xff1a;\u654f\u611f\u4fe1\u606f\u5b58\u50a8\u4e8e\u672c\u5730&#xff0c;\u907f\u514d\u7b2c\u4e09\u65b9\u670d\u52a1\u5546\u7684\u6570\u636e\u6cc4\u9732\u98ce\u9669\u3002<\/p>\n<p>3. \u81ea\u7531\u5ea6\u9ad8&#xff1a;\u914d\u7f6e\u968f\u5fc3\u6240\u6b32&#xff0c;\u60f3\u88c5\u4ec0\u4e48\u7cfb\u7edf\u3001\u8dd1\u4ec0\u4e48\u670d\u52a1\u90fd\u7531\u4f60\u8bf4\u4e86\u7b97\u3002<\/p>\n<p>4. \u6280\u672f\u6210\u957f&#xff1a;\u901a\u8fc7\u5b9e\u64cd\u638c\u63e1Linux\u7cfb\u7edf\u7ba1\u7406\u3001\u7f51\u7edc\u7a7f\u900f\u3001\u5b89\u5168\u52a0\u56fa\u7b49\u6838\u5fc3\u6280\u80fd\u3002<\/p>\n<\/p>\n<p>\u4e8c\u3001\u4e24\u79cd\u4e3b\u6d41\u65b9\u6848\u5bf9\u6bd4&#xff1a;\u4f60\u9700\u8981\u54ea\u4e00\u4e2a&#xff1f;<\/p>\n<\/p>\n<p>\u81ea\u5efa\u516c\u7f51\u670d\u52a1\u5668\u7684\u6838\u5fc3\u6311\u6218\u662f&#xff1a;\u4f60\u7684\u5bb6\u5ead\u5bbd\u5e26\u5927\u6982\u7387\u6ca1\u6709\u516c\u7f51IP\u3002\u6839\u636e\u4f60\u7684\u5b9e\u9645\u60c5\u51b5&#xff0c;\u6709\u4e24\u79cd\u4e0d\u540c\u65b9\u6848\u53ef\u4f9b\u9009\u62e9\u3002<\/p>\n<\/p>\n<p>\u65b9\u6848\u4e00&#xff1a;\u6709\u516c\u7f51IP \u2192 \u76f4\u63a5\u7aef\u53e3\u6620\u5c04<\/p>\n<\/p>\n<p>\u9002\u7528\u6761\u4ef6&#xff1a;\u4f60\u7684\u5bbd\u5e26\u62e5\u6709\u52a8\u6001\u516c\u7f51IP&#xff08;\u7535\u4fe1\u548c\u8054\u901a\u7528\u6237\u76f8\u5bf9\u5bb9\u6613\u7533\u8bf7&#xff0c;\u79fb\u52a8\u7528\u6237\u8f83\u96be&#xff09;\u3002<\/p>\n<\/p>\n<p>\u5de5\u4f5c\u539f\u7406&#xff1a;\u5728\u8def\u7531\u5668\u4e0a\u8bbe\u7f6e\u7aef\u53e3\u8f6c\u53d1&#xff0c;\u5c06\u5916\u7f51\u8bbf\u95ee\u6307\u5411\u4f60\u5185\u7f51\u7684\u670d\u52a1\u8bbe\u5907&#xff0c;\u518d\u914d\u5408DDNS&#xff08;\u52a8\u6001\u57df\u540d\u89e3\u6790&#xff09;\u7ed1\u5b9a\u4e00\u4e2a\u56fa\u5b9a\u7684\u57df\u540d\u3002<\/p>\n<\/p>\n<p>\u4f18\u70b9&#xff1a;\u6210\u672c\u6700\u4f4e&#xff08;\u65e0\u9700\u989d\u5916\u8d2d\u4e70\u4e91\u670d\u52a1\u5668&#xff09;\u3001\u901f\u5ea6\u6700\u5feb&#xff08;\u76f4\u8fbe\u5bb6\u4e2d&#xff09;\u3001\u5ef6\u8fdf\u6700\u4f4e\u3002<\/p>\n<\/p>\n<p>\u7f3a\u70b9&#xff1a;\u516c\u7f51IP\u8d8a\u6765\u8d8a\u96be\u7533\u8bf7&#xff0c;\u653f\u7b56\u9010\u5e74\u6536\u7d27&#xff1b;\u5bb6\u5bbd\u4e0a\u884c\u5e26\u5bbd\u666e\u904d\u8f83\u4f4e&#xff08;\u901a\u5e3820-50Mbps&#xff09;&#xff0c;\u4e0d\u9002\u5408\u9ad8\u5e76\u53d1\u573a\u666f\u3002<\/p>\n<\/p>\n<p>\u65b9\u6848\u4e8c&#xff1a;\u65e0\u516c\u7f51IP \u2192 FRP\u5185\u7f51\u7a7f\u900f<\/p>\n<\/p>\n<p>\u9002\u7528\u6761\u4ef6&#xff1a;\u65e0\u8bba\u4f60\u6709\u6ca1\u6709\u516c\u7f51IP&#xff0c;\u90fd\u53ef\u4ee5\u7528\u8fd9\u5957\u65b9\u6848\u3002<\/p>\n<\/p>\n<p>\u5de5\u4f5c\u539f\u7406&#xff1a;\u51c6\u5907\u4e00\u53f0\u4ef7\u683c\u6781\u4f4e\u7684\u4e91\u670d\u52a1\u5668&#xff08;\u6708\u4ed820-50\u5143&#xff09;\u4f5c\u4e3a\u201c\u4e2d\u8f6c\u7ad9\u201d&#xff0c;FRP\u5728\u5176\u4e2d\u8fd0\u884c\u670d\u52a1\u7aef&#xff08;frps&#xff09;&#xff0c;\u5728\u4f60\u5bb6\u4e2d\u8fd0\u884c\u5ba2\u6237\u7aef&#xff08;frpc&#xff09;\u3002\u5f53\u5916\u7f51\u7528\u6237\u53d1\u8d77\u8bf7\u6c42\u65f6&#xff0c;\u6d41\u91cf\u5148\u5230\u8fbe\u4e91\u670d\u52a1\u5668&#xff0c;\u518d\u7ecf\u7531\u96a7\u9053\u5b89\u5168\u3001\u5feb\u901f\u5730\u8f6c\u53d1\u81f3\u4f60\u5bb6\u91cc\u7684\u8bbe\u5907\u4e2d\u3002<\/p>\n<\/p>\n<p>\u4f18\u70b9&#xff1a;\u9002\u5e94\u6240\u6709\u7f51\u7edc\u73af\u5883\u3001\u914d\u7f6e\u7075\u6d3b\u3001\u652f\u6301\u591a\u534f\u8bae\u3001\u53ef\u6269\u5c55\u6027\u5f3a\u3002<\/p>\n<\/p>\n<p>\u7f3a\u70b9&#xff1a;\u6bcf\u6708\u9700\u8981\u652f\u4ed8\u4e91\u670d\u52a1\u5668\u79df\u91d1&#xff08;\u7ea620-50\u5143&#xff09;&#xff0c;\u4f46\u8fdc\u4f4e\u4e8e\u6708\u79df2000&#043;\u7684\u6602\u8d35\u65b9\u6848\u3002<\/p>\n<\/p>\n<p>\u6211\u7684\u5efa\u8bae&#xff1a;\u5982\u679c\u4f60\u53ea\u60f3\u81ea\u7528\u3001\u4e0d\u60f3\u6298\u817e\u516c\u7f51IP\u7533\u8bf7&#xff0c;\u76f4\u63a5\u9009\u62e9\u65b9\u6848\u4e8c&#xff08;FRP\u5185\u7f51\u7a7f\u900f&#xff09;\u3002\u8fd9\u4e5f\u662f\u672c\u6587\u7684\u91cd\u70b9\u5185\u5bb9\u3002<\/p>\n<\/p>\n<p>\u4e09\u3001\u65b9\u6848\u4e00\u8be6\u89e3&#xff1a;\u6709\u516c\u7f51IP\u65f6\u7684\u76f4\u63a5\u53d1\u5e03\u65b9\u6848<\/p>\n<\/p>\n<p>3.1 \u5982\u4f55\u5224\u65ad\u81ea\u5df1\u662f\u5426\u6709\u516c\u7f51IP&#xff1f;<\/p>\n<\/p>\n<p>\u8fdb\u5165\u8def\u7531\u5668\u540e\u53f0&#xff0c;\u627e\u5230WAN\u53e3\u72b6\u6001&#xff0c;\u67e5\u770b\u83b7\u53d6\u7684IP\u5730\u5740&#xff1a;<\/p>\n<\/p>\n<p>\u00b7 \u5982\u679cIP\u662f100.64.x.x ~ 100.127.x.x\u8303\u56f4&#xff0c;\u8bf4\u660e\u4f60\u5728\u8fd0\u8425\u5546\u7684\u5927\u5185\u7f51\u4e2d&#xff0c;\u6ca1\u6709\u516c\u7f51IP\u3002<\/p>\n<p>\u00b7 \u5982\u679c\u662f\u5176\u4ed6\u516c\u7f51IP\u6bb5&#xff0c;\u518d\u53bb\u8bbf\u95ee https:\/\/mao.fan\/mynat \u6d4b\u8bd5NAT\u7c7b\u578b&#xff0c;\u4e24\u8005\u4e00\u81f4\u5219\u8bf4\u660e\u4f60\u6709\u516c\u7f51IP\u3002<\/p>\n<\/p>\n<p>3.2 \u6ca1\u6709\u516c\u7f51IP\u600e\u4e48\u529e&#xff1f;<\/p>\n<\/p>\n<p>\u5982\u679c\u6709\u516c\u7f51IP\u7684\u9700\u6c42&#xff0c;\u53ef\u4ee5\u81f4\u7535\u8fd0\u8425\u5546\u5ba2\u670d&#xff08;\u7535\u4fe110000\u3001\u8054\u901a10010&#xff09;&#xff0c;\u8bf4\u660e\u4f60\u56e0\u201c\u8fdc\u7a0b\u529e\u516c\u201d\u3001\u201cNAS\u642d\u5efa\u201d\u7b49\u9700\u6c42\u7533\u8bf7\u516c\u7f51IP\u3002\u5982\u679c\u9047\u5230\u63a8\u8bff\u6216\u62d2\u7edd&#xff0c;\u53ef\u4ee5\u5c1d\u8bd5\u901a\u8fc7\u5de5\u4fe1\u90e8\u6295\u8bc9\u6e20\u9053\u63a8\u52a8\u5904\u7406\u3002<\/p>\n<\/p>\n<p>\u9700\u8981\u7279\u522b\u6ce8\u610f&#xff1a;\u90e8\u5206\u5730\u533a\u7533\u8bf7\u516c\u7f51IP\u53ef\u80fd\u9700\u8981\u989d\u5916\u6536\u8d39\u3002\u6839\u636e\u6700\u65b0\u7528\u6237\u53cd\u9988&#xff0c;\u5317\u4eac\u7535\u4fe1\u516c\u7f51IP\u7ea610\u5143\/\u6708&#xff0c;\u79fb\u52a8\u516c\u7f51IP\u7ea620\u5143\/\u6708\u3002\u7533\u8bf7\u65f6\u52a1\u5fc5\u8bf4\u660e\u4ec5\u7528\u4e8e\u81ea\u7528&#xff0c;\u5207\u5fcc\u63d0\u53ca\u4efb\u4f55\u5546\u4e1a\u7528\u9014\u3002<\/p>\n<\/p>\n<p>3.3 \u914d\u7f6eDDNS\u4e0e\u7aef\u53e3\u8f6c\u53d1<\/p>\n<\/p>\n<p>\u5982\u679c\u6709\u4e86\u516c\u7f51IP&#xff0c;\u9700\u8981\u5b8c\u6210\u4ee5\u4e0b\u4e09\u6b65&#xff1a;<\/p>\n<\/p>\n<p>1. \u8bbe\u7f6e\u7aef\u53e3\u8f6c\u53d1&#xff1a;\u767b\u5f55\u8def\u7531\u5668\u7ba1\u7406\u540e\u53f0&#xff0c;\u627e\u5230\u201c\u7aef\u53e3\u8f6c\u53d1\u201d&#xff08;\u6216\u201c\u865a\u62df\u670d\u52a1\u5668\u201d&#xff09;\u529f\u80fd&#xff0c;\u5c06\u5916\u7f51\u7279\u5b9a\u7aef\u53e3\u6620\u5c04\u5230\u5185\u7f51\u670d\u52a1\u5668\u7684IP\u548c\u7aef\u53e3\u4e0a\u3002<\/p>\n<p>2. \u90e8\u7f72DDNS\u670d\u52a1&#xff1a;\u7531\u4e8e\u5bb6\u5ead\u5bbd\u5e26\u7684\u516c\u7f51IP\u662f\u52a8\u6001\u53d8\u5316\u7684&#xff0c;\u9700\u8981\u4e00\u4e2aDDNS&#xff08;\u52a8\u6001\u57df\u540d\u89e3\u6790&#xff09;\u670d\u52a1\u6765\u7ed1\u5b9a\u56fa\u5b9a\u57df\u540d\u3002\u514d\u8d39\u7684DDNS\u670d\u52a1\u6709\u82b1\u751f\u58f3\u3001DuckDNS\u7b49\u3002\u5728\u8def\u7531\u5668\u4e2d\u767b\u5f55DDNS\u8d26\u53f7&#xff0c;\u4e00\u4e2a\u56fa\u5b9a\u7684\u57df\u540d\u5c31\u4f1a\u548c\u4f60\u7684\u52a8\u6001\u516c\u7f51IP\u81ea\u52a8\u7ed1\u5b9a\u5728\u4e00\u8d77\u3002<\/p>\n<p>3. \u6d4b\u8bd5\u5916\u7f51\u8bbf\u95ee&#xff1a;\u901a\u8fc7\u624b\u673a4G\/5G\u7f51\u7edc\u8bbf\u95ee http:\/\/\u4f60\u7684\u57df\u540d:\u4f60\u8bbe\u7f6e\u7684\u7aef\u53e3&#xff0c;\u5982\u679c\u53ef\u4ee5\u6253\u5f00\u670d\u52a1\u5668\u9875\u9762&#xff0c;\u8bf4\u660e\u914d\u7f6e\u6210\u529f\u3002<\/p>\n<\/p>\n<p>\u56db\u3001\u65b9\u6848\u4e8c\u8be6\u89e3&#xff1a;\u65e0\u516c\u7f51IP\u65f6\u7684FRP\u5185\u7f51\u7a7f\u900f\u65b9\u6848<\/p>\n<\/p>\n<p>4.1 \u4ec0\u4e48\u662fFRP&#xff1f;<\/p>\n<\/p>\n<p>FRP&#xff08;Fast Reverse Proxy&#xff09;\u662f\u4e00\u4e2a\u9ad8\u6027\u80fd\u7684\u53cd\u5411\u4ee3\u7406\u5e94\u7528&#xff0c;\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u5c06\u5185\u7f51\u670d\u52a1\u5b89\u5168\u3001\u4fbf\u6377\u5730\u66b4\u9732\u5230\u516c\u7f51\u3002\u5b83\u91c7\u7528C\/S\u67b6\u6784&#xff0c;\u5305\u542b\u670d\u52a1\u7aef&#xff08;frps&#xff09;\u548c\u5ba2\u6237\u7aef&#xff08;frpc&#xff09;\u4e24\u4e2a\u6838\u5fc3\u7ec4\u4ef6\u3002<\/p>\n<\/p>\n<p>\u5de5\u4f5c\u539f\u7406&#xff1a;\u516c\u7f51\u670d\u52a1\u5668\u4e0a\u8fd0\u884c\u670d\u52a1\u7aef&#xff0c;\u5185\u7f51\u8bbe\u5907\u4e0a\u8fd0\u884c\u5ba2\u6237\u7aef&#xff0c;\u4e24\u8005\u4e4b\u95f4\u5efa\u7acb\u4e00\u6761\u52a0\u5bc6\u96a7\u9053\u3002\u5916\u7f51\u8bf7\u6c42\u5148\u5230\u8fbe\u670d\u52a1\u7aef&#xff0c;\u518d\u901a\u8fc7\u96a7\u9053\u8f6c\u53d1\u5230\u5185\u7f51\u5ba2\u6237\u7aef&#xff0c;\u6700\u540e\u8fd4\u56de\u54cd\u5e94\u6570\u636e\u3002<\/p>\n<\/p>\n<p>\u6838\u5fc3\u7279\u6027&#xff1a;<\/p>\n<\/p>\n<p>\u00b7 \u591a\u534f\u8bae\u652f\u6301&#xff1a;TCP\/UDP\/HTTP\/HTTPS\u5168\u534f\u8bae\u7a7f\u900f<\/p>\n<p>\u00b7 \u8d1f\u8f7d\u5747\u8861&#xff1a;\u652f\u6301\u591a\u5ba2\u6237\u7aef\u8f6e\u8be2\u5206\u53d1\u8bf7\u6c42<\/p>\n<p>\u00b7 \u5065\u5eb7\u68c0\u67e5&#xff1a;\u81ea\u52a8\u68c0\u6d4b\u5931\u6548\u5ba2\u6237\u7aef\u5e76\u79fb\u9664<\/p>\n<p>\u00b7 \u52a0\u5bc6\u901a\u4fe1&#xff1a;\u53ef\u9009TLS\u52a0\u5bc6\u4fdd\u969c\u6570\u636e\u5b89\u5168<\/p>\n<\/p>\n<p>4.2 FRP\u7684\u56db\u7c7b\u4ee3\u7406\u6a21\u5f0f<\/p>\n<\/p>\n<p>FRP\u652f\u6301\u56db\u79cd\u4ee3\u7406\u6a21\u5f0f&#xff08;Proxy Type&#xff09;&#xff0c;\u4f60\u53ef\u4ee5\u6839\u636e\u9700\u6c42\u7075\u6d3b\u9009\u7528&#xff1a;<\/p>\n<\/p>\n<p>\u6a21\u5f0f \u53c2\u6570 type \u9002\u7528\u573a\u666f \u7279\u70b9<\/p>\n<p>TCP\u7a7f\u900f tcp SSH\u3001\u8fdc\u7a0b\u684c\u9762\u3001\u6570\u636e\u5e93\u3001\u6e38\u620f\u8054\u673a \u914d\u7f6e\u6700\u7b80\u5355&#xff0c;\u901a\u7528\u6027\u6700\u5f3a<\/p>\n<p>HTTP\/HTTPS\u7a7f\u900f http\/https \u7f51\u7ad9\u3001\u535a\u5ba2\u3001API\u670d\u52a1 \u652f\u6301\u57df\u540d\u8def\u7531&#xff0c;\u53ef\u590d\u7528\u7aef\u53e3<\/p>\n<p>\u5b89\u5168TCP\u7a7f\u900f stcp \u4e0d\u60f3\u516c\u5f00\u7ed9\u6240\u6709\u4eba\u8bbf\u95ee\u7684\u670d\u52a1 \u670d\u52a1\u7aef\u53ea\u8d1f\u8d23\u7275\u7ebf&#xff0c;\u4e0d\u4e2d\u8f6c\u6570\u636e<\/p>\n<p>P2P\u7a7f\u900f xtcp \u5927\u6587\u4ef6\u4f20\u8f93\u3001\u89c6\u9891\u6d41 \u5efa\u7acbP2P\u76f4\u8fde\u540e\u4e0d\u7ecf\u8fc7\u4e2d\u8f6c\u670d\u52a1\u5668<\/p>\n<\/p>\n<p>4.3 \u90e8\u7f72\u524d\u9700\u8981\u51c6\u5907\u4ec0\u4e48&#xff1f;<\/p>\n<\/p>\n<p>1. \u4e00\u53f0\u4e91\u670d\u52a1\u5668&#xff08;\u4e2d\u8f6c\u7ad9&#xff09;&#xff1a;\u914d\u7f6e\u8981\u6c42\u5f88\u4f4e&#xff0c;1\u6838CPU\u3001512MB\u5185\u5b58\u5373\u53ef\u6ee1\u8db3FRP\u8f6c\u53d1\u9700\u6c42\u3002\u56fd\u5185\u4e3b\u6d41\u5382\u5546&#xff08;\u963f\u91cc\u4e91\u3001\u817e\u8baf\u4e91&#xff09;\u7ecf\u5e38\u6709\u65b0\u4eba\u7279\u60e0\u6d3b\u52a8&#xff0c;\u751a\u81f3\u80fd\u4ee51-3\u6298\u7684\u4ef7\u683c\u5165\u624b&#xff0c;\u9884\u7b97\u53ef\u4ee5\u63a7\u5236\u5728\u6708\u4ed8\u51e0\u5341\u5143\u4ee5\u5185\u3002\u4e0d\u5728\u610f\u7f51\u7edc\u5ef6\u8fdf\u7684\u8bdd&#xff0c;\u4e5f\u53ef\u4ee5\u9009\u62e9DigitalOcean\u3001Vultr\u7b49\u56fd\u9645\u5382\u5546\u7684\u5ec9\u4ef7\u5b9e\u4f8b\u3002<\/p>\n<p>2. \u4e00\u53f0\u5185\u7f51\u8bbe\u5907&#xff1a;\u53ef\u4ee5\u662f\u95f2\u7f6e\u7684\u65e7\u7535\u8111\u3001\u8ff7\u4f60\u4e3b\u673a&#xff08;\u5982Intel NUC\u3001\u6811\u8393\u6d3e4B&#xff09;&#xff0c;\u751a\u81f3\u662f\u4f60\u65e5\u5e38\u4f7f\u7528\u7684\u4e3b\u529b\u673a\u3002<\/p>\n<\/p>\n<p>4.4 \u5982\u4f55\u9009\u62e9\u64cd\u4f5c\u7cfb\u7edf&#xff1f;<\/p>\n<\/p>\n<p>\u00b7 \u670d\u52a1\u7aef&#xff08;\u4e91\u670d\u52a1\u5668&#xff09;&#xff1a;\u5efa\u8bae\u4f7f\u7528Linux&#xff08;\u5982Ubuntu Server LTS\u7248\u6216CentOS&#xff09;&#xff0c;\u8d44\u6e90\u5360\u7528\u6781\u4f4e\u3001\u7a33\u5b9a\u9ad8\u6548&#xff0c;\u652f\u630190%\u4ee5\u4e0a\u7684\u5f00\u6e90\u670d\u52a1\u3002<\/p>\n<p>\u00b7 \u5ba2\u6237\u7aef&#xff08;\u5185\u7f51\u8bbe\u5907&#xff09;&#xff1a;\u81ea\u7531\u5ea6\u66f4\u9ad8&#xff0c;Linux\u3001Windows\u3001macOS\u90fd\u53ef\u4ee5&#xff0c;\u53ea\u8981\u80fd\u8fd0\u884cFRP\u5ba2\u6237\u7aef\u5c31\u884c\u3002<\/p>\n<\/p>\n<p>\u5bf9\u4e8e\u521a\u63a5\u89e6Linux\u7684\u670b\u53cb&#xff0c;\u5efa\u8bae\u9009\u62e9Ubuntu 22.04 LTS\u6216\u66f4\u65b0\u7248\u672c&#xff0c;\u5b83\u7684\u793e\u533a\u6587\u6863\u6700\u4e30\u5bcc&#xff0c;\u9047\u5230\u95ee\u9898\u5bb9\u6613\u627e\u5230\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<\/p>\n<p>\u4e94\u3001\u4e00\u6b65\u4e00\u6b65\u6559\u4f60\u90e8\u7f72FRP\u5185\u7f51\u7a7f\u900f<\/p>\n<\/p>\n<p>5.1 \u5728\u4e91\u670d\u52a1\u5668\u4e0a\u90e8\u7f72FRP\u670d\u52a1\u7aef<\/p>\n<\/p>\n<p>\u7b2c\u4e00\u6b65&#xff0c;\u5148\u786e\u8ba4\u4f60\u7684\u4e91\u670d\u52a1\u5668\u67b6\u6784\u3002SSH\u8fde\u63a5\u5230\u670d\u52a1\u5668&#xff0c;\u5728\u7ec8\u7aef\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6765\u67e5\u770b\u7cfb\u7edf\u67b6\u6784&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>uname -m<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u00b7 \u8f93\u51fa x86_64&#xff1a;\u4e0b\u8f7d frp_0.61.2_linux_amd64.tar.gz<\/p>\n<p>\u00b7 \u8f93\u51fa aarch64 \u6216 arm64&#xff1a;\u4e0b\u8f7d frp_0.61.2_linux_arm64.tar.gz<\/p>\n<\/p>\n<p>\u7b2c\u4e8c\u6b65&#xff0c;\u4e0b\u8f7d\u5e76\u89e3\u538bFRP&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p># \u4e0b\u8f7d\u6700\u65b0\u7248\u672c&#xff08;\u5f53\u524d\u6700\u65b0\u4e3a0.61.2&#xff09;<\/p>\n<p>wget https:\/\/github.com\/fatedier\/frp\/releases\/download\/v0.61.2\/frp_0.61.2_linux_amd64.tar.gz<\/p>\n<p># \u89e3\u538b\u7f29<\/p>\n<p>tar -xzvf frp_0.61.2_linux_amd64.tar.gz<\/p>\n<p># \u8fdb\u5165\u89e3\u538b\u76ee\u5f55<\/p>\n<p>cd frp_0.61.2_linux_amd64<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u89e3\u538b\u540e\u4f1a\u5f97\u5230\u56db\u4e2a\u4e3b\u8981\u6587\u4ef6&#xff1a;frps&#xff08;\u670d\u52a1\u7aef\u7a0b\u5e8f&#xff09;\u3001frps.toml&#xff08;\u670d\u52a1\u7aef\u914d\u7f6e\u6587\u4ef6&#xff09;\u3001frpc&#xff08;\u5ba2\u6237\u7aef\u7a0b\u5e8f&#xff09;\u3001frpc.toml&#xff08;\u5ba2\u6237\u7aef\u914d\u7f6e\u6587\u4ef6&#xff09;\u3002\u5728\u670d\u52a1\u7aef\u4e0a&#xff0c;\u6211\u4eec\u53ea\u4fdd\u7559frps\u76f8\u5173\u7684\u6587\u4ef6\u5373\u53ef\u3002<\/p>\n<\/p>\n<p>\u7b2c\u4e09\u6b65&#xff0c;\u914d\u7f6e\u670d\u52a1\u7aef frps.toml \u6587\u4ef6&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;toml<\/p>\n<p># \u670d\u52a1\u7aef\u76d1\u542c\u914d\u7f6e<\/p>\n<p>bindAddr &#061; &#034;0.0.0.0&#034; \u00a0 \u00a0 \u00a0# \u76d1\u542c\u6240\u6709\u7f51\u5361\u5730\u5740<\/p>\n<p>bindPort &#061; 7000 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0# \u5ba2\u6237\u7aef\u8fde\u63a5\u7aef\u53e3<\/p>\n<\/p>\n<p># \u8ba4\u8bc1\u8bbe\u7f6e&#xff08;\u52a1\u5fc5\u66ff\u6362\u4e3a\u81ea\u5df1\u7684\u5f3a\u5bc6\u7801&#xff09;<\/p>\n<p>auth.method &#061; &#034;token&#034;<\/p>\n<p>auth.token &#061; &#034;\u4f60\u7684\u5f3a\u5bc6\u7801&#034; \u00a0 # \u670d\u52a1\u7aef\u4e0e\u5ba2\u6237\u7aef\u9700\u4fdd\u6301\u4e00\u81f4<\/p>\n<\/p>\n<p># \u865a\u62df\u4e3b\u673a\u914d\u7f6e&#xff08;\u7528\u4e8eHTTP\u4ee3\u7406&#xff09;<\/p>\n<p>vhostHTTPPort &#061; 7002<\/p>\n<\/p>\n<p># \u4eea\u8868\u76d8\u914d\u7f6e\u2014\u2014\u65b9\u4fbf\u76d1\u63a7\u670d\u52a1\u72b6\u6001<\/p>\n<p>[webServer]<\/p>\n<p>addr &#061; &#034;0.0.0.0&#034; \u00a0 \u00a0 \u00a0 \u00a0 \u00a0# \u76d1\u542c\u6240\u6709IP&#xff0c;\u4ee5\u4fbf\u8fdc\u7a0b\u8bbf\u95ee<\/p>\n<p>port &#061; 7500 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0# \u9762\u677f\u8bbf\u95ee\u7aef\u53e3<\/p>\n<p>user &#061; &#034;admin&#034; \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # \u9762\u677f\u767b\u5f55\u7528\u6237\u540d<\/p>\n<p>password &#061; &#034;\u4f60\u7684\u9762\u677f\u5bc6\u7801&#034; \u00a0 # \u9762\u677f\u767b\u5f55\u5bc6\u7801&#xff08;\u52a1\u5fc5\u4fee\u6539&#xff09;<\/p>\n<\/p>\n<p># \u65e5\u5fd7\u914d\u7f6e<\/p>\n<p>[log]<\/p>\n<p>to &#061; &#034;\/var\/log\/frps.log&#034; \u00a0# \u65e5\u5fd7\u8f93\u51fa\u4f4d\u7f6e<\/p>\n<p>level &#061; &#034;info&#034; \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # \u65e5\u5fd7\u7ea7\u522b<\/p>\n<p>maxDays &#061; 3 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0# \u65e5\u5fd7\u4fdd\u7559\u5929\u6570<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u8fd9\u4e2a\u914d\u7f6e\u4e2d&#xff0c;bindPort &#061; 7000 \u662f\u5ba2\u6237\u7aef\u8fde\u63a5\u670d\u52a1\u7aef\u7684\u6838\u5fc3\u7aef\u53e3\u3002port &#061; 7500 \u662f\u7ba1\u7406\u9762\u677f\u7684\u7aef\u53e3&#xff0c;\u914d\u7f6e\u5b8c\u6210\u540e\u53ef\u4ee5\u901a\u8fc7 http:\/\/\u4f60\u7684\u4e91\u670d\u52a1\u5668IP:7500 \u8bbf\u95ee\u9762\u677f&#xff0c;\u67e5\u770b\u8fde\u63a5\u72b6\u6001\u548c\u6d41\u91cf\u7edf\u8ba1\u3002<\/p>\n<\/p>\n<p>\u7b2c\u56db\u6b65&#xff0c;\u5f00\u653e\u4e91\u670d\u52a1\u5668\u9632\u706b\u5899\u7aef\u53e3&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p># Ubuntu\/Debian \u4f7f\u7528 ufw<\/p>\n<p>sudo ufw allow 7000\/tcp \u00a0 \u00a0# \u5ba2\u6237\u7aef\u8fde\u63a5\u7aef\u53e3<\/p>\n<p>sudo ufw allow 7500\/tcp \u00a0 \u00a0# \u7ba1\u7406\u9762\u677f\u7aef\u53e3<\/p>\n<p>sudo ufw allow 7002\/tcp \u00a0 \u00a0# HTTP\u865a\u62df\u4e3b\u673a\u7aef\u53e3&#xff08;\u5982\u9700HTTP\u7a7f\u900f&#xff09;<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u7b2c\u4e94\u6b65&#xff0c;\u542f\u52a8\u670d\u52a1\u7aef&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p># \u524d\u53f0\u542f\u52a8&#xff08;\u6d4b\u8bd5\u7528&#xff09;<\/p>\n<p>.\/frps -c frps.toml<\/p>\n<\/p>\n<p># \u540e\u53f0\u542f\u52a8&#xff08;\u6b63\u5f0f\u7528&#xff09;<\/p>\n<p>nohup .\/frps -c frps.toml &gt; \/var\/log\/frps.log 2&gt;&amp;1 &amp;<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u7b2c\u516d\u6b65&#xff0c;\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f&#xff08;\u63a8\u8350\u4f7f\u7528systemd\u65b9\u5f0f&#xff09;&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p># \u521b\u5efa\u670d\u52a1\u6587\u4ef6<\/p>\n<p>sudo nano \/etc\/systemd\/system\/frps.service<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;ini<\/p>\n<p>[Unit]<\/p>\n<p>Description&#061;FRP Server Service<\/p>\n<p>After&#061;network.target<\/p>\n<\/p>\n<p>[Service]<\/p>\n<p>Type&#061;simple<\/p>\n<p>User&#061;nobody<\/p>\n<p>Restart&#061;on-failure<\/p>\n<p>RestartSec&#061;5s<\/p>\n<p>ExecStart&#061;\/\u4f60\u7684FRP\u76ee\u5f55\/frps -c \/\u4f60\u7684FRP\u76ee\u5f55\/frps.toml<\/p>\n<\/p>\n<p>[Install]<\/p>\n<p>WantedBy&#061;multi-user.target<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p># \u91cd\u65b0\u52a0\u8f7dsystemd\u914d\u7f6e\u5e76\u542f\u7528\u670d\u52a1<\/p>\n<p>sudo systemctl daemon-reload<\/p>\n<p>sudo systemctl enable frps.service \u00a0 # \u8bbe\u7f6e\u5f00\u673a\u81ea\u542f<\/p>\n<p>sudo systemctl start frps.service \u00a0 \u00a0# \u7acb\u5373\u542f\u52a8<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>5.2 \u5728\u5185\u7f51\u8bbe\u5907\u4e0a\u914d\u7f6eFRP\u5ba2\u6237\u7aef<\/p>\n<\/p>\n<p>\u7b2c\u4e00\u6b65&#xff0c;\u6839\u636e\u4f60\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u8f7d\u5bf9\u5e94\u7684FRP\u5ba2\u6237\u7aef\u7248\u672c&#xff1a;<\/p>\n<\/p>\n<p>\u00b7 Windows&#xff1a;\u4e0b\u8f7d frp_0.61.2_windows_amd64.zip<\/p>\n<p>\u00b7 macOS&#xff1a;\u4e0b\u8f7d frp_0.61.2_darwin_amd64.tar.gz<\/p>\n<p>\u00b7 Linux&#xff1a;\u4e0b\u8f7d frp_0.61.2_linux_amd64.tar.gz<\/p>\n<\/p>\n<p>\u7b2c\u4e8c\u6b65&#xff0c;\u521b\u5efa\u5ba2\u6237\u7aef\u914d\u7f6e\u6587\u4ef6 frpc.toml&#xff08;\u6ce8\u610f\u670d\u52a1\u7aef\u548c\u5ba2\u6237\u7aef\u7684\u914d\u7f6e\u6587\u4ef6\u4e0d\u80fd\u6df7\u7528&#xff09;&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;toml<\/p>\n<p># FRP\u5ba2\u6237\u7aef\u914d\u7f6e<\/p>\n<p>serverAddr &#061; &#034;\u4f60\u7684\u4e91\u670d\u52a1\u5668\u516c\u7f51IP&#034; \u00a0 \u00a0# \u670d\u52a1\u7aef\u5730\u5740<\/p>\n<p>serverPort &#061; 7000 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0# \u670d\u52a1\u7aef\u7aef\u53e3&#xff08;\u4e0ebindPort\u4e00\u81f4&#xff09;<\/p>\n<p>auth.token &#061; &#034;\u4f60\u7684\u5f3a\u5bc6\u7801&#034; \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0# \u4e0e\u670d\u52a1\u7aef\u8bbe\u7f6e\u7684token\u4e00\u81f4<\/p>\n<\/p>\n<p># \u542f\u7528TLS\u52a0\u5bc6\u4f20\u8f93&#xff08;\u5f3a\u70c8\u63a8\u8350&#xff09;<\/p>\n<p>transport.tls.enable &#061; true<\/p>\n<\/p>\n<p># \u4ee3\u7406\u89c4\u52191&#xff1a;SSH\u8fdc\u7a0b\u8bbf\u95ee<\/p>\n<p>[[proxies]]<\/p>\n<p>name &#061; &#034;ssh&#034;<\/p>\n<p>type &#061; &#034;tcp&#034;<\/p>\n<p>localIP &#061; &#034;127.0.0.1&#034;<\/p>\n<p>localPort &#061; 22<\/p>\n<p>remotePort &#061; 6000<\/p>\n<\/p>\n<p># \u4ee3\u7406\u89c4\u52192&#xff1a;Web\u670d\u52a1&#xff08;\u6bd4\u5982\u4f60\u8fd0\u884c\u7684Python Flask\u5e94\u7528&#xff09;<\/p>\n<p>[[proxies]]<\/p>\n<p>name &#061; &#034;web&#034;<\/p>\n<p>type &#061; &#034;tcp&#034;<\/p>\n<p>localIP &#061; &#034;127.0.0.1&#034;<\/p>\n<p>localPort &#061; 5000 \u00a0 \u00a0 \u00a0 \u00a0 # Python\u670d\u52a1\u8fd0\u884c\u7684\u7aef\u53e3<\/p>\n<p>remotePort &#061; 6001<\/p>\n<\/p>\n<p># \u4ee3\u7406\u89c4\u52193&#xff1a;\u8fdc\u7a0b\u684c\u9762&#xff08;Windows&#xff09;<\/p>\n<p>[[proxies]]<\/p>\n<p>name &#061; &#034;rdp&#034;<\/p>\n<p>type &#061; &#034;tcp&#034;<\/p>\n<p>localIP &#061; &#034;127.0.0.1&#034;<\/p>\n<p>localPort &#061; 3389<\/p>\n<p>remotePort &#061; 6002<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u7b2c\u4e09\u6b65&#xff0c;\u542f\u52a8\u5ba2\u6237\u7aef&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p># Linux\/macOS<\/p>\n<p>.\/frpc -c frpc.toml<\/p>\n<\/p>\n<p># Windows&#xff08;\u5728\u547d\u4ee4\u884c\u4e2d&#xff09;<\/p>\n<p>frpc.exe -c frpc.toml<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u5982\u679c\u770b\u5230\u7c7b\u4f3c login to server success \u548c start proxy success \u7684\u65e5\u5fd7\u4fe1\u606f&#xff0c;\u8bf4\u660e\u8fde\u63a5\u6210\u529f&#xff0c;\u96a7\u9053\u5df2\u7ecf\u6253\u901a\u3002<\/p>\n<\/p>\n<p>5.3 \u5728Windows\u4e0a\u8bbe\u7f6e\u5ba2\u6237\u7aef\u5f00\u673a\u81ea\u542f<\/p>\n<\/p>\n<p>\u5982\u679c\u4f60\u60f3\u5728Windows\u4e0a\u8ba9FRP\u5ba2\u6237\u7aef\u968f\u7cfb\u7edf\u81ea\u52a8\u542f\u52a8&#xff0c;\u6709\u51e0\u79cd\u65b9\u6cd5\u53ef\u9009&#xff1a;<\/p>\n<\/p>\n<p>\u65b9\u6cd5\u4e00&#xff08;\u7b80\u5355\u76f4\u89c2&#xff09;&#xff1a;\u521b\u5efa\u4e00\u4e2a start_frpc.bat \u6279\u5904\u7406\u811a\u672c&#xff0c;\u5199\u5165\u4ee5\u4e0b\u5185\u5bb9\u540e\u653e\u5165\u201c\u542f\u52a8\u201d\u6587\u4ef6\u5939&#xff08;shell:startup&#xff09;&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;batch<\/p>\n<p>&#064;echo off<\/p>\n<p>cd \/d &#034;\u4f60\u7684FRP\u76ee\u5f55\u8def\u5f84&#034;<\/p>\n<p>start \/min frpc.exe -c frpc.toml<\/p>\n<p>exit<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u65b9\u6cd5\u4e8c&#xff08;\u66f4\u4e13\u4e1a&#xff09;&#xff1a;\u4f7f\u7528Windows\u4efb\u52a1\u8ba1\u5212\u7a0b\u5e8f\u8bbe\u7f6e\u5f00\u673a\u4efb\u52a1&#xff0c;\u53ef\u4ee5\u65e0\u7a97\u53e3\u3001\u9759\u9ed8\u8fd0\u884c\u3002<\/p>\n<\/p>\n<p>5.4 \u7f16\u5199\u4e00\u4e2aPython\u6d4b\u8bd5\u7a0b\u5e8f<\/p>\n<\/p>\n<p>\u4e3a\u4e86\u786e\u8ba4\u6574\u4e2a\u6d41\u7a0b\u914d\u7f6e\u6210\u529f&#xff0c;\u6211\u4eec\u6765\u5199\u4e00\u4e2a\u6700\u7b80\u5355\u7684Flask\u5e94\u7528\u4f5c\u4e3a\u6d4b\u8bd5\u3002<\/p>\n<\/p>\n<p>\u9996\u5148\u5b89\u88c5Flask\u5e76\u521b\u5efa\u5e94\u7528\u6587\u4ef6 app.py&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;python<\/p>\n<p>from flask import Flask<\/p>\n<p>import datetime<\/p>\n<\/p>\n<p>app &#061; Flask(__name__)<\/p>\n<\/p>\n<p>&#064;app.route(&#039;\/&#039;)<\/p>\n<p>def home():<\/p>\n<p>\u00a0 \u00a0 return f&#034;Hello from Home Server! Current time is: {datetime.datetime.now()}&#034;<\/p>\n<\/p>\n<p>&#064;app.route(&#039;\/test&#039;)<\/p>\n<p>def test():<\/p>\n<p>\u00a0 \u00a0 return &#034;Python script is working!&#034;<\/p>\n<\/p>\n<p>if __name__ &#061;&#061; &#039;__main__&#039;:<\/p>\n<p>\u00a0 \u00a0 # host\u5fc5\u987b\u7ed1\u5b9a\u4e3a&#039;0.0.0.0&#039;&#xff0c;\u7aef\u53e3\u8981\u4e0eFRP\u914d\u7f6e\u4e2d\u7684localPort\u4e00\u81f4<\/p>\n<p>\u00a0 \u00a0 app.run(host&#061;&#039;0.0.0.0&#039;, port&#061;5000)<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u7136\u540e\u8fd0\u884c\u6d4b\u8bd5\u7a0b\u5e8f&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>python3 app.py<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u5728\u672c\u5730\u6d4f\u89c8\u5668\u8bbf\u95ee http:\/\/127.0.0.1:5000&#xff0c;\u770b\u5230\u6b22\u8fce\u8bed\u5373\u8bf4\u660e\u672c\u5730\u7a0b\u5e8f\u8fd0\u884c\u6b63\u5e38\u3002<\/p>\n<\/p>\n<p>5.5 \u6700\u7ec8\u9a8c\u8bc1&#xff1a;\u4ece\u5916\u7f51\u8bbf\u95ee<\/p>\n<\/p>\n<p>\u5173\u95ed\u624b\u673a\u7684Wi-Fi&#xff0c;\u53ea\u4f7f\u75284G\/5G\u8702\u7a9d\u7f51\u7edc&#xff08;\u6a21\u62df\u5916\u90e8\u7f51\u7edc\u73af\u5883&#xff09;&#xff0c;\u5728\u624b\u673a\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>http:\/\/\u4f60\u7684\u4e91\u670d\u52a1\u5668\u516c\u7f51IP:6001<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u5982\u679c\u4f60\u770b\u5230\u7684\u753b\u9762\u548c\u672c\u5730\u7684 http:\/\/127.0.0.1:5000 \u4e00\u81f4&#xff0c;\u8bf4\u660eFRP\u5185\u7f51\u7a7f\u900f\u5df2\u7ecf\u6210\u529f\u4e86&#xff01;&#x1f389;<\/p>\n<\/p>\n<p>5.6 \u53ef\u9009&#xff1a;\u914d\u7f6e\u7ba1\u7406\u9762\u677f\u76d1\u63a7<\/p>\n<\/p>\n<p>FRP\u63d0\u4f9b\u4e86\u7f51\u9875\u7248\u7ba1\u7406\u9762\u677f&#xff0c;\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5b9e\u65f6\u76d1\u63a7\u8fde\u63a5\u72b6\u6001\u3002\u5728\u670d\u52a1\u5668\u4e0a\u542f\u52a8FRP\u540e&#xff0c;\u8bbf\u95ee http:\/\/\u4f60\u7684\u4e91\u670d\u52a1\u5668IP:7500&#xff0c;\u8f93\u5165\u4f60\u5728 frps.toml \u4e2d\u8bbe\u7f6e\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\u5373\u53ef\u767b\u5f55\u3002<\/p>\n<\/p>\n<p>\u9762\u677f\u4e0a\u53ef\u4ee5\u770b\u5230\u5f53\u524d\u6709\u591a\u5c11\u5ba2\u6237\u7aef\u5728\u7ebf\u3001\u6bcf\u4e2a\u4ee3\u7406\u7684\u8fde\u63a5\u6570\u3001\u6d41\u91cf\u7edf\u8ba1\u7b49\u4fe1\u606f&#xff0c;\u975e\u5e38\u65b9\u4fbf\u8fd0\u7ef4\u7ba1\u7406\u3002<\/p>\n<\/p>\n<p>5.7 \u8fdb\u9636&#xff1a;\u4f7f\u7528Docker\u90e8\u7f72FRP<\/p>\n<\/p>\n<p>\u5982\u679c\u4f60\u719f\u6089Docker&#xff0c;\u4f7f\u7528\u5bb9\u5668\u90e8\u7f72FRP\u4f1a\u66f4\u7b80\u6d01&#xff0c;\u73af\u5883\u548c\u4f9d\u8d56\u9694\u79bb\u4e5f\u66f4\u5e72\u51c0&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p># \u542f\u52a8\u670d\u52a1\u7aef<\/p>\n<p>docker run &#8211;restart&#061;always &#8211;network host -d \\\\<\/p>\n<p>\u00a0 -v \/etc\/frp\/frps.toml:\/etc\/frp\/frps.toml \\\\<\/p>\n<p>\u00a0 &#8211;name frps snowdreamtech\/frps<\/p>\n<\/p>\n<p># \u542f\u52a8\u5ba2\u6237\u7aef<\/p>\n<p>docker run &#8211;restart&#061;always &#8211;network host -d \\\\<\/p>\n<p>\u00a0 -v \/etc\/frp\/frpc.toml:\/etc\/frp\/frpc.toml \\\\<\/p>\n<p>\u00a0 &#8211;name frpc snowdreamtech\/frpc<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>Docker\u955c\u50cf\u7684\u4f18\u52bf\u5728\u4e8e\u591a\u67b6\u6784\u652f\u6301&#xff08;amd64\u3001arm32v6\u3001arm32v7\u3001arm64v8\u7b49&#xff09;\u3001\u8f7b\u91cf\u7ea7\u90e8\u7f72&#xff0c;\u4ee5\u53ca\u914d\u7f6e\u53d8\u66f4\u540e\u6613\u4e8e\u91cd\u542f\u7ba1\u7406\u3002<\/p>\n<\/p>\n<p>\u516d\u3001\u5b89\u5168\u52a0\u56fa&#xff1a;\u8ba9\u516c\u7f51\u670d\u52a1\u5668\u66f4\u5b89\u5168<\/p>\n<\/p>\n<p>\u5c06\u670d\u52a1\u5668\u66b4\u9732\u5230\u516c\u7f51\u540e&#xff0c;\u5b89\u5168\u6027\u5fc5\u987b\u653e\u5728\u9996\u4f4d\u3002\u4e92\u8054\u7f51\u4e2d\u7684\u626b\u63cf\u5668\u3001\u653b\u51fb\u811a\u672c\u65e0\u5904\u4e0d\u5728&#xff0c;\u670d\u52a1\u5668\u7684SSH\u7aef\u53e3&#xff08;\u9ed8\u8ba422&#xff09;\u6bcf\u5929\u53ef\u80fd\u88ab\u6210\u5343\u4e0a\u4e07\u6b21\u5c1d\u8bd5\u767b\u5f55\u3002\u4ee5\u4e0b\u662f\u5fc5\u4e0d\u53ef\u5c11\u7684\u5b89\u5168\u63aa\u65bd&#xff1a;<\/p>\n<\/p>\n<p>6.1 Linux\u4e91\u670d\u52a1\u5668\u57fa\u7840\u5b89\u5168\u914d\u7f6e<\/p>\n<\/p>\n<p>1. \u914d\u7f6eUFW\u9632\u706b\u5899<\/p>\n<\/p>\n<p>Ubuntu\u7cfb\u7edf\u9ed8\u8ba4\u5b89\u88c5\u4e86UFW&#xff08;Uncomplicated Firewall&#xff09;&#xff0c;\u6211\u4eec\u53ea\u5f00\u653e\u5fc5\u8981\u7684\u7aef\u53e3&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p># \u542f\u7528UFW\u5e76\u8bbe\u7f6e\u9ed8\u8ba4\u7b56\u7565<\/p>\n<p>sudo ufw default deny incoming \u00a0 \u00a0 \u00a0# \u9ed8\u8ba4\u62d2\u7edd\u6240\u6709\u5165\u7ad9\u6d41\u91cf<\/p>\n<p>sudo ufw default allow outgoing \u00a0 \u00a0 # \u9ed8\u8ba4\u5141\u8bb8\u6240\u6709\u51fa\u7ad9\u6d41\u91cf<\/p>\n<p># \u53ea\u5f00\u653e\u5fc5\u8981\u7aef\u53e3<\/p>\n<p>sudo ufw allow 22\/tcp \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # SSH&#xff08;\u5982\u679c\u4f60\u4fee\u6539\u4e86\u7aef\u53e3&#xff0c;\u66ff\u6362\u4e3a\u4f60\u7684SSH\u7aef\u53e3&#xff09;<\/p>\n<p>sudo ufw allow 80\/tcp \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # HTTP<\/p>\n<p>sudo ufw allow 443\/tcp \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0# HTTPS<\/p>\n<p>sudo ufw allow 7000\/tcp \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # FRP\u670d\u52a1\u7aef\u7aef\u53e3<\/p>\n<p># \u542f\u7528\u9632\u706b\u5899<\/p>\n<p>sudo ufw enable<\/p>\n<p>sudo ufw status verbose<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>2. SSH\u5b89\u5168\u52a0\u56fa\u2014\u2014\u8fd9\u662f\u6700\u91cd\u8981\u7684\u4e00\u9879&#xff01;<\/p>\n<\/p>\n<p>\u516c\u7f51\u670d\u52a1\u5668\u7684SSH\u7aef\u53e3\u6bcf\u5929\u90fd\u4f1a\u906d\u5230\u5927\u91cf\u811a\u672c\u5f0f\u7684\u66b4\u529b\u7834\u89e3\u5c1d\u8bd5\u3002\u8bf7\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u5f3a\u5316SSH\u5b89\u5168&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p># \u7f16\u8f91SSH\u914d\u7f6e\u6587\u4ef6<\/p>\n<p>sudo nano \/etc\/ssh\/sshd_config<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u4fee\u6539\u6216\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>Port 22222 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # \u4fee\u6539\u9ed8\u8ba422\u7aef\u53e3&#xff0c;\u6539\u4e3a\u4e00\u4e2a\u4e0d\u5e38\u7528\u7684\u7aef\u53e3<\/p>\n<p>PermitRootLogin no \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # \u7981\u6b62root\u76f4\u63a5\u8fdc\u7a0b\u767b\u5f55<\/p>\n<p>PasswordAuthentication no \u00a0 \u00a0 \u00a0 \u00a0# \u7981\u7528\u5bc6\u7801\u767b\u5f55&#xff0c;\u53ea\u5141\u8bb8\u5bc6\u94a5\u767b\u5f55<\/p>\n<p>MaxAuthTries 3 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # \u6bcf\u8fde\u63a5\u6700\u591a\u5c1d\u8bd53\u6b21\u8ba4\u8bc1<\/p>\n<p>AllowUsers \u4f60\u7684\u7528\u6237\u540d \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # \u4ec5\u5141\u8bb8\u6307\u5b9a\u7528\u6237\u767b\u5f55<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u4fee\u6539\u5b8c\u6210\u540e\u91cd\u542fSSH\u670d\u52a1&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>sudo systemctl restart sshd<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u7279\u522b\u63d0\u9192&#xff1a;\u5728\u7981\u7528\u5bc6\u7801\u767b\u5f55\u4e4b\u524d&#xff0c;\u52a1\u5fc5\u5148\u914d\u7f6e\u597dSSH\u5bc6\u94a5\u767b\u5f55\u5e76\u6d4b\u8bd5\u6210\u529f&#xff0c;\u5426\u5219\u4f60\u4f1a\u628a\u81ea\u5df1\u9501\u5728\u670d\u52a1\u5668\u5916\u9762&#xff01;<\/p>\n<\/p>\n<p>\u751f\u6210SSH\u5bc6\u94a5\u7684\u65b9\u6cd5&#xff08;\u5728\u672c\u5730\u7535\u8111\u6267\u884c&#xff09;&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>ssh-keygen -t ed25519 -C &#034;your_email&#064;example.com&#034;<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u7136\u540e\u5c06\u516c\u94a5\u590d\u5236\u5230\u670d\u52a1\u5668&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>ssh-copy-id -p 22222 \u7528\u6237\u540d&#064;\u670d\u52a1\u5668IP<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u6d4b\u8bd5\u65e0\u8bef\u540e&#xff0c;\u518d\u6267\u884c\u4e0a\u8ff0\u7981\u7528\u5bc6\u7801\u767b\u5f55\u7684\u6b65\u9aa4\u3002<\/p>\n<\/p>\n<p>3. \u5b89\u88c5fail2ban\u81ea\u52a8\u5c01\u7981\u66b4\u529b\u7834\u89e3IP<\/p>\n<\/p>\n<p>\u5373\u4f7f\u542f\u7528\u4e86SSH\u5bc6\u94a5\u8ba4\u8bc1&#xff0c;\u653b\u51fb\u5c1d\u8bd5\u4f9d\u7136\u4f1a\u6d88\u8017\u65e5\u5fd7\u7a7a\u95f4\u548c\u7cfb\u7edf\u8d44\u6e90\u3002fail2ban\u53ef\u4ee5\u81ea\u52a8\u5c01\u7981\u6076\u610fIP&#xff1a;\u5b83\u5b9e\u65f6\u626b\u63cf\u65e5\u5fd7&#xff0c;\u8bc6\u522b\u91cd\u590d\u5931\u8d25\u7684\u767b\u5f55\u5c1d\u8bd5\u540e&#xff0c;\u81ea\u52a8\u5411\u9632\u706b\u5899\u4e0b\u53d1\u89c4\u5219\u4e34\u65f6\u5c01\u7981\u6076\u610fIP\u3002<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p># \u5b89\u88c5fail2ban<\/p>\n<p>sudo apt update &amp;&amp; sudo apt install fail2ban -y<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u521b\u5efa\u81ea\u5b9a\u4e49\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>sudo nano \/etc\/fail2ban\/jail.local<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;ini<\/p>\n<p>[DEFAULT]<\/p>\n<p>ignoreip &#061; 127.0.0.1\/8 ::1 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0# \u767d\u540d\u5355&#xff08;\u53ef\u52a0\u5165\u4f60\u4fe1\u4efb\u7684IP&#xff09;<\/p>\n<p>bantime &#061; 1h \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # \u5c01\u79811\u5c0f\u65f6<\/p>\n<p>findtime &#061; 10m \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # 10\u5206\u949f\u5185\u7edf\u8ba1\u5931\u8d25\u6b21\u6570<\/p>\n<p>maxretry &#061; 5 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # \u5931\u8d255\u6b21\u89e6\u53d1\u5c01\u7981<\/p>\n<\/p>\n<p>[sshd]<\/p>\n<p>enabled &#061; true<\/p>\n<p>port &#061; 22222 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # \u4f60\u7684SSH\u7aef\u53e3<\/p>\n<p>logpath &#061; %(sshd_log)s<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u542f\u52a8\u5e76\u542f\u7528fail2ban&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>sudo systemctl enable &#8211;now fail2ban<\/p>\n<p>sudo systemctl status fail2ban<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u914d\u7f6e\u5b8c\u6210\u540e&#xff0c;\u540e\u53f0\u7206\u7834\u7684\u544a\u8b66\u6570\u91cf\u4f1a\u7acb\u523b\u5927\u5e45\u4e0b\u964d\u3002<\/p>\n<\/p>\n<p>4. \u4fdd\u6301\u7cfb\u7edf\u66f4\u65b0<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>sudo apt update &amp;&amp; sudo apt upgrade -y<\/p>\n<p># \u5f00\u542f\u81ea\u52a8\u5b89\u5168\u66f4\u65b0<\/p>\n<p>sudo dpkg-reconfigure &#8211;priority&#061;low unattended-upgrades<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>6.2 \u5185\u7f51\u8bbe\u5907\u5b89\u5168\u6ce8\u610f\u4e8b\u9879<\/p>\n<\/p>\n<p>1. \u6700\u5c0f\u5f00\u653e\u539f\u5219&#xff1a;\u5728\u9632\u706b\u5899\u4e2d\u53ea\u5f00\u653e\u4f60\u771f\u6b63\u9700\u8981\u66b4\u9732\u7684\u7aef\u53e3\u3002\u4e0d\u8981\u4e3a\u4e86\u65b9\u4fbf\u76f4\u63a5\u628aDMZ\u6253\u5f00&#xff0c;\u90a3\u76f8\u5f53\u4e8e\u628a\u6574\u53f0\u7535\u8111\u66b4\u9732\u5728\u516c\u7f51\u4e4b\u4e0b\u3002<\/p>\n<p>2. \u5f3a\u5bc6\u7801\u7b56\u7565&#xff1a;\u6240\u6709\u767b\u5f55\u8d26\u6237\u675c\u7edd\u5f31\u5bc6\u7801&#xff08;\u4e0d\u8981\u7528password\u3001123456\u3001admin\u8fd9\u7c7b\u5e38\u89c1\u5bc6\u7801&#xff09;&#xff0c;\u5efa\u8bae\u4f7f\u752812\u4f4d\u4ee5\u4e0a\u7684\u968f\u673a\u5bc6\u7801\u3002<\/p>\n<p>3. \u5b9a\u671f\u68c0\u67e5\u670d\u52a1\u72b6\u6001&#xff1a;\u901a\u8fc7FRP\u7ba1\u7406\u9762\u677f\u76d1\u63a7\u8fde\u63a5\u60c5\u51b5&#xff0c;\u53d1\u73b0\u5f02\u5e38\u53ef\u4ee5\u53ca\u65f6\u5904\u7406\u3002<\/p>\n<\/p>\n<p>\u4e03\u3001\u5408\u6cd5\u6027\u4e0e\u98ce\u9669\u8b66\u793a<\/p>\n<\/p>\n<p>\u8fd9\u662f\u81ea\u5efa\u516c\u7f51\u670d\u52a1\u5668\u65f6\u5fc5\u987b\u8ba4\u771f\u5bf9\u5f85\u7684\u4e00\u73af\u3002\u6280\u672f\u672c\u8eab\u662f\u4e2d\u6027\u7684&#xff0c;\u5173\u952e\u5728\u4e8e\u4f60\u5982\u4f55\u4f7f\u7528\u5b83\u3002<\/p>\n<\/p>\n<p>7.1 \u660e\u786e\u7981\u6b62\u7684\u884c\u4e3a&#xff1a;\u5343\u4e07\u4e0d\u8981\u78b0PCDN<\/p>\n<\/p>\n<p>PCDN&#xff08;P2P\u5185\u5bb9\u5206\u53d1\u7f51\u7edc&#xff09;\u662f\u6307\u5229\u7528\u5bb6\u5ead\u5bbd\u5e26\u7684\u4e0a\u884c\u5e26\u5bbd\u8fdb\u884c\u5546\u4e1a\u6d41\u91cf\u8d29\u5356\u7684\u884c\u4e3a\u3002\u5e38\u89c1\u7684PCDN\u4ea7\u54c1\u5305\u62ec\u201c\u8d5a\u94b1\u5b9d\u201d\u3001\u201c\u7f51\u5fc3\u4e91\u201d\u3001\u201c\u4eac\u4e1c\u4e91\u65e0\u7ebf\u5b9d\u201d\u7b49\u8bbe\u5907\u3002<\/p>\n<\/p>\n<p>\u8fd9\u4e9b\u884c\u4e3a\u5c5e\u4e8e\u8fdd\u6cd5\u884c\u4e3a\u3002\u4f9d\u636e\u300a\u4e2d\u534e\u4eba\u6c11\u5171\u548c\u56fd\u7535\u4fe1\u6761\u4f8b\u300b&#xff0c;\u666e\u901a\u5bb6\u5ead\u7528\u6237\u65e0PCDN\u4e1a\u52a1\u7ecf\u8425\u8d44\u8d28&#xff0c;\u64c5\u81ea\u5f00\u5c55\u5c5e\u8fdd\u6cd5&#xff0c;\u53ef\u88ab\u8ffd\u8d23\u3002<\/p>\n<\/p>\n<p>\u8fd0\u8425\u5546\u5df2\u7ecf\u5728\u4e25\u5389\u6253\u51fbPCDN\u30022025\u5e74\u4ee5\u6765&#xff0c;\u76f8\u5173\u90e8\u95e8\u5df2\u5bf9\u4eac\u4e1c\u4e91\u3001\u7f51\u5fc3\u4e91\u7b49PCDN\u5934\u90e8\u8d44\u6e90\u5382\u5546&#xff0c;\u4ee5\u53ca\u5b57\u8282\u8df3\u52a8\u3001\u963f\u91cc\u3001\u7231\u5947\u827a\u7b49PCDN\u5934\u90e8\u5ba2\u6237\u8fdb\u884c\u4e86\u7ea6\u8c08&#xff0c;\u8981\u6c42\u9650\u671f\u505c\u6b62\u76f8\u5173\u4e1a\u52a1\u3002<\/p>\n<\/p>\n<p>\u4e00\u65e6\u88ab\u8fd0\u8425\u5546\u68c0\u6d4b\u5230\u5bb6\u5ead\u5bbd\u5e26\u6301\u7eed\u9ad8\u4e0a\u884c\u6d41\u91cf\u3001\u516c\u7f51\u53ef\u8bbf\u95ee\u8bbe\u5907\u7b49\u7279\u5f81&#xff0c;\u4fbf\u4f1a\u5224\u5b9a\u4e3aPCDN\u4f7f\u7528&#xff0c;\u5904\u7f6e\u63aa\u65bd\u5305\u62ec\u9650\u901f\u3001\u65ad\u7f51&#xff08;\u201c\u5c40\u505c\u201d&#xff09;\u3001\u8981\u6c42\u7b7e\u7f72\u627f\u8bfa\u4e66\u7b49\u3002<\/p>\n<\/p>\n<p>\u7b80\u5355\u6765\u8bf4&#xff1a;\u7528\u4f60\u7684\u5bbd\u5e26\u53bb\u201c\u6316\u77ff\u201d\u3001\u5356\u6d41\u91cf\u7ed9\u522b\u4eba\u2014\u2014\u7edd\u5bf9\u4e0d\u884c&#xff01;<\/p>\n<\/p>\n<p>7.2 \u4e25\u683c\u9075\u5b88\u7684\u884c\u4e3a&#xff1a;\u5bb6\u5ead\u5bbd\u5e26\u4e0d\u80fd\u7528\u4e8e\u5546\u4e1a\u76ee\u7684<\/p>\n<\/p>\n<p>\u51e0\u4e4e\u6240\u6709\u5bb6\u5ead\u5bbd\u5e26\u5408\u540c\u4e2d&#xff0c;\u90fd\u660e\u786e\u89c4\u5b9a\u201c\u4e0d\u5f97\u7528\u4e8e\u5546\u4e1a\u7528\u9014\u201d\u3002\u8fd0\u8425\u5546\u8ba4\u4e3a&#xff0c;\u7528\u6237\u901a\u8fc7PCDN\u83b7\u53d6\u6536\u76ca\u5df2\u6784\u6210\u5546\u4e1a\u884c\u4e3a\u3002\u4e2d\u56fd\u7684\u5bbd\u5e26\u5b9a\u4ef7\u673a\u5236\u4e0b&#xff0c;\u5bb6\u5ead\u5bbd\u5e26\u4ef7\u683c\u8fdc\u4f4e\u4e8e\u4f01\u4e1a\u4e13\u7ebf&#xff0c;\u8fd9\u79cd\u884c\u4e3a\u4f1a\u76f4\u63a5\u51b2\u51fb\u8fd0\u8425\u5546\u7684\u6838\u5fc3\u6536\u5165\u3002<\/p>\n<\/p>\n<p>\u5982\u679c\u4f60\u53ea\u662f\u4e2a\u4eba\u81ea\u7528&#xff08;\u5982\u8fdc\u7a0b\u8bbf\u95ee\u5bb6\u91cc\u7684NAS\u3001\u56de\u5bb6\u8c03\u8bd5\u4ee3\u7801\u3001\u5076\u5c14\u8fd0\u884c\u6d4b\u8bd5\u811a\u672c\u7b49&#xff09;&#xff0c;\u901a\u5e38\u4e0d\u4f1a\u6709\u4ec0\u4e48\u95ee\u9898\u3002\u4f46\u5982\u679c\u5c06\u670d\u52a1\u5411\u516c\u4f17\u5f00\u653e\u8fd0\u8425\u6216\u6536\u53d6\u8d39\u7528&#xff0c;\u6027\u8d28\u5c31\u5b8c\u5168\u4e0d\u540c\u4e86&#xff0c;\u4e0d\u4ec5\u8fdd\u53cd\u8fd0\u8425\u5546\u534f\u8bae&#xff0c;\u8fd8\u53ef\u80fd\u6d89\u53ca\u65e0\u8bc1\u63d0\u4f9b\u4e92\u8054\u7f51\u4fe1\u606f\u670d\u52a1\u7684\u6cd5\u5f8b\u98ce\u9669\u3002<\/p>\n<\/p>\n<p>7.3 \u7f51\u7edc\u884c\u4e3a\u5408\u89c4\u6307\u5f15<\/p>\n<\/p>\n<p>\u00b7 \u2705 \u5141\u8bb8&#xff1a;\u4e2a\u4eba\u8fdc\u7a0b\u8bbf\u95eeNAS\u6587\u4ef6\u3001\u5bb6\u5ead\u76d1\u63a7\u3001\u8fdc\u7a0b\u4ee3\u7801\u8c03\u8bd5\u3001\u5076\u5c14\u6d4b\u8bd5Python\u811a\u672c<\/p>\n<p>\u00b7 \u274c \u4e0d\u5141\u8bb8&#xff1a;PCDN\u6d41\u91cf\u8d29\u5356\u3001\u4f7f\u7528FRP\u8bbf\u95ee\u5883\u5916\u53d7\u9650\u7f51\u7edc\u3001\u8fd0\u8425\u5546\u4e1a\u7f51\u7ad9&#xff08;\u9700ICP\u8bb8\u53ef\u8bc1&#xff09;\u3001\u975e\u6cd5\u4fe1\u606f\u4f20\u64ad<\/p>\n<\/p>\n<p>\u516b\u3001\u5e38\u89c1\u95ee\u9898\u6392\u67e5<\/p>\n<\/p>\n<p>\u95ee\u98981&#xff1a;\u5ba2\u6237\u7aef\u65e5\u5fd7\u663e\u793a login to server error<\/p>\n<\/p>\n<p>\u00b7 \u68c0\u67e5\u4e91\u670d\u52a1\u5668\u9632\u706b\u5899\u662f\u5426\u5f00\u653e\u4e86 bindPort&#xff08;7000&#xff09;<\/p>\n<p>\u00b7 \u68c0\u67e5\u670d\u52a1\u7aef\u548c\u5ba2\u6237\u7aef\u7684 auth.token \u662f\u5426\u5b8c\u5168\u4e00\u81f4<\/p>\n<p>\u00b7 \u68c0\u67e5\u4e91\u670d\u52a1\u5668\u7684\u5b89\u5168\u7ec4\u89c4\u5219&#xff08;\u963f\u91cc\u4e91\u3001\u817e\u8baf\u4e91\u7b49\u5382\u5546\u6709\u72ec\u7acb\u7684\u5b89\u5168\u7ec4\u8bbe\u7f6e&#xff09;<\/p>\n<\/p>\n<p>\u95ee\u98982&#xff1a;\u80fd\u8fde\u4e0a\u4f46\u670d\u52a1\u8bbf\u95ee\u4e0d\u4e86<\/p>\n<\/p>\n<p>\u00b7 \u786e\u8ba4\u5185\u7f51\u670d\u52a1\u6b63\u5e38\u8fd0\u884c&#xff08;curl http:\/\/127.0.0.1:\u7aef\u53e3 \u6d4b\u8bd5&#xff09;<\/p>\n<p>\u00b7 \u786e\u8ba4\u672c\u5730Python\u7a0b\u5e8f\u7ed1\u5b9a\u4e86 0.0.0.0 \u800c\u4e0d\u662f 127.0.0.1<\/p>\n<p>\u00b7 \u68c0\u67e5\u5ba2\u6237\u7aef frpc.toml \u4e2d\u7684 localPort \u662f\u5426\u4e0e\u670d\u52a1\u7aef\u53e3\u4e00\u81f4<\/p>\n<p>\u00b7 \u786e\u8ba4\u5916\u7f51\u8bbf\u95ee\u65f6\u4f7f\u7528\u7684\u662f remotePort \u800c\u4e0d\u662f localPort<\/p>\n<\/p>\n<p>\u95ee\u98983&#xff1a;\u8def\u7531\u5668\u91cd\u542f\u540e\u8fde\u63a5\u4e0d\u4e0a<\/p>\n<\/p>\n<p>\u00b7 \u786e\u8ba4\u5ba2\u6237\u7aef\u5df2\u914d\u7f6e\u5f00\u673a\u81ea\u542f&#xff08;systemd\u6216\u4efb\u52a1\u8ba1\u5212&#xff09;<\/p>\n<p>\u00b7 \u5982\u679c\u5185\u7f51\u8bbe\u5907IP\u662f\u52a8\u6001\u5206\u914d\u7684&#xff0c;\u5efa\u8bae\u8bbe\u7f6e\u9759\u6001\u5185\u7f51IP<\/p>\n<\/p>\n<p>\u95ee\u98984&#xff1a;\u5bb6\u91cc\u7f51\u7edc\u4e0d\u7a33\u5b9a&#xff0c;\u5ba2\u6237\u7aef\u9891\u7e41\u6389\u7ebf<\/p>\n<\/p>\n<p>\u00b7 \u5728\u5ba2\u6237\u7aef\u914d\u7f6e\u4e2d\u6dfb\u52a0 transport.tls.enable &#061; true \u542f\u7528TLS\u52a0\u5bc6<\/p>\n<p>\u00b7 \u8003\u8651\u5728\u5ba2\u6237\u7aef\u914d\u7f6e\u4e2d\u6dfb\u52a0 transport.protocol &#061; &#034;kcp&#034; \u4f7f\u7528KCP\u534f\u8bae&#xff0c;\u5b83\u5728\u9ad8\u4e22\u5305\u7387\u7f51\u7edc\u73af\u5883\u4e0b\u8868\u73b0\u66f4\u597d<\/p>\n<\/p>\n<p>\u95ee\u98985&#xff1a;\u516c\u7f51\u8bbf\u95ee\u901f\u5ea6\u6162<\/p>\n<\/p>\n<p>\u00b7 \u516c\u7f51\u8bbf\u95ee\u6027\u80fd\u4e3b\u8981\u53d6\u51b3\u4e8e\u4e91\u670d\u52a1\u5668\u5e26\u5bbd\u548c\u4f60\u5bb6\u5ead\u5bbd\u5e26\u7684\u4e0a\u884c\u5e26\u5bbd\u3002\u5bb6\u5ead\u5bbd\u5e26\u7684\u4e0a\u884c\u5e26\u5bbd\u901a\u5e38\u8fdc\u4f4e\u4e8e\u4e0b\u884c\u5e26\u5bbd&#xff08;\u6bd4\u5982500M\u4e0b\u884c\u300130M\u4e0a\u884c\u662f\u5e38\u89c1\u7684&#xff09;&#xff0c;\u8fd9\u662f\u74f6\u9888\u6240\u5728\u3002<\/p>\n<p>\u00b7 \u5bf9\u4e8e\u5927\u6587\u4ef6\u4f20\u8f93\u573a\u666f&#xff0c;\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528 type &#061; &#034;xtcp&#034; P2P\u6a21\u5f0f&#xff0c;\u5efa\u7acb\u76f4\u8fde\u540e\u4e0d\u518d\u7ecf\u8fc7\u4e2d\u8f6c\u670d\u52a1\u5668\u3002<\/p>\n<\/p>\n<p>\u4e5d\u3001\u5199\u5728\u6700\u540e<\/p>\n<\/p>\n<p>\u81ea\u5efa\u516c\u7f51\u670d\u52a1\u5668\u8fd9\u4ef6\u4e8b&#xff0c;\u505a\u8d77\u6765\u5e76\u4e0d\u590d\u6742\u3002\u5b83\u6700\u5438\u5f15\u4eba\u7684\u5730\u65b9\u5728\u4e8e&#xff1a;\u4f60\u53ef\u4ee5\u7528\u6781\u4f4e\u7684\u6210\u672c\u83b7\u5f97\u76f8\u5f53\u5f3a\u5927\u7684\u670d\u52a1\u5668\u6027\u80fd&#xff0c;\u540c\u65f6\u4eab\u53d7\u5b8c\u5168\u638c\u63a7\u6570\u636e\u7684\u5b89\u5fc3\u611f\u3002<\/p>\n<\/p>\n<p>\u901a\u8fc7FRP\u5185\u7f51\u7a7f\u900f&#xff0c;\u4f60\u53ef\u4ee5\u5728\u4efb\u4f55\u5730\u65b9\u8bbf\u95ee\u5bb6\u4e2d\u7684\u670d\u52a1\u5668&#xff0c;\u8fd0\u884c\u4f60\u7684Python\u7a0b\u5e8f\u3001\u6258\u7ba1\u7f51\u7ad9\u3001\u5907\u4efd\u6587\u4ef6\u2026\u2026\u8fd9\u4e2a\u65b9\u6848\u7279\u522b\u9002\u5408\u8fd9\u51e0\u7c7b\u670b\u53cb&#xff1a;\u60f3\u4f4e\u6210\u672c\u642d\u5efa\u4e2a\u4ebaNAS\u7684\u73a9\u5bb6\u3001\u9700\u8981\u8fdc\u7a0b\u8c03\u8bd5\u4ee3\u7801\u7684\u5f00\u53d1\u8005\u3001\u6280\u672f\u7231\u597d\u8005\u505a\u5b9e\u9a8c\u548c\u5b66\u4e60&#xff0c;\u4ee5\u53ca\u5e0c\u671b\u5b8c\u5168\u638c\u63a7\u81ea\u5df1\u6570\u636e\u7684\u4eba\u3002<\/p>\n<\/p>\n<p>\u5982\u679c\u4f60\u5728\u90e8\u7f72\u8fc7\u7a0b\u4e2d\u9047\u5230\u95ee\u9898&#xff0c;\u6211\u7684\u5efa\u8bae\u662f&#xff1a;<\/p>\n<\/p>\n<p>1. \u4ed4\u7ec6\u68c0\u67e5\u65e5\u5fd7&#xff1a;FRP\u7684\u65e5\u5fd7\u8f93\u51fa\u975e\u5e38\u8be6\u7ec6&#xff0c;\u5927\u90e8\u5206\u95ee\u9898\u90fd\u80fd\u4ece\u65e5\u5fd7\u4e2d\u627e\u5230\u7ebf\u7d22<\/p>\n<p>2. \u4ece\u6700\u7b80\u5355\u7684\u573a\u666f\u5f00\u59cb&#xff1a;\u5148\u6d4b\u8bd5\u7eafTCP\u7a7f\u900f&#xff08;\u6bd4\u5982SSH&#xff09;&#xff0c;\u6210\u529f\u540e\u518d\u9010\u6b65\u589e\u52a0HTTP\u3001HTTPS\u7b49\u590d\u6742\u914d\u7f6e<\/p>\n<p>3. \u5584\u7528\u7ba1\u7406\u9762\u677f&#xff1a;FRP\u7684Web\u9762\u677f\u53ef\u4ee5\u63d0\u4f9b\u4e30\u5bcc\u7684\u8c03\u8bd5\u4fe1\u606f<\/p>\n<p>4. \u641c\u7d22\u793e\u533a&#xff1a;GitHub\u4e0a\u7684FRP Issues\u548c\u5404\u5927\u6280\u672f\u793e\u533a\u5df2\u7ecf\u89e3\u7b54\u8fc7\u7edd\u5927\u591a\u6570\u95ee\u9898<\/p>\n<\/p>\n<p>\u5e0c\u671b\u8fd9\u4efd\u8be6\u5c3d\u7684\u6559\u7a0b\u80fd\u591f\u5e2e\u52a9\u4f60\u987a\u5229\u642d\u5efa\u5c5e\u4e8e\u81ea\u5df1\u7684\u516c\u7f51\u670d\u52a1\u5668\u3002\u5982\u679c\u5728\u64cd\u4f5c\u8fc7\u7a0b\u4e2d\u9047\u5230\u4efb\u4f55\u56f0\u96be&#xff0c;\u6b22\u8fce\u968f\u65f6\u7559\u8a00\u4ea4\u6d41&#xff01;<\/p>\n<\/p>\n<p>\u672c\u6587\u4e2d\u6d89\u53ca\u7684\u6240\u6709\u547d\u4ee4\u884c\u64cd\u4f5c&#xff0c;\u8bf7\u52a1\u5fc5\u66ff\u6362\u5176\u4e2d\u7684IP\u5730\u5740\u3001\u7aef\u53e3\u53f7\u3001\u5bc6\u7801\u7b49\u4e3a\u4f60\u7684\u5b9e\u9645\u914d\u7f6e\u3002\u5b89\u5168\u7b2c\u4e00&#xff01;<\/p>\n<p>&#8212;&#8212;<\/p>\n<p>\u5ef6\u4f38\u9605\u8bfb&#xff1a;<\/p>\n<p>\u3010\u5f53\u4e0b&#xff0c;\u4e91\u5382\u5546\u63d0\u4f9b\u7684\u4e91\u4e3b\u673a&#xff0c;\u4f1a\u7981\u6b62\u7528\u4e91\u4e3b\u673a\u516c\u7f51ip&#xff0c;\u518d\u52a0\u201c\u5185\u7f51\u7a7f\u900f\u201d\u65b9\u5f0f&#xff0c;\u5728\u5bb6\u53e6\u8bbe\u4e3b\u673a\u4e48&#xff1f;\u3011\u2192\u770b\u770bAi\u5982\u4f55\u56de\u7b54&#xff1f;<\/p>\n<p>https:\/\/chat.deepseek.com\/share\/x467vbq9gljpae891v<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u4f55\u81ea\u5efa\u516c\u7f51\u670d\u52a1\u5668&#xff1a;\u4ece\u96f6\u642d\u5efa\u5bb6\u5ead\u670d\u52a1\u5668\u7684\u5b8c\u6574\u6307\u5357\u6708\u79df2000\u7684\u4e91\u4e3b\u673a\u7528\u4e0d\u8d77&#xff1f;\u624b\u628a\u624b\u6559\u4f60\u7528\u95f2\u7f6e\u7535\u8111\u642d\u5efa\u5c5e\u4e8e\u81ea\u5df1\u7684\u516c\u7f51\u670d\u52a1\u5668\u76ee\u5f55\u00b7 \u4e00\u3001\u4e3a\u4ec0\u4e48\u9009\u62e9\u81ea\u5efa\u516c\u7f51\u670d\u52a1\u5668&#xff1f;\u00b7 \u4e8c\u3001\u4e24\u79cd\u4e3b\u6d41\u65b9\u6848\u5bf9\u6bd4&#xff1a;\u4f60\u9700\u8981\u54ea\u4e00\u4e2a&#xff1f;\u00b7 \u4e09\u3001\u65b9\u6848\u4e00\u8be6\u89e3&#xff1a;\u6709\u516c\u7f51IP\u65f6\u7684\u76f4\u63a5\u53d1\u5e03\u65b9\u6848\u00b7 \u56db\u3001\u65b9\u6848\u4e8c\u8be6\u89e3&#xff1a;\u65e0\u516c\u7f51IP\u65f6\u7684FRP\u5185\u7f51\u7a7f\u900f\u65b9\u6848\u00b7 \u4e94\u3001\u4e00\u6b65\u4e00\u6b65\u6559\u4f60\u90e8\u7f72FRP\u5185\u7f51\u7a7f\u900f\u00b7 \u516d\u3001\u5b89\u5168\u52a0\u56fa&#xff1a;\u8ba9\u516c\u7f51\u670d\u52a1\u5668\u66f4\u5b89<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43,44],"topic":[],"class_list":["post-81858","post","type-post","status-publish","format-standard","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>\u96f6\u57fa\u7840\u642d\u5efa\u5bb6\u5ead\u516c\u7f51\u670d\u52a1\u5668 - \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\/81858.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u96f6\u57fa\u7840\u642d\u5efa\u5bb6\u5ead\u516c\u7f51\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5982\u4f55\u81ea\u5efa\u516c\u7f51\u670d\u52a1\u5668&#xff1a;\u4ece\u96f6\u642d\u5efa\u5bb6\u5ead\u670d\u52a1\u5668\u7684\u5b8c\u6574\u6307\u5357\u6708\u79df2000\u7684\u4e91\u4e3b\u673a\u7528\u4e0d\u8d77&#xff1f;\u624b\u628a\u624b\u6559\u4f60\u7528\u95f2\u7f6e\u7535\u8111\u642d\u5efa\u5c5e\u4e8e\u81ea\u5df1\u7684\u516c\u7f51\u670d\u52a1\u5668\u76ee\u5f55\u00b7 \u4e00\u3001\u4e3a\u4ec0\u4e48\u9009\u62e9\u81ea\u5efa\u516c\u7f51\u670d\u52a1\u5668&#xff1f;\u00b7 \u4e8c\u3001\u4e24\u79cd\u4e3b\u6d41\u65b9\u6848\u5bf9\u6bd4&#xff1a;\u4f60\u9700\u8981\u54ea\u4e00\u4e2a&#xff1f;\u00b7 \u4e09\u3001\u65b9\u6848\u4e00\u8be6\u89e3&#xff1a;\u6709\u516c\u7f51IP\u65f6\u7684\u76f4\u63a5\u53d1\u5e03\u65b9\u6848\u00b7 \u56db\u3001\u65b9\u6848\u4e8c\u8be6\u89e3&#xff1a;\u65e0\u516c\u7f51IP\u65f6\u7684FRP\u5185\u7f51\u7a7f\u900f\u65b9\u6848\u00b7 \u4e94\u3001\u4e00\u6b65\u4e00\u6b65\u6559\u4f60\u90e8\u7f72FRP\u5185\u7f51\u7a7f\u900f\u00b7 \u516d\u3001\u5b89\u5168\u52a0\u56fa&#xff1a;\u8ba9\u516c\u7f51\u670d\u52a1\u5668\u66f4\u5b89\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/81858.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-24T20:43:14+00:00\" \/>\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=\"7 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/81858.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/81858.html\",\"name\":\"\u96f6\u57fa\u7840\u642d\u5efa\u5bb6\u5ead\u516c\u7f51\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-24T20:43:14+00:00\",\"dateModified\":\"2026-07-24T20:43:14+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/81858.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/81858.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/81858.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u96f6\u57fa\u7840\u642d\u5efa\u5bb6\u5ead\u516c\u7f51\u670d\u52a1\u5668\"}]},{\"@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":"\u96f6\u57fa\u7840\u642d\u5efa\u5bb6\u5ead\u516c\u7f51\u670d\u52a1\u5668 - \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\/81858.html","og_locale":"zh_CN","og_type":"article","og_title":"\u96f6\u57fa\u7840\u642d\u5efa\u5bb6\u5ead\u516c\u7f51\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5982\u4f55\u81ea\u5efa\u516c\u7f51\u670d\u52a1\u5668&#xff1a;\u4ece\u96f6\u642d\u5efa\u5bb6\u5ead\u670d\u52a1\u5668\u7684\u5b8c\u6574\u6307\u5357\u6708\u79df2000\u7684\u4e91\u4e3b\u673a\u7528\u4e0d\u8d77&#xff1f;\u624b\u628a\u624b\u6559\u4f60\u7528\u95f2\u7f6e\u7535\u8111\u642d\u5efa\u5c5e\u4e8e\u81ea\u5df1\u7684\u516c\u7f51\u670d\u52a1\u5668\u76ee\u5f55\u00b7 \u4e00\u3001\u4e3a\u4ec0\u4e48\u9009\u62e9\u81ea\u5efa\u516c\u7f51\u670d\u52a1\u5668&#xff1f;\u00b7 \u4e8c\u3001\u4e24\u79cd\u4e3b\u6d41\u65b9\u6848\u5bf9\u6bd4&#xff1a;\u4f60\u9700\u8981\u54ea\u4e00\u4e2a&#xff1f;\u00b7 \u4e09\u3001\u65b9\u6848\u4e00\u8be6\u89e3&#xff1a;\u6709\u516c\u7f51IP\u65f6\u7684\u76f4\u63a5\u53d1\u5e03\u65b9\u6848\u00b7 \u56db\u3001\u65b9\u6848\u4e8c\u8be6\u89e3&#xff1a;\u65e0\u516c\u7f51IP\u65f6\u7684FRP\u5185\u7f51\u7a7f\u900f\u65b9\u6848\u00b7 \u4e94\u3001\u4e00\u6b65\u4e00\u6b65\u6559\u4f60\u90e8\u7f72FRP\u5185\u7f51\u7a7f\u900f\u00b7 \u516d\u3001\u5b89\u5168\u52a0\u56fa&#xff1a;\u8ba9\u516c\u7f51\u670d\u52a1\u5668\u66f4\u5b89","og_url":"https:\/\/www.wsisp.com\/helps\/81858.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-24T20:43:14+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"7 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/81858.html","url":"https:\/\/www.wsisp.com\/helps\/81858.html","name":"\u96f6\u57fa\u7840\u642d\u5efa\u5bb6\u5ead\u516c\u7f51\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-24T20:43:14+00:00","dateModified":"2026-07-24T20:43:14+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/81858.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/81858.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/81858.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u96f6\u57fa\u7840\u642d\u5efa\u5bb6\u5ead\u516c\u7f51\u670d\u52a1\u5668"}]},{"@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\/81858","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=81858"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/81858\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=81858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=81858"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=81858"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=81858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}