{"id":28831,"date":"2025-04-20T03:25:57","date_gmt":"2025-04-19T19:25:57","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/28831.html"},"modified":"2025-04-20T03:25:57","modified_gmt":"2025-04-19T19:25:57","slug":"%e7%a7%81%e7%bd%91%e7%94%a8%e6%88%b7%e4%bd%bf%e7%94%a8%e5%85%ac%e7%bd%91%e5%9c%b0%e5%9d%80%e8%ae%bf%e9%97%ae%e5%86%85%e9%83%a8%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%88%e9%85%8d%e7%bd%ae%e6%ba%90%e8%bf%9b","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/28831.html","title":{"rendered":"\u79c1\u7f51\u7528\u6237\u4f7f\u7528\u516c\u7f51\u5730\u5740\u8bbf\u95ee\u5185\u90e8\u670d\u52a1\u5668\uff08\u914d\u7f6e\u6e90\u8fdb\u6e90\u51fa\uff09"},"content":{"rendered":"<h3>\u7ec4\u7f51\u9700\u6c42<\/h3>\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p20826124213517\">\u67d0\u516c\u53f8\u5728\u7f51\u7edc\u8fb9\u754c\u5904\u90e8\u7f72\u4e86DeviceA\u4f5c\u4e3a\u63a5\u5165\u7f51\u5173&#xff0c;\u5185\u7f51\u8fd8\u90e8\u7f72\u4e86Web\u670d\u52a1\u5668\u548cFTP\u670d\u52a1\u5668\u4e3a\u5185\u7f51\u7528\u6237&#xff08;\u4ee5PC D\u4e3a\u4f8b&#xff09;\u63d0\u4f9bFTP\u670d\u52a1\u548cWWW\u670d\u52a1\u3002\u7531\u4e8eIP\u5730\u5740\u8d44\u6e90\u6709\u9650&#xff0c;\u8be5\u516c\u53f8\u53ea\u6709\u4e00\u4e2a\u53ef\u7528\u7684\u516c\u7f51IP\u5730\u57401.1.1.1&#xff0c;\u90e8\u7f72\u5728DeviceA\u7684\u516c\u7f51\u63a5\u53e3\u4e0a\u3002\u4e3a\u4e86\u9632\u6b62\u5185\u90e8\u670d\u52a1\u5668\u53d7\u5185\u7f51\u7528\u6237\u7684\u653b\u51fb&#xff0c;\u516c\u53f8\u5e0c\u671b\u5728DeviceA\u4e0a\u914d\u7f6eNAT\u529f\u80fd&#xff08;NAT Server&#043;\u6e90NAT&#xff09;&#xff0c;\u4f7f\u5185\u7f51\u7528\u6237\u5fc5\u987b\u4f7f\u7528\u516c\u7f51\u63a5\u53e3\u7684IP\u5730\u5740\u624d\u80fd\u8bbf\u95ee\u5185\u90e8FTP\/Web\u670d\u52a1\u5668\u548cInternet\u3002\u7f51\u7edc\u73af\u5883\u5982\u56fe2-11\u6240\u793a&#xff0c;\u5176\u4e2dRouter\u662fISP\u63d0\u4f9b\u7684\u7f51\u5173\u3002<\/p>\n<p>\u56fe2-11\u00a0\u914d\u7f6eNAT Server&#043;\u6e90NAT\u7b56\u7565\u7ec4\u7f51\u56fe<\/p>\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p1272872213116\">\u672c\u56fe\u4e2dinterface1\u548cinterface2\u5206\u522b\u4ee3\u886810GE0\/0\/1\u548c10GE0\/0\/2\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"140\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419192556-6803f8c4710e7.png\" width=\"545\" \/>\u00a0<\/p>\n<table border=\"1\" cellpadding=\"4\" cellspacing=\"0\" id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_tab01\">\n<tr id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_row1637339632181342\">\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_entry1358124017181342p0\">\u9879\u76ee<\/p>\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_entry957987696181342p0\">\u6570\u636e<\/p>\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_entry1492409961181342p0\">\u8bf4\u660e<\/p>\n<\/tr>\n<tbody>\n<tr id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_row1825191893181342\">\n<td colspan=\"2\" style=\"vertical-align:top\">\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p811808113181342\">10GE0\/0\/1<\/p>\n<\/td>\n<td style=\"vertical-align:top\">\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p266237348181342\">IP\u5730\u5740&#xff1a;1.1.1.1\/24<\/p>\n<\/td>\n<td style=\"vertical-align:top\">\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p189469545181342\">\u5b9e\u9645\u914d\u7f6e\u65f6\u9700\u8981\u6309\u7167ISP\u7684\u8981\u6c42\u8fdb\u884c\u914d\u7f6e\u3002<\/p>\n<\/td>\n<\/tr>\n<tr id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_row1738873153181342\">\n<td colspan=\"2\" style=\"vertical-align:top\">\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p61972746181342\">10GE0\/0\/2<\/p>\n<\/td>\n<td style=\"vertical-align:top\">\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p276077092181342\">IP\u5730\u5740&#xff1a;10.2.0.1\/24<\/p>\n<\/td>\n<td style=\"vertical-align:top\">\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p919435119181342\">\u5185\u7f51\u670d\u52a1\u5668\u9700\u8981\u5c0610.2.0.1\u914d\u7f6e\u4e3a\u9ed8\u8ba4\u7f51\u5173\u3002<\/p>\n<\/td>\n<\/tr>\n<tr id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_row1340893716181342\">\n<td colspan=\"2\" rowspan=\"2\" style=\"vertical-align:top\">\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p660298352181342\">NAT Server<\/p>\n<\/td>\n<td style=\"vertical-align:top\">\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p544679494181342\">\u540d\u79f0&#xff1a;policy_web<\/p>\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p1906319061181342\">\u516c\u7f51\u5730\u5740&#xff1a;1.1.1.1<\/p>\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p1673099365181342\">\u79c1\u7f51\u5730\u5740&#xff1a;10.2.0.7<\/p>\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p1751994402181342\">\u516c\u7f51\u7aef\u53e3&#xff1a;8080<\/p>\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p1027118302181342\">\u79c1\u7f51\u7aef\u53e3&#xff1a;80<\/p>\n<\/td>\n<td style=\"vertical-align:top\">\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p1531776948181342\">\u901a\u8fc7\u8be5\u6620\u5c04&#xff0c;\u5185\u7f51\u7528\u6237\u80fd\u591f\u8bbf\u95ee1.1.1.1&#xff0c;\u4e14\u7aef\u53e3\u53f7\u4e3a8080\u7684\u6d41\u91cf\u80fd\u591f\u9001\u7ed9\u5185\u7f51\u7684Web\u670d\u52a1\u5668\u3002<\/p>\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p1435828555181342\">Web\u670d\u52a1\u5668\u7684\u79c1\u7f51\u5730\u5740\u4e3a10.2.0.7&#xff0c;\u79c1\u7f51\u7aef\u53e3\u53f7\u4e3a80\u3002<\/p>\n<\/td>\n<\/tr>\n<tr id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_row365513658181342\">\n<td style=\"vertical-align:top\">\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p686711979181342\">\u540d\u79f0&#xff1a;policy_ftp<\/p>\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p1737478393181342\">\u516c\u7f51\u5730\u5740&#xff1a;1.1.1.1<\/p>\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p1635873449181342\">\u79c1\u7f51\u5730\u5740&#xff1a;10.2.0.8<\/p>\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p351312576181342\">\u516c\u7f51\u7aef\u53e3&#xff1a;21<\/p>\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p416435711181342\">\u79c1\u7f51\u7aef\u53e3&#xff1a;21<\/p>\n<\/td>\n<td style=\"vertical-align:top\">\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p1691756267181342\">\u901a\u8fc7\u8be5\u6620\u5c04&#xff0c;\u5185\u7f51\u7528\u6237\u80fd\u591f\u8bbf\u95ee1.1.1.1&#xff0c;\u4e14\u7aef\u53e3\u53f7\u4e3a21\u7684\u6d41\u91cf\u80fd\u591f\u9001\u7ed9\u5185\u7f51\u7684FTP\u670d\u52a1\u5668\u3002<\/p>\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p941714064181342\">FTP\u670d\u52a1\u5668\u7684\u79c1\u7f51\u5730\u5740\u4e3a10.2.0.8&#xff0c;\u79c1\u7f51\u7aef\u53e3\u53f7\u4e3a21\u3002<\/p>\n<\/td>\n<\/tr>\n<tr id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_row1476969599181342\">\n<td colspan=\"2\" style=\"vertical-align:top\">\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p1556204144181342\">\u6e90NAT\u7b56\u7565<\/p>\n<\/td>\n<td style=\"vertical-align:top\">\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p2030270707181342\">\u540d\u79f0&#xff1a;policy_nat1<\/p>\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p280552297181342\">\u5141\u8bb8\u8bbf\u95ee\u516c\u7f51\u5730\u5740\u7684\u79c1\u7f51\u5730\u5740&#xff1a;10.2.0.6<\/p>\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p6717018155916\">\n<\/td>\n<td style=\"vertical-align:top\">\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p1446537990181342\">&#8211;<\/p>\n<\/td>\n<\/tr>\n<tr id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_row2031049587181342\">\n<td colspan=\"2\" style=\"vertical-align:top\">\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p1243874432181342\">\u7f3a\u7701\u8def\u7531<\/p>\n<\/td>\n<td style=\"vertical-align:top\">\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p213505088181342\">\u76ee\u7684\u5730\u5740&#xff1a;0.0.0.0<\/p>\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p70506323181342\">\u4e0b\u4e00\u8df3&#xff1a;1.1.1.254<\/p>\n<\/td>\n<td style=\"vertical-align:top\">\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p741713636181342\">\u4e3a\u4e86\u4f7f\u79c1\u7f51\u6d41\u91cf\u53ef\u4ee5\u6b63\u5e38\u8f6c\u53d1\u81f3ISP\u7684\u8def\u7531\u5668&#xff0c;\u53ef\u4ee5\u5728DeviceA\u4e0a\u914d\u7f6e\u53bb\u5f80Internet\u7684\u7f3a\u7701\u8def\u7531\u3002<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u914d\u7f6e\u601d\u8def<\/h3>\n<li id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_li1725540277181342\">\u914d\u7f6e\u63a5\u53e3IP\u5730\u5740&#xff0c;\u5b8c\u6210\u7f51\u7edc\u57fa\u672c\u53c2\u6570\u914d\u7f6e\u3002<\/li>\n<li id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_li60704279181342\">\u914d\u7f6eNAT Server\u529f\u80fd&#xff0c;\u521b\u5efa\u4e24\u6761\u9759\u6001\u6620\u5c04&#xff0c;\u5206\u522b\u6620\u5c04\u5185\u7f51Web\u670d\u52a1\u5668\u548cFTP\u670d\u52a1\u5668\u3002<\/li>\n<li id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_li627950395181342\">\u914d\u7f6e\u6e90NAT\u7b56\u7565\u4f7fPC D\u53ef\u4ee5\u8bbf\u95ee\u670d\u52a1\u5668\u7684\u516c\u7f51\u5730\u5740\u3002<\/li>\n<li id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_li1975062418298\">\u5728DeviceA\u4e0a\u914d\u7f6e\u7f3a\u7701\u8def\u7531&#xff0c;\u4f7f\u79c1\u7f51\u6d41\u91cf\u53ef\u4ee5\u6b63\u5e38\u8f6c\u53d1\u81f3ISP\u7684\u8def\u7531\u5668\u3002<\/li>\n<li id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_li234127361181342\">\u5728Router\u4e0a\u914d\u7f6e\u5230\u670d\u52a1\u5668\u6620\u5c04\u7684\u516c\u7f51\u5730\u5740\u7684\u9759\u6001\u8def\u7531\u3002<\/li>\n<h5>\u64cd\u4f5c\u6b65\u9aa4<\/h5>\n<li id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_step991499800181342\">\u914d\u7f6e\u63a5\u53e3IP\u5730\u5740&#xff0c;\u5b8c\u6210\u7f51\u7edc\u57fa\u672c\u53c2\u6570\u914d\u7f6e\u3002\n<\/p>\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p731686977181342\"># \u914d\u7f6e\u63a5\u53e310GE0\/0\/1\u7684IP\u5730\u5740&#xff0c;\u5e76\u5f00\u542fNAT\u529f\u80fd\u3002<\/p>\n<p> &lt;HUAWEI&gt; system-view<br \/>\n[HUAWEI] sysname DeviceA<br \/>\n[DeviceA] interface 10ge 0\/0\/1<br \/>\n[DeviceA-10GE0\/0\/1] ip address 1.1.1.1 24<br \/>\n[DeviceA-10GE0\/0\/1] nat enable<br \/>\n[DeviceA-10GE0\/0\/1] quit <\/p>\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p1204969057181342\"># \u914d\u7f6e\u63a5\u53e310GE0\/0\/2\u7684IP\u5730\u5740&#xff0c;\u5e76\u5f00\u542fNAT\u529f\u80fd\u3002<\/p>\n<p> [DeviceA] interface 10ge 0\/0\/2<br \/>\n[DeviceA-10GE0\/0\/2] ip address 10.2.0.1 24<br \/>\n[DeviceA-10GE0\/0\/2] nat enable<br \/>\n[DeviceA-10GE0\/0\/2] quit <\/p>\n<\/li>\n<li id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_step1787998337181342\">\u914d\u7f6e\u6e90NAT\u7b56\u7565\u3002\n<\/p>\n<p> [DeviceA] nat-policy<br \/>\n[DeviceA-policy-nat] rule name policy_nat1<br \/>\n[DeviceA-policy-nat-rule-policy_nat1] source-address 10.2.0.6 32<br \/>\n[DeviceA-policy-nat-rule-policy_nat1] action source-nat easy-ip<br \/>\n[DeviceA-policy-nat-rule-policy_nat1] quit<br \/>\n[DeviceA-policy-nat] quit <\/p>\n<\/li>\n<li id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_step1341881189181342\">\u914d\u7f6eNAT Server\u529f\u80fd&#xff0c;\u521b\u5efa\u4e24\u6761\u9759\u6001\u6620\u5c04&#xff0c;\u5206\u522b\u6620\u5c04\u5185\u7f51Web\u670d\u52a1\u5668\u548cFTP\u670d\u52a1\u5668\u3002\n<\/p>\n<p> [DeviceA] nat server policy_web protocol tcp global 1.1.1.1 8080 inside 10.2.0.7 www no-reverse route<br \/>\n[DeviceA] nat server policy_ftp protocol tcp global 1.1.1.1 ftp inside 10.2.0.8 ftp no-reverse route <\/p>\n<\/li>\n<li id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_step571569784181342\">\u5f00\u542fFTP\u534f\u8bae\u7684NAT ALG\u529f\u80fd\u3002\n<\/p>\n<p> [DeviceA] firewall detect ftp <\/p>\n<\/li>\n<li id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_step151588250181342\">\u914d\u7f6e\u7f3a\u7701\u8def\u7531&#xff0c;\u4f7f\u79c1\u7f51\u6d41\u91cf\u53ef\u4ee5\u6b63\u5e38\u8f6c\u53d1\u81f3ISP\u7684\u8def\u7531\u5668\u3002\n<\/p>\n<p> [DeviceA] ip route-static 0.0.0.0 0.0.0.0 1.1.1.254 <\/p>\n<\/li>\n<li id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_step1348228446181342\">\u5728Router\u4e0a\u914d\u7f6e\u5230\u670d\u52a1\u5668\u6620\u5c04\u7684\u516c\u7f51\u5730\u5740\u7684\u9759\u6001\u8def\u7531&#xff0c;\u4e0b\u4e00\u8df3\u4e3a1.1.1.1&#xff0c;\u4f7f\u5f97\u53bb\u670d\u52a1\u5668\u7684\u6d41\u91cf\u80fd\u591f\u9001\u5f80DeviceA\u3002\n<\/p>\n<p id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_p1742732441181342\">\u901a\u5e38\u9700\u8981\u8054\u7cfbISP\u7684\u7f51\u7edc\u7ba1\u7406\u5458\u6765\u914d\u7f6e\u6b64\u9759\u6001\u8def\u7531\u3002<\/p>\n<\/p>\n<\/li>\n<h3>\u68c0\u67e5\u914d\u7f6e\u7ed3\u679c<\/h3>\n<li id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_li1966071161181341\">\u79c1\u7f51\u7528\u6237\u53ef\u4ee5\u8bbf\u95ee\u5185\u7f51\u670d\u52a1\u5668\u3002<\/li>\n<li id=\"ZH-CN_TASK_0000001835910997__zh-cn_task_0000001512676906_li344218591954\">\u5f53\u79c1\u7f51\u7528\u6237\u8bbf\u95ee\u5185\u7f51\u670d\u52a1\u5668\u65f6&#xff0c;\u67e5\u8be2\u76ee\u7684\u5730\u5740\u4e3a\u5185\u7f51\u670d\u52a1\u5668\u7684\u516c\u7f51\u5730\u5740\u7684\u8868\u9879\u548c\u6e90\u5730\u5740\u4e3a\u5185\u7f51PC\u7684\u79c1\u7f51\u5730\u5740\u7684\u8868\u9879&#xff0c;\u67e5\u770b\u672c\u6b21NAT\u8f6c\u6362\u7684\u4fe1\u606f\u3002\u5b58\u5728\u8be5\u8868\u9879&#xff0c;\u4e14NAT\u8f6c\u6362\u540e\u7684\u76ee\u7684IP\u5730\u5740\u4e3a\u670d\u52a1\u5668\u79c1\u7f51\u5730\u5740\u3001\u6e90IP\u5730\u5740\u4e3a\u5730\u5740\u6c60\u4e2d\u5730\u5740&#xff0c;\u8868\u793aNAT\u7b56\u7565\u914d\u7f6e\u6210\u529f\u3002 &lt;HUAWEI&gt; display session all verbose<br \/>\n  Session Table Information:<br \/>\n    Protocol          : 6(TCP)<br \/>\n    SrcAddr  Port Vpn : 10.2.0.6 2474<br \/>\n    DestAddr Port Vpn : 1.1.1.1 8080<br \/>\n    Time To Live      : 60s<br \/>\n    NAT Info<br \/>\n      New SrcAddr     : 10.2.0.1<br \/>\n      New SrcPort     : 2674<br \/>\n      New DestAddr    : 10.2.0.7<br \/>\n      New DestPort    : 80<\/p>\n<p>  Total : 1 <\/li>\n<\/p>\n<h3>\u914d\u7f6e\u811a\u672c<\/h3>\n<p>#<br \/>\n sysname DeviceA<br \/>\n#<br \/>\n nat server policy_web protocol tcp global 1.1.1.1 8080 inside 10.2.0.7 www no-reverse route<br \/>\n nat server policy_ftp protocol tcp global 1.1.1.1 ftp inside 10.2.0.8 ftp no-reverse route<br \/>\n#<br \/>\ninterface 10GE0\/0\/1<br \/>\n ip address 1.1.1.1 255.255.255.0<br \/>\n nat enable<br \/>\n#<br \/>\ninterface 10GE0\/0\/2<br \/>\n ip address 10.2.0.1 255.255.255.0<br \/>\n nat enable<br \/>\n#<br \/>\nfirewall detect ftp<br \/>\n#<br \/>\n ip route-static 0.0.0.0 0.0.0.0 1.1.1.254<br \/>\n#<br \/>\nnat-policy<br \/>\n  rule name policy_nat1<br \/>\n    source-address 10.2.0.6 32<br \/>\n    action source-nat easy-ip<br \/>\n#<br \/>\nreturn<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb733\u6b21\uff0c\u70b9\u8d5e30\u6b21\uff0c\u6536\u85cf25\u6b21\u3002\u7531\u4e8eIP\u5730\u5740\u8d44\u6e90\u6709\u9650\uff0c\u8be5\u516c\u53f8\u53ea\u6709\u4e00\u4e2a\u53ef\u7528\u7684\u516c\u7f51IP\u5730\u57401.1.1.1\uff0c\u90e8\u7f72\u5728DeviceA\u7684\u516c\u7f51\u63a5\u53e3\u4e0a\u3002\u4e3a\u4e86\u9632\u6b62\u5185\u90e8\u670d\u52a1\u5668\u53d7\u5185\u7f51\u7528\u6237\u7684\u653b\u51fb\uff0c\u516c\u53f8\u5e0c\u671b\u5728DeviceA\u4e0a\u914d\u7f6eNAT\u529f\u80fd\uff08NAT Server+\u6e90NAT\uff09\uff0c\u4f7f\u5185\u7f51\u7528\u6237\u5fc5\u987b\u4f7f\u7528\u516c\u7f51\u63a5\u53e3\u7684IP\u5730\u5740\u624d\u80fd\u8bbf\u95ee\u5185\u90e8FTP\/Web\u670d\u52a1\u5668\u548cInternet\u3002\u901a\u8fc7\u8be5\u6620\u5c04\uff0c\u5185\u7f51\u7528\u6237\u80fd\u591f\u8bbf\u95ee1.1.1.1\uff0c\u4e14\u7aef\u53e3\u53f7\u4e3a8080\u7684\u6d41\u91cf\u80fd\u591f\u9001\u7ed9\u5185\u7f51\u7684Web\u670d\u52a1\u5668\u3002\u901a\u8fc7\u8be5\u6620\u5c04\uff0c\u5185\u7f51\u7528\u6237\u80fd\u591f\u8bbf\u95ee1.1.1.1\uff0c\u4e14\u7aef\u53e3\u53f7\u4e3a21\u7684\u6d41\u91cf\u80fd\u591f\u9001\u7ed9\u5185\u7f51\u7684FTP\u670d\u52a1\u5668\u3002_\u5141\u8bb8\u670d\u52a1\u5668\u4f7f\u7528\u516c\u7f51\u5730\u5740\u4e0a\u7f51<\/p>\n","protected":false},"author":2,"featured_media":28830,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[230,43,78],"topic":[],"class_list":["post-28831","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-php","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>\u79c1\u7f51\u7528\u6237\u4f7f\u7528\u516c\u7f51\u5730\u5740\u8bbf\u95ee\u5185\u90e8\u670d\u52a1\u5668\uff08\u914d\u7f6e\u6e90\u8fdb\u6e90\u51fa\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/28831.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u79c1\u7f51\u7528\u6237\u4f7f\u7528\u516c\u7f51\u5730\u5740\u8bbf\u95ee\u5185\u90e8\u670d\u52a1\u5668\uff08\u914d\u7f6e\u6e90\u8fdb\u6e90\u51fa\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb733\u6b21\uff0c\u70b9\u8d5e30\u6b21\uff0c\u6536\u85cf25\u6b21\u3002\u7531\u4e8eIP\u5730\u5740\u8d44\u6e90\u6709\u9650\uff0c\u8be5\u516c\u53f8\u53ea\u6709\u4e00\u4e2a\u53ef\u7528\u7684\u516c\u7f51IP\u5730\u57401.1.1.1\uff0c\u90e8\u7f72\u5728DeviceA\u7684\u516c\u7f51\u63a5\u53e3\u4e0a\u3002\u4e3a\u4e86\u9632\u6b62\u5185\u90e8\u670d\u52a1\u5668\u53d7\u5185\u7f51\u7528\u6237\u7684\u653b\u51fb\uff0c\u516c\u53f8\u5e0c\u671b\u5728DeviceA\u4e0a\u914d\u7f6eNAT\u529f\u80fd\uff08NAT Server+\u6e90NAT\uff09\uff0c\u4f7f\u5185\u7f51\u7528\u6237\u5fc5\u987b\u4f7f\u7528\u516c\u7f51\u63a5\u53e3\u7684IP\u5730\u5740\u624d\u80fd\u8bbf\u95ee\u5185\u90e8FTP\/Web\u670d\u52a1\u5668\u548cInternet\u3002\u901a\u8fc7\u8be5\u6620\u5c04\uff0c\u5185\u7f51\u7528\u6237\u80fd\u591f\u8bbf\u95ee1.1.1.1\uff0c\u4e14\u7aef\u53e3\u53f7\u4e3a8080\u7684\u6d41\u91cf\u80fd\u591f\u9001\u7ed9\u5185\u7f51\u7684Web\u670d\u52a1\u5668\u3002\u901a\u8fc7\u8be5\u6620\u5c04\uff0c\u5185\u7f51\u7528\u6237\u80fd\u591f\u8bbf\u95ee1.1.1.1\uff0c\u4e14\u7aef\u53e3\u53f7\u4e3a21\u7684\u6d41\u91cf\u80fd\u591f\u9001\u7ed9\u5185\u7f51\u7684FTP\u670d\u52a1\u5668\u3002_\u5141\u8bb8\u670d\u52a1\u5668\u4f7f\u7528\u516c\u7f51\u5730\u5740\u4e0a\u7f51\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/28831.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-19T19:25:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419192556-6803f8c4710e7.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\/28831.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/28831.html\",\"name\":\"\u79c1\u7f51\u7528\u6237\u4f7f\u7528\u516c\u7f51\u5730\u5740\u8bbf\u95ee\u5185\u90e8\u670d\u52a1\u5668\uff08\u914d\u7f6e\u6e90\u8fdb\u6e90\u51fa\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T19:25:57+00:00\",\"dateModified\":\"2025-04-19T19:25:57+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/28831.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/28831.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/28831.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u79c1\u7f51\u7528\u6237\u4f7f\u7528\u516c\u7f51\u5730\u5740\u8bbf\u95ee\u5185\u90e8\u670d\u52a1\u5668\uff08\u914d\u7f6e\u6e90\u8fdb\u6e90\u51fa\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u79c1\u7f51\u7528\u6237\u4f7f\u7528\u516c\u7f51\u5730\u5740\u8bbf\u95ee\u5185\u90e8\u670d\u52a1\u5668\uff08\u914d\u7f6e\u6e90\u8fdb\u6e90\u51fa\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/28831.html","og_locale":"zh_CN","og_type":"article","og_title":"\u79c1\u7f51\u7528\u6237\u4f7f\u7528\u516c\u7f51\u5730\u5740\u8bbf\u95ee\u5185\u90e8\u670d\u52a1\u5668\uff08\u914d\u7f6e\u6e90\u8fdb\u6e90\u51fa\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb733\u6b21\uff0c\u70b9\u8d5e30\u6b21\uff0c\u6536\u85cf25\u6b21\u3002\u7531\u4e8eIP\u5730\u5740\u8d44\u6e90\u6709\u9650\uff0c\u8be5\u516c\u53f8\u53ea\u6709\u4e00\u4e2a\u53ef\u7528\u7684\u516c\u7f51IP\u5730\u57401.1.1.1\uff0c\u90e8\u7f72\u5728DeviceA\u7684\u516c\u7f51\u63a5\u53e3\u4e0a\u3002\u4e3a\u4e86\u9632\u6b62\u5185\u90e8\u670d\u52a1\u5668\u53d7\u5185\u7f51\u7528\u6237\u7684\u653b\u51fb\uff0c\u516c\u53f8\u5e0c\u671b\u5728DeviceA\u4e0a\u914d\u7f6eNAT\u529f\u80fd\uff08NAT Server+\u6e90NAT\uff09\uff0c\u4f7f\u5185\u7f51\u7528\u6237\u5fc5\u987b\u4f7f\u7528\u516c\u7f51\u63a5\u53e3\u7684IP\u5730\u5740\u624d\u80fd\u8bbf\u95ee\u5185\u90e8FTP\/Web\u670d\u52a1\u5668\u548cInternet\u3002\u901a\u8fc7\u8be5\u6620\u5c04\uff0c\u5185\u7f51\u7528\u6237\u80fd\u591f\u8bbf\u95ee1.1.1.1\uff0c\u4e14\u7aef\u53e3\u53f7\u4e3a8080\u7684\u6d41\u91cf\u80fd\u591f\u9001\u7ed9\u5185\u7f51\u7684Web\u670d\u52a1\u5668\u3002\u901a\u8fc7\u8be5\u6620\u5c04\uff0c\u5185\u7f51\u7528\u6237\u80fd\u591f\u8bbf\u95ee1.1.1.1\uff0c\u4e14\u7aef\u53e3\u53f7\u4e3a21\u7684\u6d41\u91cf\u80fd\u591f\u9001\u7ed9\u5185\u7f51\u7684FTP\u670d\u52a1\u5668\u3002_\u5141\u8bb8\u670d\u52a1\u5668\u4f7f\u7528\u516c\u7f51\u5730\u5740\u4e0a\u7f51","og_url":"https:\/\/www.wsisp.com\/helps\/28831.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T19:25:57+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419192556-6803f8c4710e7.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\/28831.html","url":"https:\/\/www.wsisp.com\/helps\/28831.html","name":"\u79c1\u7f51\u7528\u6237\u4f7f\u7528\u516c\u7f51\u5730\u5740\u8bbf\u95ee\u5185\u90e8\u670d\u52a1\u5668\uff08\u914d\u7f6e\u6e90\u8fdb\u6e90\u51fa\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T19:25:57+00:00","dateModified":"2025-04-19T19:25:57+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/28831.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/28831.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/28831.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u79c1\u7f51\u7528\u6237\u4f7f\u7528\u516c\u7f51\u5730\u5740\u8bbf\u95ee\u5185\u90e8\u670d\u52a1\u5668\uff08\u914d\u7f6e\u6e90\u8fdb\u6e90\u51fa\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/28831","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=28831"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/28831\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/28830"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=28831"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=28831"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=28831"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=28831"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}