{"id":31488,"date":"2025-04-21T14:21:22","date_gmt":"2025-04-21T06:21:22","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/31488.html"},"modified":"2025-04-21T14:21:22","modified_gmt":"2025-04-21T06:21:22","slug":"lanproxy%e5%bc%80%e7%ae%b1%e5%8d%b3%e7%94%a8%e7%9a%84%e5%86%85%e7%bd%91%e7%a9%bf%e9%80%8f%e5%b7%a5%e6%9c%8d%e5%8a%a1%ef%bc%81%ef%bc%81","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/31488.html","title":{"rendered":"Lanproxy\u5f00\u7bb1\u5373\u7528\u7684\u5185\u7f51\u7a7f\u900f\u5de5\u670d\u52a1\uff01\uff01"},"content":{"rendered":"<\/p>\n<h4>Lanproxy\u5feb\u901f\u4e0a\u624b\u914d\u7f6e\u670d\u52a1\u5668\u8f6c\u53d1\u5230\u5185\u7f51!!<\/h4>\n<ul>\n<li>\n<ul>\n<li>\u672c\u6559\u7a0b\u4e91\u670d\u52a1\u5668\u63a8\u8350\u4f7f\u7528\u7684\u5f00\u53d1\u73af\u5883\u5982\u4e0b&#xff1a;<\/li>\n<li>\u670d\u52a1\u5668\u7aef\u914d\u7f6e<\/li>\n<li>\n<ul>\n<li>\u914d\u7f6e\u7aef\u53e3<\/li>\n<li>\u767b\u5f55Web\u754c\u9762<\/li>\n<\/ul>\n<\/li>\n<li>\u5185\u7f51\u5ba2\u6237\u7aef\u914d\u7f6e<\/li>\n<li>\n<ul>\n<li>\u4e0b\u8f7d\u5ba2\u6237\u7aef<\/li>\n<li>\u914d\u7f6e\u5ba2\u6237\u7aef\u7aef\u53e3<\/li>\n<\/ul>\n<\/li>\n<li>\u6700\u7ec8\u6548\u679c\u6d4b\u8bd5<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u672c\u6587\u4e3b\u8981\u8bb0\u5f55\u4e86\u4f7f\u7528Lanproxy\u642d\u5efa\u5185\u7f51\u7a7f\u900f\u670d\u52a1\u7684\u8fc7\u7a0b&#xff0c;\u5176\u4e2d\u5305\u62ec\u670d\u52a1\u7aef\u548c\u5ba2\u6237\u7aef\u7684\u8be6\u7ec6\u914d\u7f6e&#xff0c;\u5e76\u4e14\u57fa\u4e8e\u5b9d\u5854\u9762\u677f\u7684Nginx\u5b9e\u73b0\u57df\u540d\u7ed1\u5b9a\u3001\u53cd\u5411\u4ee3\u7406\u4e0eSSL\u7b49\u914d\u7f6e<\/p>\n<p>\u672c\u5730\u5f00\u53d1\u7684\u9879\u76ee&#xff0c;\u8eab\u5728\u5343\u91cc\u4e4b\u5916\u7684\u670b\u53cb\u5982\u4f55\u8bbf\u95ee&#xff1f; \u672c\u5730\u652f\u4ed8\u63a5\u53e3\u5982\u4f55\u8c03\u8bd5&#xff1f; \u901a\u8fc7\u672c\u6559\u7a0b&#xff0c;\u8fd9\u4e9b\u95ee\u9898\u90fd\u5c06\u5f97\u5230\u89e3\u51b3\u3002 \u672c\u6559\u7a0b\u5c06\u4ecb\u7ecd\u5982\u4f55\u642d\u5efa\u5185\u7f51\u7a7f\u900f\u670d\u52a1&#xff08;NAT\u7a7f\u900f\u670d\u52a1&#xff09;&#xff0c;\u5c06\u6ca1\u6709\u516c\u7f51IP\u7684\u4e3b\u673a\u6620\u5c04\u81f3\u516c\u7f51&#xff0c;\u5b9e\u73b0\u4efb\u610f\u5730\u70b9\u8bbf\u95ee\u5185\u7f51\u7684\u4e3b\u673a &#xff08;\u5982\u679c\u6ca1\u6709\u516c\u7f51IP\u7684\u670d\u52a1\u5668\u53ef\u4ee5\u53c2\u8003 \u300anatapp \u672c\u5730\u5185\u7f51\u7a7f\u900f\u300b \u8fd9\u79cd\u65e0\u9700\u516c\u7f51IP\u6216\u8005\u670d\u52a1\u5668\u652f\u6301\u7684&#xff09;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250421062117-6805e3dd373ed.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u673a\u5668\u914d\u7f6e\u6761\u4ef6&#xff1a;<\/p>\n<h3>\u672c\u6559\u7a0b\u4e91\u670d\u52a1\u5668\u63a8\u8350\u4f7f\u7528\u7684\u5f00\u53d1\u73af\u5883\u5982\u4e0b&#xff1a;<\/h3>\n<p>\u670d\u52a1\u5668\u90e8\u7f72\u5185\u5bb9&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250421062117-6805e3dda326c.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u672c\u5730\u670d\u52a1\u90e8\u7f72\u5185\u5bb9&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250421062117-6805e3dddecd2.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5982\u679c\u4f7f\u7528\u57df\u540d&#xff0c;\u57df\u540d\u5fc5\u987b\u5907\u6848\u3002\u5982\u679c\u4e0d\u4f7f\u7528\u57df\u540d&#xff0c;\u5219\u53ef\u4ee5\u4f7f\u7528IP\u5730\u5740:\u7aef\u53e3\u7684\u5f62\u5f0f&#xff0c;\u8fdb\u884c\u6d4b\u8bd5\u8bbf\u95ee<\/p>\n<p>\u8f6c\u53d1\u6d41\u7a0b&#xff1a;\u6570\u636e\u6d41\u662f &#xff08;\u91cd\u8981&#xff1a;\u8fd9\u4e5f\u5c31\u5bfc\u81f4\u4f7f\u7528\u7b2c\u4e09\u65b9\u7684\u5185\u7f51\u7a7f\u900f\u670d\u52a1&#xff0c;\u5b58\u5728\u6570\u636e\u5305\u7ecf\u8fc7\u5bf9\u65b9\u670d\u52a1\u5668\u6240\u5f15\u53d1\u7684\u6570\u636e\u5b89\u5168\u6027\u95ee\u9898\u3002&#xff09;<\/p>\n<p>\u516c\u7f51\u2190\u2192\u4e91\u670d\u52a1\u5668\u2190\u2192\u5185\u7f51<\/p>\n<h3>\u670d\u52a1\u5668\u7aef\u914d\u7f6e<\/h3>\n<p>LanProxy GitHub \u5de5\u5177\u4e0b\u8f7d<\/p>\n<p>\u5728 \/usr\/local\/docker \u76ee\u5f55\u4e0b&#xff0c;\u65b0\u5efa\u540d\u4e3alanproxy\u7684\u6587\u4ef6\u5939&#xff0c;\u7136\u540e\u8fdb\u5165\u8be5\u6587\u4ef6\u5939\u3002\u5982\u4e0b\u56fe\u6240\u793a&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250421062118-6805e3de1a7b7.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5728lanproxy\u6587\u4ef6\u5939\u5185&#xff0c;\u4f7f\u7528vi\u547d\u4ee4\u65b0\u5efa\u4e00\u4e2a\u540d\u4e3adocker-compose.yml \u7684\u6587\u4ef6&#xff0c;\u5199\u5165\u5982\u4e0b\u4fe1\u606f\u5e76\u4fdd\u5b58\u3002<\/p>\n<p>version: <span class=\"token string\">&#039;3.1&#039;<\/span><br \/>\nservices:<br \/>\n  lanproxy-client:<br \/>\n    <span class=\"token comment\"># \u955c\u50cf\u5730\u5740 <\/span><br \/>\n    image: franklin5\/lanproxy-server<br \/>\n    container_name: lanproxy-server<br \/>\n    environment:<br \/>\n     <span class=\"token comment\"># \u914d\u7f6e\u4f60\u7684\u8d26\u53f7<\/span><br \/>\n     &#8211; <span class=\"token assign-left variable\">LANPROXY_USERNAME<\/span><span class=\"token operator\">&#061;<\/span>admin<br \/>\n     <span class=\"token comment\"># \u914d\u7f6e\u4f60\u7684\u5bc6\u7801<\/span><br \/>\n     &#8211; <span class=\"token assign-left variable\">LANPROXY_PASSWORD<\/span><span class=\"token operator\">&#061;<\/span>admin<br \/>\n   volumes:<br \/>\n     <span class=\"token comment\"># \u7528\u4e8e\u4fdd\u5b58\u521b\u5efa\u7684\u914d\u7f6e\u6587\u4ef6&#xff0c;\u907f\u514d\u91cd\u542f\u670d\u52a1\u540e\u914d\u7f6e\u6d88\u5931<\/span><br \/>\n     &#8211; .\/config-data:\/root\/.lanproxy<br \/>\n    ports:<br \/>\n     &#8211; <span class=\"token number\">9001<\/span>:8090 <span class=\"token comment\"># \u5de6&#xff1a;\u670d\u52a1\u5668&#xff08;\u5bbf\u4e3b\u673a&#xff09;\u7684IP&#xff0c;\u4e5f\u662f\u8bbf\u95ee\u5730\u5740&#xff1b;\u53f3&#xff1a;\u5bb9\u5668\u5730\u5740<\/span><br \/>\n     &#8211; <span class=\"token number\">4900<\/span>:4900 <span class=\"token comment\"># \u5de6&#xff1a;\u670d\u52a1\u5668&#xff08;\u5bbf\u4e3b\u673a&#xff09;\u7684IP&#xff1b;\u53f3&#xff1a;\u5bb9\u5668\u5730\u5740<\/span><br \/>\n     &#8211; <span class=\"token number\">4993<\/span>:4993 <span class=\"token comment\"># \u5de6&#xff1a;\u670d\u52a1\u5668&#xff08;\u5bbf\u4e3b\u673a&#xff09;\u7684IP&#xff1b;\u53f3&#xff1a;\u5bb9\u5668\u5730\u5740<\/span><br \/>\n     &#8211; <span class=\"token number\">9001<\/span>-9100:9001-9100 <span class=\"token comment\"># \u8fd9\u91cc\u6dfb\u52a0100\u7ec4\u7aef\u53e3\u6620\u5c04&#xff0c;\u540e\u7eed\u7528\u6765\u6dfb\u52a0\u6620\u5c04<\/span><br \/>\n    restart: always <span class=\"token comment\"># \u59cb\u7ec8\u91cd\u542f<\/span><\/p>\n<p>\u89e3\u91ca\u4e0b\u4e0a\u9762\u51e0\u4e2a\u7aef\u53e3&#xff1a;<\/p>\n<p>8090&#xff1a;\u7528\u4e8e\u670d\u52a1\u7aef web \u754c\u9762&#xff0c;\u65b9\u4fbf\u5bf9\u591a\u4e2a\u5ba2\u6237\u7aef\u8fdb\u884c\u7ba1\u7406 9000-9100&#xff1a;\u7528\u4e8e\u914d\u7f6e\u591a\u4e2a\u5ba2\u6237\u7aef&#xff0c;\u8fdb\u884c\u7aef\u53e3\u6620\u5c04<\/p>\n<p>\u91cd\u542f\u670d\u52a1&#xff1a;<\/p>\n<p><span class=\"token function\">docker-compose<\/span> up <span class=\"token parameter variable\">-d<\/span><\/p>\n<p>\u542f\u52a8\u6210\u529f\u540e&#xff0c;\u5728\u5b9d\u5854\u9762\u677f\u4e2d\u67e5\u770b\u72b6\u6001&#xff0c;\u5982\u679c\u542f\u52a8\u5931\u8d25\u3002\u7ba1\u7406\u8fd9\u91cc\u8fdb\u53bb\u53ef\u4ee5\u67e5\u770b\u5bb9\u5668\u65e5\u5fd7&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250421062118-6805e3de4a9c6.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u670d\u52a1\u7aef\u670d\u52a1\u5c31\u5f00\u542f\u6210\u529f\u4e86&#xff01;&#xff01;&#xff01;&#xff01;<\/p>\n<h4>\u914d\u7f6e\u7aef\u53e3<\/h4>\n<p>\u6ce8\u610f&#xff1a;\u4e0a\u8ff0\u7aef\u53e3&#xff1a;8090\u30014900\u30014993\u30019000-9100 \u90fd\u9700\u8981\u5728\u9632\u706b\u5899\u4e2d\u653e\u5f00&#xff0c;\u5426\u5219\u65e0\u6cd5\u8bbf\u95ee&#xff01;<\/p>\n<h4>\u767b\u5f55Web\u754c\u9762<\/h4>\n<p>\u6253\u5f00 web \u5e94\u7528&#xff0c;\u4e5f\u5c31\u662f\u516c\u7f51\u670d\u52a1\u5668\u7684 IP &#043; \u7aef\u53e3\u53f7&#xff0c;\u4f8b&#xff1a;{ip}:8090\u3002\u767b\u9646\u8d26\u53f7\u548c\u5bc6\u7801&#xff0c;\u5728 docker-compose.yml \u4e2d\u6709\u914d\u7f6e&#xff0c;\u9ed8\u8ba4\u90fd\u662f admin\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250421062118-6805e3de92afa.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u767b\u5f55\u6210\u529f\u540e&#xff0c;\u6211\u4eec\u5148\u6dfb\u52a0\u4e00\u4e2a\u5ba2\u6237\u7aef&#xff0c;\u6ce8\u610f\u8fd9\u91cc\u7684\u5bc6\u94a5&#xff0c;\u4f1a\u5728\u540e\u9762\u5ba2\u6237\u7aef\u914d\u7f6e\u65f6\u9700\u8981\u7528\u5230&#xff08;\u7c7b\u4f3c\u4e8enatapp authtoken&#xff09;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250421062118-6805e3dee3f9d.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u5185\u7f51\u5ba2\u6237\u7aef\u914d\u7f6e<\/h3>\n<p>\u672c\u5730\u673a\u5b50&#xff08;\u4f60\u7684\u7b14\u8bb0\u672c\u3001PC\u673a\u3001\u516c\u53f8\u5de5\u4f4d\u673a&#xff09; \u9700\u8981\u88c5docker<\/p>\n<h4>\u4e0b\u8f7d\u5ba2\u6237\u7aef<\/h4>\n<p>\u65b9\u5f0f\u4e00&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> clone https:\/\/github.com\/frank-lam\/lanproxy-client.git<\/p>\n<p>\u65b9\u5f0f\u4e8c&#xff1a;<\/p>\n<p>\u8bbf\u95ee https:\/\/file.nioee.com\/d\/2e81550ebdbd416c933f\/ &#xff0c;<br \/>\n\u4e0b\u8f7d\u540d\u4e3a proxy-java-client-0.1.zip \u7684Java\u5ba2\u6237\u7aef\u538b\u7f29\u5305&#xff0c;\u7136\u540e\u89e3\u538b&#xff0c;\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250421062119-6805e3df40a15.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u6253\u5f00conf\u6587\u4ef6\u5939\u4e0b\u7684config.properties\u6587\u4ef6&#xff0c;\u6309\u4e0b\u56fe\u6240\u793a\u914d\u7f6ekey\u548chost<\/p>\n<p>\u4e0b\u8f7d\u5b8c\u6210&#xff0c;\u4fee\u6539\u5bf9\u5e94\u914d\u7f6e\u6587\u4ef6<\/p>\n<p>\u5728 distribution\/proxy-client-0.1\/conf\/config.properties \u4e2d\u8fdb\u884c\u4fee\u6539.m\u9ed8\u8ba4\u53ea\u9700\u8981\u586b\u5165 client.key \u548c server.host&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u8fd9\u91cc\u662f\u5728lanproxy\u540e\u53f0\u914d\u7f6e\u7684\u5bc6\u94a5<\/span><br \/>\n<span class=\"token assign-left variable\">client.key<\/span><span class=\"token operator\">&#061;<\/span>\u521a\u521a\u5728\u62ff\u5230\u7684\u5ba2\u6237\u7aef\u5bc6\u94a5<\/p>\n<p><span class=\"token comment\"># \u914d\u7f6essl\u4fe1\u606f&#xff0c;\u6839\u636e\u670d\u52a1\u7aef\u7684\u914d\u7f6e\u586b\u5199&#xff08;enable &#061; false \u5c31\u4e0d\u9700\u8981\u914d\u7f6e&#xff09;<\/span><br \/>\n<span class=\"token assign-left variable\">ssl.enable<\/span><span class=\"token operator\">&#061;<\/span>false<br \/>\n<span class=\"token assign-left variable\">ssl.jksPath<\/span><span class=\"token operator\">&#061;<\/span>test.jks<br \/>\n<span class=\"token assign-left variable\">ssl.keyStorePassword<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">123456<\/span><\/p>\n<p><span class=\"token comment\"># \u516c\u7f51\u670d\u52a1\u5668ip&#xff0c;\u4e5f\u652f\u6301\u57df\u540d<\/span><br \/>\n<span class=\"token assign-left variable\">server.host<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">111.111<\/span>.88.88<\/p>\n<p><span class=\"token comment\">#proxy-server ssl\u9ed8\u8ba4\u7aef\u53e34993&#xff0c;\u9ed8\u8ba4\u666e\u901a\u7aef\u53e34900<\/span><br \/>\n<span class=\"token comment\">#ssl.enable&#061;true\u65f6\u8fd9\u91cc\u586b\u5199ssl\u7aef\u53e3&#xff0c;ssl.enable&#061;false\u65f6\u8fd9\u91cc\u586b\u5199\u666e\u901a\u7aef\u53e3<\/span><br \/>\n<span class=\"token assign-left variable\">server.port<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">9001<\/span><\/p>\n<p>docker\u4e0b\u91cd\u542f\u5ba2\u6237\u7aef&#xff1a;<\/p>\n<p>sh start.sh \u67e5\u770b\u5ba2\u6237\u7aef\u8fd0\u884c\u72b6\u6001 sh status.sh \u505c\u6b62\u5ba2\u6237\u7aef sh stop.sh<\/p>\n<p>Windows\u7cfb\u7edf\u4e0b&#xff0c;\u53cc\u51fb\u8fd0\u884c bin \u6587\u4ef6\u5939\u4e0b\u7684startup.bat\u6279\u5904\u7406\u547d\u4ee4&#xff0c;\u5982\u4e0b\u56fe\u6240\u793a\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250421062119-6805e3df68919.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u8fd9\u65f6\u56de\u5230\u670d\u52a1\u5668\u7aef\u770b&#xff0c;\u5ba2\u6237\u7aef\u90a3\u4e2atoken\u5df2\u7ecf\u66f4\u65b0\u4e3a\u5728\u7ebf\u72b6\u6001\u4e86&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250421062119-6805e3df9d2ab.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>\u914d\u7f6e\u5ba2\u6237\u7aef\u7aef\u53e3<\/h4>\n<p>\u56de\u5230\u5ba2\u6237\u7aef\u7ba1\u7406\u754c\u9762&#xff0c;\u5728 \u914d\u7f6e\u7ba1\u7406\u8fd9\u91cc&#xff0c;\u6dfb\u52a0\u4e00\u4e2a\u7aef\u53e3\u6620\u5c04&#xff1a;<\/p>\n<li>\u4ee3\u7406\u540d\u79f0&#xff1a;\u968f\u4fbf\u586b<\/li>\n<li>\u516c\u7f51\u7aef\u53e3&#xff1a;9000-9100 \u4e2d\u4efb\u610f\u4e00\u4e2a&#xff0c;\u7528\u4e8e\u6620\u5c04\u5230\u5185\u7f51\u670d\u52a1<\/li>\n<li>\u5185\u7f51\u4e3b\u673a IP&#xff1a;\u5185\u7f51\u4e3b\u673a\u9879\u76ee\u7684\u8bbf\u95eeIP\u3002\u6bd4\u5982\u672c\u673a\u67d0\u9879\u76ee\u7684\u8bbf\u95ee\u5730\u5740\u662flocalhost:8080&#xff0c;\u5219\u586b\u5199 127.0.0.1:8080\u3002\u627e\u5230\u5185\u7f51\u4e3b\u673a\u7684 IP&#xff0c;\u4ee5\u53ca\u4f60\u8981\u6620\u5c04\u51fa\u6765\u7684\u670d\u52a1\u7684\u7aef\u53e3\u53f7<\/li>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250421062119-6805e3dfdab3a.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5982\u4e0a\u56fe\u7684\u914d\u7f6e\u5b9e\u4f8b&#xff0c;\u6700\u7ec8\u5b9e\u73b0\u7684\u6548\u679c\u662f\u516c\u7f51\u8bbf\u95ee 111.111.88.88:9001 \u53ef\u4ee5\u8bbf\u95ee\u5185\u7f51\u4e3b\u673a\u7684 127.0.0.1:9010 \u7684\u9879\u76ee\u3002 \u81f3\u6b64&#xff0c;\u670d\u52a1\u7aef\u914d\u7f6e\u5b8c\u6bd5\u3002<\/p>\n<h3>\u6700\u7ec8\u6548\u679c\u6d4b\u8bd5<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250421062120-6805e3e02fc3d.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5185\u7f51\u8bbf\u95ee&#xff1a;http:\/\/localhost:9010 \u8bbf\u95ee\u6b63\u5e38 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250421062120-6805e3e058363.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u516c\u7f51\u8bbf\u95ee&#xff1a;111.111.88.88:9001 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250421062120-6805e3e09a158.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u6dfb\u52a0GZ\u83b7\u53d6\u66f4\u591a\u7528\u4f8b&#xff01;&#xff01;<sup>_<\/sup> \u6b22\u8fce\u540c\u5b66 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250421062120-6805e3e0c9701.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.5k\u6b21\uff0c\u70b9\u8d5e13\u6b21\uff0c\u6536\u85cf20\u6b21\u3002\u672c\u6587\u4e3b\u8981\u8bb0\u5f55\u4e86\u4f7f\u7528Lanproxy\u642d\u5efa\u5185\u7f51\u7a7f\u900f\u670d\u52a1\u7684\u8fc7\u7a0b\uff0c\u5176\u4e2d\u5305\u62ec\u670d\u52a1\u7aef\u548c\u5ba2\u6237\u7aef\u7684\u8be6\u7ec6\u914d\u7f6e\uff0c\u5e76\u4e14\u57fa\u4e8e\u5b9d\u5854\u9762\u677f\u7684Nginx\u5b9e\u73b0\u57df\u540d\u7ed1\u5b9a\u3001\u53cd\u5411\u4ee3\u7406\u4e0eSSL\u7b49\u914d\u7f6e\u672c\u5730\u5f00\u53d1\u7684\u9879\u76ee\uff0c\u8eab\u5728\u5343\u91cc\u4e4b\u5916\u7684\u670b\u53cb\u5982\u4f55\u8bbf\u95ee\uff1f\u901a\u8fc7\u672c\u6559\u7a0b\uff0c\u8fd9\u4e9b\u95ee\u9898\u90fd\u5c06\u5f97\u5230\u89e3\u51b3\u3002\u672c\u6559\u7a0b\u5c06\u4ecb\u7ecd\u5982\u4f55\u642d\u5efa\u5185\u7f51\u7a7f\u900f\u670d\u52a1\uff08NAT\u7a7f\u900f\u670d\u52a1\uff09\uff0c\u5c06\u6ca1\u6709\u516c\u7f51IP\u7684\u4e3b\u673a\u6620\u5c04\u81f3\u516c\u7f51\uff0c\u5b9e\u73b0\u4efb\u610f\u5730\u70b9\u8bbf\u95ee\u5185\u7f51\u7684\u4e3b\u673a\u53ef\u4ee5\u53c2\u8003\u8fd9\u79cd\u65e0\u9700\u516c\u7f51IP\u6216\u8005\u670d\u52a1\u5668\u652f\u6301\u7684\uff09_lanproxy<\/p>\n","protected":false},"author":2,"featured_media":31473,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[99,575,43,78],"topic":[],"class_list":["post-31488","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-java","tag-575","tag-43","tag-78"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Lanproxy\u5f00\u7bb1\u5373\u7528\u7684\u5185\u7f51\u7a7f\u900f\u5de5\u670d\u52a1\uff01\uff01 - \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\/31488.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Lanproxy\u5f00\u7bb1\u5373\u7528\u7684\u5185\u7f51\u7a7f\u900f\u5de5\u670d\u52a1\uff01\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.5k\u6b21\uff0c\u70b9\u8d5e13\u6b21\uff0c\u6536\u85cf20\u6b21\u3002\u672c\u6587\u4e3b\u8981\u8bb0\u5f55\u4e86\u4f7f\u7528Lanproxy\u642d\u5efa\u5185\u7f51\u7a7f\u900f\u670d\u52a1\u7684\u8fc7\u7a0b\uff0c\u5176\u4e2d\u5305\u62ec\u670d\u52a1\u7aef\u548c\u5ba2\u6237\u7aef\u7684\u8be6\u7ec6\u914d\u7f6e\uff0c\u5e76\u4e14\u57fa\u4e8e\u5b9d\u5854\u9762\u677f\u7684Nginx\u5b9e\u73b0\u57df\u540d\u7ed1\u5b9a\u3001\u53cd\u5411\u4ee3\u7406\u4e0eSSL\u7b49\u914d\u7f6e\u672c\u5730\u5f00\u53d1\u7684\u9879\u76ee\uff0c\u8eab\u5728\u5343\u91cc\u4e4b\u5916\u7684\u670b\u53cb\u5982\u4f55\u8bbf\u95ee\uff1f\u901a\u8fc7\u672c\u6559\u7a0b\uff0c\u8fd9\u4e9b\u95ee\u9898\u90fd\u5c06\u5f97\u5230\u89e3\u51b3\u3002\u672c\u6559\u7a0b\u5c06\u4ecb\u7ecd\u5982\u4f55\u642d\u5efa\u5185\u7f51\u7a7f\u900f\u670d\u52a1\uff08NAT\u7a7f\u900f\u670d\u52a1\uff09\uff0c\u5c06\u6ca1\u6709\u516c\u7f51IP\u7684\u4e3b\u673a\u6620\u5c04\u81f3\u516c\u7f51\uff0c\u5b9e\u73b0\u4efb\u610f\u5730\u70b9\u8bbf\u95ee\u5185\u7f51\u7684\u4e3b\u673a\u53ef\u4ee5\u53c2\u8003\u8fd9\u79cd\u65e0\u9700\u516c\u7f51IP\u6216\u8005\u670d\u52a1\u5668\u652f\u6301\u7684\uff09_lanproxy\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/31488.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-21T06:21:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250421062117-6805e3dd373ed.png\" \/>\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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/31488.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/31488.html\",\"name\":\"Lanproxy\u5f00\u7bb1\u5373\u7528\u7684\u5185\u7f51\u7a7f\u900f\u5de5\u670d\u52a1\uff01\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-21T06:21:22+00:00\",\"dateModified\":\"2025-04-21T06:21:22+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/31488.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/31488.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/31488.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lanproxy\u5f00\u7bb1\u5373\u7528\u7684\u5185\u7f51\u7a7f\u900f\u5de5\u670d\u52a1\uff01\uff01\"}]},{\"@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":"Lanproxy\u5f00\u7bb1\u5373\u7528\u7684\u5185\u7f51\u7a7f\u900f\u5de5\u670d\u52a1\uff01\uff01 - \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\/31488.html","og_locale":"zh_CN","og_type":"article","og_title":"Lanproxy\u5f00\u7bb1\u5373\u7528\u7684\u5185\u7f51\u7a7f\u900f\u5de5\u670d\u52a1\uff01\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.5k\u6b21\uff0c\u70b9\u8d5e13\u6b21\uff0c\u6536\u85cf20\u6b21\u3002\u672c\u6587\u4e3b\u8981\u8bb0\u5f55\u4e86\u4f7f\u7528Lanproxy\u642d\u5efa\u5185\u7f51\u7a7f\u900f\u670d\u52a1\u7684\u8fc7\u7a0b\uff0c\u5176\u4e2d\u5305\u62ec\u670d\u52a1\u7aef\u548c\u5ba2\u6237\u7aef\u7684\u8be6\u7ec6\u914d\u7f6e\uff0c\u5e76\u4e14\u57fa\u4e8e\u5b9d\u5854\u9762\u677f\u7684Nginx\u5b9e\u73b0\u57df\u540d\u7ed1\u5b9a\u3001\u53cd\u5411\u4ee3\u7406\u4e0eSSL\u7b49\u914d\u7f6e\u672c\u5730\u5f00\u53d1\u7684\u9879\u76ee\uff0c\u8eab\u5728\u5343\u91cc\u4e4b\u5916\u7684\u670b\u53cb\u5982\u4f55\u8bbf\u95ee\uff1f\u901a\u8fc7\u672c\u6559\u7a0b\uff0c\u8fd9\u4e9b\u95ee\u9898\u90fd\u5c06\u5f97\u5230\u89e3\u51b3\u3002\u672c\u6559\u7a0b\u5c06\u4ecb\u7ecd\u5982\u4f55\u642d\u5efa\u5185\u7f51\u7a7f\u900f\u670d\u52a1\uff08NAT\u7a7f\u900f\u670d\u52a1\uff09\uff0c\u5c06\u6ca1\u6709\u516c\u7f51IP\u7684\u4e3b\u673a\u6620\u5c04\u81f3\u516c\u7f51\uff0c\u5b9e\u73b0\u4efb\u610f\u5730\u70b9\u8bbf\u95ee\u5185\u7f51\u7684\u4e3b\u673a\u53ef\u4ee5\u53c2\u8003\u8fd9\u79cd\u65e0\u9700\u516c\u7f51IP\u6216\u8005\u670d\u52a1\u5668\u652f\u6301\u7684\uff09_lanproxy","og_url":"https:\/\/www.wsisp.com\/helps\/31488.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-21T06:21:22+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250421062117-6805e3dd373ed.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/31488.html","url":"https:\/\/www.wsisp.com\/helps\/31488.html","name":"Lanproxy\u5f00\u7bb1\u5373\u7528\u7684\u5185\u7f51\u7a7f\u900f\u5de5\u670d\u52a1\uff01\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-21T06:21:22+00:00","dateModified":"2025-04-21T06:21:22+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/31488.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/31488.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/31488.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Lanproxy\u5f00\u7bb1\u5373\u7528\u7684\u5185\u7f51\u7a7f\u900f\u5de5\u670d\u52a1\uff01\uff01"}]},{"@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\/31488","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=31488"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/31488\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/31473"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=31488"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=31488"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=31488"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=31488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}