{"id":11547,"date":"2023-09-17T15:43:00","date_gmt":"2023-09-17T07:43:00","guid":{"rendered":"https:\/\/blog.iyatt.com\/?p=11547"},"modified":"2024-05-05T12:31:49","modified_gmt":"2024-05-05T04:31:49","slug":"%e6%84%8f%e5%a4%96%e5%8f%91%e7%8e%b0%e5%ae%bd%e5%b8%a6%e6%9c%89%e5%85%ac%e7%bd%91-ip","status":"publish","type":"post","link":"https:\/\/blog.iyatt.com\/?p=11547","title":{"rendered":"\u53d1\u73b0\u5bbd\u5e26\u6709\u516c\u7f51 IP"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title ez-toc-toggle\" style=\"cursor:pointer\">\u76ee\u5f55<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/blog.iyatt.com\/?p=11547\/#2023917_%E5%8F%91%E7%8E%B0\" >2023.9.17 \u53d1\u73b0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/blog.iyatt.com\/?p=11547\/#2023920_%E4%BD%BF%E7%94%A8\" >2023.9.20 \u4f7f\u7528<\/a><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"2023917_%E5%8F%91%E7%8E%B0\"><\/span>2023.9.17 \u53d1\u73b0<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>\u623f\u5b50\u662f\u5408\u79df\u7684\uff0c\u5bbd\u5e26\u662f\u8054\u901a\u7684\uff0c\u524d\u9762\u4e24\u4e2a\u591a\u6708\u6211\u90fd\u662f\u7528\u7684\u81ea\u5df1\u7684\u8def\u7531\u5668\uff0c\u901a\u8fc7\u6709\u7ebf\u63a5\u5230\u623f\u4e1c\u7684\u8def\u7531\u5668\u4e0a\u7684\uff0c\u6240\u4ee5\u4e00\u76f4\u4e5f\u6ca1\u95ee\u623f\u4e1c\u8def\u7531\u5668\u7684 WiFi \u5bc6\u7801\u662f\u5565\u3002<br \/>\n\u4eca\u5929\u7a81\u7136\u60f3\u5230\u8fd9\u4e2a\u5bbd\u5e26\u4f1a\u4e0d\u4f1a\u6709\u516c\u7f51 IP\uff0c\u60f3\u8d77\u521a\u6765\u7684\u65f6\u5019\uff0c\u6211\u4ee5\u4e3a\u662f\u5149\u732b\u5728\u62e8\u53f7\uff0c\u5c31\u628a\u81ea\u5df1\u7684\u8def\u7531\u5668\u6709\u7ebf\u63a5\u5230\u4e86\u5149\u732b\u4e0a\uff0c\u7ed3\u679c\u53d1\u73b0\u6ca1\u7f51\uff0c\u518d\u63a5\u5230\u623f\u4e1c\u7684\u8def\u7531\u5668\u4e0a\u5c31\u6709\u7f51\u4e86\u3002\u5f53\u65f6\u5c31\u610f\u8bc6\u5230\u5149\u732b\u5e94\u8be5\u8bbe\u7f6e\u7684\u6865\u63a5\uff0c\u7136\u540e\u623f\u4e1c\u90a3\u4e2a\u8def\u7531\u5668\u8fde\u63a5\u5230\u5149\u732b\u4e0a\u8fdb\u884c\u7684\u62e8\u53f7\uff0c\u53ea\u662f\u81ea\u90a3\u4e4b\u540e\u6ca1\u591a\u60f3\u3002\u4eca\u5929\u53c8\u60f3\u8d77\u6765\u5c31\u95ee\u4e86\u623f\u4e1c WiFi \u5bc6\u7801\uff0c\u8def\u7531\u5668\u540e\u53f0\u7684\u7ba1\u7406\u5bc6\u7801\u4e0d\u51fa\u6240\u6599\u4e5f\u662f\u548c WiFi \u5bc6\u7801\u4e00\u6837\u7684\u3002<\/p>\n<p>\u8fdb\u5165\u623f\u4e1c\u7684\u8def\u7531\u5668\u540e\u53f0\u6211\u67e5\u770b\u4e86 IP \u5730\u5740<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/09\/image-1694935772900.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 871px; --smush-placeholder-aspect-ratio: 871\/536;\" \/><br \/>\n\u53d1\u73b0\u548c\u5bf9\u5916\u8bc6\u522b\u5230\u7684 IP \u5730\u5740\u662f\u540c\u4e00\u4e2a\uff08\u6211\u535a\u5ba2\u5f04\u4e86\u4e00\u4e2a IP \u5730\u5740\u663e\u793a\u7684\u5c0f\u811a\u672c\uff09<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/09\/image-1694935952414.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 623px; --smush-placeholder-aspect-ratio: 623\/373;\" \/><\/p>\n<p>\u90a3\u4e5f\u5c31\u610f\u5473\u7740\u8fd9\u4e2a IP \u5730\u5740\u662f\u516c\u7f51\u7684\uff0c\u7136\u540e\u6211\u5728\u623f\u4e1c\u7684\u8def\u7531\u5668\u4e0a\u8bbe\u7f6e DMZ \u5730\u5740\u4e3a\u6211\u7684\u8def\u7531\u5668\uff08\u5730\u5740\uff09\uff0c\u7136\u540e\u5728\u6211\u7684\u8def\u7531\u5668\u4e0a\u53c8\u8bbe\u7f6e DMZ \u4e3a\u6211\u7684\u7535\u8111\uff08\u5730\u5740\uff09\u3002\u5728\u7535\u8111\u4e0a\u7528 python \u5f00 http.server \u6a21\u5757\u6d4b\u8bd5\u4e86\u51e0\u4e2a\u7aef\u53e3\uff0c\u548c\u9884\u6599\u4e00\u6837 21\uff0c22\uff0c80\uff0c443\uff0c8080 \u7b49\u7b49\u7aef\u53e3\u662f\u5c01\u7981\u7684\uff08\u5e38\u7528\u7684\u7ea6\u5b9a\u4fd7\u6210\u7684\u7aef\u53e3\uff09\uff0c\u9664\u6b64\u4e4b\u5916\u53ef\u7528\u7684\u7aef\u53e3\u633a\u591a\u7684\uff0c\u90a3\u4e48\u5728\u672c\u5730\u5efa\u670d\u52a1\u5668\u7528 DDNS \u8bbe\u7f6e\u89e3\u6790\u57df\u540d\u7684\u8bdd\u633a\u4e0d\u9519\uff08\u5bb6\u7528\u5bbd\u5e26\u4e00\u822c IP \u4f1a\u53d8\uff0c\u7528 DDNS \u68c0\u6d4b\u5230\u516c\u7f51 IP \u53d8\u4e86\u53c8\u89e3\u6790\u5230\u65b0\u7684 IP \u5c31\u884c\uff0c\u53ef\u4ee5\u5b9e\u73b0\u56fa\u5b9a\u57df\u540d\u8bbf\u95ee\uff09<\/p>\n<p><img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/09\/image-1694936500374.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 841px; --smush-placeholder-aspect-ratio: 841\/139;\" \/><br \/>\n\u7528\u624b\u673a\u6d4b\u8bd5\u8fde\u63a5\u7684\u65f6\u5019\u7528\u7684\u6570\u636e\u6d41\u91cf\uff0c\u5982\u679c\u4e5f\u548c\u7535\u8111\u4e00\u6837\u8fde\u63a5\u5230\u540c\u4e00\u4e2a\u5bbd\u5e26\uff0c\u5c31\u7b49\u4e8e\u5904\u4e8e\u540c\u4e00\u4e2a\u5c40\u57df\u7f51\uff0c\u5b9e\u9645\u5c31\u662f\u6240\u6709\u7aef\u53e3\u90fd\u53ef\u8bbf\u95ee\uff0c\u6d4b\u8bd5\u4e0d\u51fa\u6765\u5230\u5e95\u54ea\u4e9b\u662f\u5c01\u7981\u7684<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/09\/image-1694936472218.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 999px; --smush-placeholder-aspect-ratio: 999\/581;\" \/><\/p>\n<h1><span class=\"ez-toc-section\" id=\"2023920_%E4%BD%BF%E7%94%A8\"><\/span>2023.9.20 \u4f7f\u7528<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>\u8fdb\u623f\u4e1c\u7684\u8def\u7531\u5668\u540e\u53f0\uff0c\u628a\u6211\u7684\u8def\u7531\u5668 IP \u56fa\u5b9a\u4f4f<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/09\/image-1695209966034.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 982px; --smush-placeholder-aspect-ratio: 982\/621;\" \/><br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/09\/image-1695210046882.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 957px; --smush-placeholder-aspect-ratio: 957\/468;\" \/><\/p>\n<p>\u518d\u5c06\u6211\u8def\u7531\u5668\u7684\u5c40\u57df\u7f51 IP \u8bbe\u7f6e\u4e3a DMZ<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/09\/image-1695210080327.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 286px; --smush-placeholder-aspect-ratio: 286\/106;\" \/><\/p>\n<p><img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/09\/image-1695210134400.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 574px; --smush-placeholder-aspect-ratio: 574\/272;\" \/><\/p>\n<p>\u7136\u540e\u4eca\u5929\u6211\u7279\u610f\u7ed9\u6211\u7684\u8def\u7531\u5668\u7f16\u8bd1\u4e86\u56fa\u4ef6\uff08<a href=\"https:\/\/blog.iyatt.com\/?p=11595\">https:\/\/blog.iyatt.com\/?p=11595<\/a> \uff09\uff0c\u52a0\u5165\u4e86\u963f\u91cc\u4e91 DDNS \u63d2\u4ef6\u3002<\/p>\n<p>\u53bb\u963f\u91cc\u4e91\u4e0a\u521b\u5efa\u6211\u8d26\u53f7\u7684 Access Key \u5e76\u6dfb\u52a0\u4e91\u89e3\u6790\u7684\u6743\u9650\uff0c\u628a Access Key \u586b\u8fdb\u8def\u7531\u5668 DDNS \u63d2\u4ef6\u8bbe\u7f6e\u91cc\u3002\u8bbe\u7f6e\u597d IP \u6765\u6e90\uff0c\u56e0\u4e3a\u8fd9\u91cc\u7684\u516c\u7f51 IP \u6765\u6e90\u4e0d\u662f\u6211\u672c\u673a\u7684\u8def\u7531\u5668\uff0c\u800c\u662f\u4e0a\u7ea7\u8def\u7531\u5668\uff08\u623f\u4e1c\uff09\uff0c\u6240\u4ee5\u6765\u6e90\u5c31\u9009 internet \u800c\u4e0d\u662f\u6211\u8def\u7531\u5668 WAN \u53e3\u7684 IP\u3002\u518d\u5199\u597d\u6211\u81ea\u5df1\u7684\u57df\u540d\uff0c\u5b50\u57df\u540d\uff0c\u66f4\u65b0\u68c0\u67e5\u65f6\u95f4\u5c31\u53ef\u4ee5\u4e86\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/09\/image-1695210245693.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1000px; --smush-placeholder-aspect-ratio: 1000\/763;\" \/><\/p>\n<p>\u7136\u540e\u5728\u6211\u8def\u7531\u5668\u4e0a\u628a\u6211\u7684\u7535\u8111 IP \u548c MAC \u8fdb\u884c\u7ed1\u5b9a\uff0c\u8fd9\u6837\u7535\u8111\u5728\u8def\u7531\u5668\u4e0b\u7684 IP \u5c31\u4e0d\u4f1a\u53d8\u4e86\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/09\/image-1695210764601.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 201px; --smush-placeholder-aspect-ratio: 201\/402;\" \/><\/p>\n<p>\u7136\u540e\u5728\u9632\u706b\u5899\u91cc\u8bbe\u7f6e\u8981\u8f6c\u53d1\u7684\u5185\u90e8 IP \u5730\u5740\u4e3a\u6211\u7535\u8111\uff0c\u4e5f\u53ef\u4ee5\u6307\u5b9a\u7aef\u53e3\u8f6c\u53d1\u5230\u6307\u5b9a\u7aef\u53e3\uff0c\u8fd9\u91cc\u4e0d\u8bbe\u7f6e\u7aef\u53e3\u5c31\u662f\u5168\u8f6c\u53d1\uff0c\u4e14\u5185\u5916\u5bf9\u5e94\u7aef\u53e3\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/09\/image-1695210934060.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1402px; --smush-placeholder-aspect-ratio: 1402\/717;\" \/><\/p>\n<p>\u5728\u7535\u8111\u4e0a\u7528 python \u5f00\u4e86\u4e2a http \u670d\u52a1\u6d4b\u8bd5\u4e86\u4e0b\uff0c\u624b\u673a\u5916\u7f51\u53ef\u4ee5\u8bbf\u95ee\u5230\u3002\u6d4b\u8bd5\u6ca1\u95ee\u9898\u4e86\uff0c\u540e\u7eed\u53ef\u4ee5\u90e8\u7f72\u4e00\u4e9b\u4e1c\u897f\u73a9\u4e86\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/09\/image-1695211114771.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 422px; --smush-placeholder-aspect-ratio: 422\/351;\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>2023.9.17 \u53d1\u73b0 \u623f\u5b50\u662f\u5408\u79df\u7684\uff0c\u5bbd\u5e26\u662f\u8054\u901a\u7684\uff0c\u524d\u9762\u4e24\u4e2a\u591a\u6708\u6211\u90fd\u662f\u7528\u7684\u81ea\u5df1\u7684\u8def\u7531\u5668\uff0c\u901a\u8fc7\u6709\u7ebf\u63a5\u5230\u623f\u4e1c\u7684\u8def [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"zakra_page_container_layout":"customizer","zakra_page_sidebar_layout":"customizer","zakra_remove_content_margin":false,"zakra_sidebar":"customizer","zakra_transparent_header":"customizer","zakra_logo":0,"zakra_main_header_style":"default","zakra_menu_item_color":"","zakra_menu_item_hover_color":"","zakra_menu_item_active_color":"","zakra_menu_active_style":"","zakra_page_header":true,"_lmt_disableupdate":"no","_lmt_disable":"no","footnotes":""},"categories":[1],"tags":[],"class_list":["post-11547","post","type-post","status-publish","format-standard","hentry","category-all"],"modified_by":"IYATT-yx","_links":{"self":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/11547","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11547"}],"version-history":[{"count":0,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/11547\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11547"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11547"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}