{"id":179,"date":"2018-07-29T08:43:29","date_gmt":"2018-07-29T00:43:29","guid":{"rendered":"https:\/\/pfsense.freeddns.org\/wp\/?p=179"},"modified":"2022-11-02T14:49:41","modified_gmt":"2022-11-02T06:49:41","slug":"pfsense-book%e4%b9%8b1%ef%bc%9a1-nat","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=179","title":{"rendered":"pfSense book\u4e4b1\uff1a1 NAT"},"content":{"rendered":"<p style=\"text-align: justify;\">1\uff1a1 NAT\u5c06\u4e00\u4e2a\u5916\u90e8IPv4\u5730\u5740\uff08\u901a\u5e38\u4e3a\u516c\u5171\u5730\u5740\uff09\u6620\u5c04\u5230\u4e00\u4e2a\u5185\u90e8IPv4\u5730\u5740\uff08\u901a\u5e38\u662f\u79c1\u6709\u5730\u5740\uff09\u3002 \u6e90\u81ea\u8be5\u79c1\u6709IPv4\u5730\u5740\u7684\u6240\u6709\u6d41\u91cf\u5c06\u901a\u8fc71\uff1a1 NAT\u6620\u5c04\u5230\u8be5\u6761\u76ee\u4e2d\u5b9a\u4e49\u7684\u516c\u6709IPv4\u5730\u5740\uff0c\u8986\u76d6\u51fa\u7ad9NAT\u914d\u7f6e\u3002 \u6240\u6709\u5728\u4e92\u8054\u7f51\u4e0a\u53d1\u8d77\u7684\u53d1\u5f80\u6307\u5b9a\u516c\u6709IPv4\u5730\u5740\u7684\u6d41\u91cf\u5c06\u88ab\u8f6c\u6362\u4e3a\u79c1\u6709IPv4\u5730\u5740\uff0c\u7136\u540e\u6839\u636eWAN\u9632\u706b\u5899\u89c4\u5219\u96c6\u8fdb\u884c\u8bc4\u4f30\uff0c \u5982\u679c\u5339\u914d\uff0c\u5b83\u5c06\u88ab\u4f20\u9012\u7ed9\u5185\u90e8\u4e3b\u673a\u3002<\/p>\n<p style=\"text-align: justify;\">1\uff1a1 NAT\u4e5f\u53ef\u4ee5\u8f6c\u6362\u6574\u4e2a\u5b50\u7f51\u4ee5\u53ca\u5355\u4e2a\u5730\u5740\uff0c\u53ea\u8981\u5b83\u4eec\u7684\u5927\u5c0f\u76f8\u540c\u5e76\u4e14\u5728\u6b63\u786e\u7684\u5b50\u7f51\u8303\u56f4\u5bf9\u9f50\u5373\u53ef\u3002<\/p>\n<p style=\"text-align: justify;\">\u8fde\u63a5\u4e0a\u7684\u7aef\u53e3\u4e0e1\uff1a1 NAT\u4fdd\u6301\u4e0d\u53d8; \u5bf9\u4e8e\u51fa\u7ad9\u8fde\u63a5\uff0c\u5c06\u4fdd\u7559\u672c\u5730\u7cfb\u7edf\u4f7f\u7528\u7684\u6e90\u7aef\u53e3\uff0c\u4e0e\u5728\u51fa\u7ad9NAT\u89c4\u5219\u4e0a\u4f7f\u7528\u9759\u6001\u7aef\u53e3\u7c7b\u4f3c\u3002<\/p>\n<h2 style=\"text-align: justify;\">1\uff1a1 NAT\u7684\u98ce\u9669<\/h2>\n<p style=\"text-align: justify;\">\u5982\u679cWAN\u9632\u706b\u5899\u89c4\u5219\u5141\u8bb8\u901a\u4fe1\uff0c\u52191\uff1a1 NAT\u7684\u98ce\u9669\u4e0e\u7aef\u53e3\u8f6c\u53d1\u5927\u4f53\u76f8\u540c\u3002 \u4efb\u4f55\u65f6\u95f4\u89c4\u5219\u90fd\u5141\u8bb8\u901a\u4fe1\uff0c\u6709\u5bb3\u7684\u901a\u4fe1\u53ef\u80fd\u88ab\u5141\u8bb8\u8fdb\u5165\u672c\u5730\u7f51\u7edc\u3002\u00a0 \u5982\u679c\u662f\u901a\u8fc7\u7aef\u53e3\u8f6c\u53d1\uff0c\u6d41\u91cf\u53d7\u5230NAT\u89c4\u5219\u548c\u9632\u706b\u5899\u89c4\u5219\u7684\u7ea6\u675f\u3002 \u5982\u679c\u7aef\u53e3\u8f6c\u53d1\u89c4\u5219\u6253\u5f00\u4e86TCP\u7aef\u53e380\uff0c\u5219WAN\u4e0a\u7684\u5141\u8bb8\u6240\u6709\u89c4\u5219\u4ecd\u7136\u53ea\u5141\u8bb8\u5728\u8be5\u5185\u90e8\u4e3b\u673a\u4e0a\u7684TCP 80\u3002 \u5982\u679c\u4f7f\u75281\uff1a1\u7684NAT\u89c4\u5219\uff0c\u5e76\u4e14\u5728WAN\u4e0a\u5b58\u5728\u5141\u8bb8\u6240\u6709\u89c4\u5219\uff0c\u90a3\u4e48\u8be5\u5185\u90e8\u4e3b\u673a\u4e0a\u7684\u6240\u6709\u5185\u5bb9\u90fd\u53ef\u4ee5\u4eceInternet\u8bbf\u95ee\u3002 \u914d\u7f6e\u9519\u8bef\u4f1a\u5e26\u6765\u6f5c\u5728\u7684\u5371\u9669\uff0c\u4f46\u8fd9\u901a\u5e38\u4e0d\u5e94\u88ab\u89c6\u4e3a\u907f\u514d\u4f7f\u75281\uff1a1 NAT\u7684\u7406\u7531\u3002 \u5728\u914d\u7f6e\u9632\u706b\u5899\u89c4\u5219\u65f6\u8bf7\u8bb0\u4f4f\u8fd9\u4e00\u70b9\uff0c\u907f\u514d\u5141\u8bb8\u4efb\u4f55\u4e0d\u9700\u8981\u7684\u4e1c\u897f\u3002<\/p>\n<h2 style=\"text-align: justify;\">1\uff1a1NAT\u914d\u7f6e<\/h2>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\n<p class=\"first\">\u5bfc\u822a\u5230<strong>\u00a0\u9632\u706b\u5899\u00a0&gt;\u00a0\u5730\u5740\u8f6c\u6362<\/strong>,\u00a0<strong>1:1<\/strong>\u00a0\u9009\u9879\u5361<\/p>\n<\/li>\n<li>\n<p class=\"first\">\u5355\u51fb<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1693\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/fa-level-up.png\" alt=\"\" width=\"25\" height=\"25\" \/>\u00a0\u5728\u5217\u8868\u9876\u90e8<strong>\u6dfb\u52a0<\/strong>\u4e00\u4e2a1:1\u6761\u76ee<\/p>\n<\/li>\n<li>\n<p class=\"first\">\u6309\u5982\u4e0b\u8bbe\u7f6e\u914d\u7f6e1:1\u6761\u76ee<\/p>\n<\/li>\n<li><strong>\u7981\u7528<\/strong>: \u63a7\u5236\u6b641\uff1a1 NAT\u6761\u76ee\u662f\u5426\u5904\u4e8e\u6d3b\u52a8\u72b6\u6001\u3002<\/li>\n<li><strong>\u63a5\u53e3<\/strong>: 1\uff1a1 NAT\u8f6c\u6362\u7684\u63a5\u53e3\uff0c\u901a\u5e38\u662fWAN\u7c7b\u578b\u7684\u63a5\u53e3\u3002<\/li>\n<li><strong>\u5916\u90e8\u5b50\u7f51IP<\/strong>\uff1a\u5185\u90e8IP\u5730\u5740\u5728\u8fdb\u5165\u6216\u79bb\u5f00\u63a5\u53e3\u65f6\u5c06\u88ab\u8f6c\u6362\u5230\u7684IPv4\u5730\u5740\u3002 \u8fd9\u901a\u5e38\u662f\u63a5\u53e3\u4e0a\u7684IPv4\u865a\u62dfIP\u5730\u5740\uff0c\u6216\u901a\u8fc7\u63a5\u53e3\u8def\u7531\u5230\u9632\u706b\u5899\u7684IP\u5730\u5740\u3002<\/li>\n<li><strong>\u5185\u90e8IP<\/strong>: T\u9632\u706b\u5899\u540e\u9762\u7684IPv4\u5730\u5740\u5c06\u88ab\u8f6c\u6362\u4e3a\u5916\u90e8\u5b50\u7f51IP\u5730\u5740\u3002 \u8fd9\u901a\u5e38\u662f\u8fd9\u4e2a\u9632\u706b\u5899\u540e\u9762\u7684IPv4\u5730\u5740\u3002 \u5177\u6709\u6b64\u5730\u5740\u7684\u8bbe\u5907\u5fc5\u987b\u76f4\u63a5\uff08\u9644\u52a0\uff09\u6216\u95f4\u63a5\uff08\u901a\u8fc7\u9759\u6001\u8def\u7531\uff09\u4f7f\u7528\u6b64\u9632\u706b\u5899\u4f5c\u4e3a\u5176\u7f51\u5173\u3002 \u5728\u8fd9\u91cc\u6307\u5b9a\u4e00\u4e2a\u5b50\u7f51\u63a9\u7801\u5c06\u8f6c\u6362\u5339\u914d\u5b50\u7f51\u63a9\u7801\u7684\u6574\u4e2a\u7f51\u7edc\u3002 \u4f8b\u5982\uff0c\u4f7f\u7528x.x.x.0 \/ 24\u4f1a\u5c06\u8be5\u5b50\u7f51\u4e2d\u7684\u4efb\u4f55\u5185\u5bb9\u8f6c\u6362\u4e3a\u5916\u90e8\u5b50\u7f51\u4e2d\u7684\u76f8\u5e94\u5185\u5bb9\u3002<\/li>\n<li><strong>\u76ee\u6807<\/strong>: \u53ef\u9009\uff0c\u9650\u52361\uff1a1 NAT\u6761\u76ee\u7684\u7f51\u7edc\u9650\u5236\u3002 \u5f53\u5b58\u5728\u503c\u65f6\uff0c1\uff1a1 NAT\u5c06\u53ea\u5728\u6d41\u91cf\u4ece\u5185\u90e8IP\u5730\u5740\u5230\u76ee\u7684\u5730\u5740\u51fa\u53e3\u65f6\uff0c\u6216\u8005\u4ece\u76ee\u6807\u5730\u5740\u5230\u5916\u90e8\u5b50\u7f51IP\u5730\u5740\u8fdb\u5165\u9632\u706b\u5899\u65f6\u751f\u6548\u3002 \u76ee\u6807\u5b57\u6bb5\u652f\u6301\u4f7f\u7528\u522b\u540d\u3002<\/li>\n<li><strong>\u63cf\u8ff0<\/strong>: \u4e00\u4e2a\u53ef\u9009\u7684\u6587\u5b57\u8bf4\u660e\u6765\u89e3\u91ca\u8fd9\u4e2a\u6761\u76ee\u7684\u76ee\u7684\u3002<\/li>\n<li><strong>NAT\u00a0\u56de\u6d41<\/strong>\uff1a\u8986\u76d6\u5168\u5c40NAT\u56de\u6d41\u9009\u9879\u3002 \u4f7f\u7528\u7cfb\u7edf\u9ed8\u8ba4\u4f1a\u5c0a\u91cd\u5168\u5c40NAT\u56de\u6d41\u8bbe\u7f6e\uff0c\u542f\u7528\u5c06\u59cb\u7ec8\u5bf9\u6b64\u6761\u76ee\u6267\u884cNAT\u56de\u6d41\uff0c\u7981\u7528\u5c06\u6c38\u8fdc\u4e0d\u4f1a\u5bf9\u6b64\u6761\u76ee\u6267\u884cNAT\u56de\u6d41\u3002<\/li>\n<li>\n<p class=\"first\">\u5355\u51fb<strong>\u4fdd\u5b58<\/strong><\/p>\n<\/li>\n<li>\n<p class=\"first\">\u5355\u51fb<strong>\u5e94\u7528\u66f4\u6539<\/strong><\/p>\n<\/li>\n<\/ul>\n<h3 style=\"text-align: justify;\">\u5355\u4e2aIP\u5730\u57401\uff1a1\u914d\u7f6e\u793a\u4f8b<\/h3>\n<p style=\"text-align: justify;\">\u00a0\u5728\u672c\u4f8b\u4e2d\uff0c198.51.100.210\u662fWAN\u63a5\u53e3\u4e0a\u7684\u865a\u62dfIP\u5730\u5740\u3002 \u5728\u5927\u591a\u6570\u90e8\u7f72\u4e2d\uff0c\u8fd9\u5c06\u88ab\u5de5\u4f5c\u7684\u516c\u5171IP\u5730\u5740\u66ff\u4ee3\u3002 \u8be5\u6620\u5c04\u4e2d\u7684\u90ae\u4ef6\u670d\u52a1\u5668\u9a7b\u7559\u5728\u4f7f\u7528\u5185\u90e8IP\u5730\u574010.3.1.15\u7684DMZ\u6bb5\u4e2d\u3002\u00a0\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1798\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/nat-1to1-singleip-example.png\" alt=\"\" width=\"1139\" height=\"641\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/nat-1to1-singleip-example.png 1139w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/nat-1to1-singleip-example-1024x576.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/nat-1to1-singleip-example-300x169.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/nat-1to1-singleip-example-768x432.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/nat-1to1-singleip-example-500x281.png 500w\" sizes=\"auto, (max-width: 1139px) 100vw, 1139px\" \/><\/p>\n<p class=\"caption\" style=\"text-align: justify;\"><span class=\"caption-text\">1:1 NAT\u00a0\u6761\u76ee<\/span><\/p>\n<h3 style=\"text-align: justify;\">IP\u5730\u5740\u8303\u56f41\uff1a1\u914d\u7f6e\u793a\u4f8b<\/h3>\n<p style=\"text-align: justify;\">1\uff1a1 NAT\u53ef\u4ee5\u4f7f\u7528CIDR\u8303\u56f4\u914d\u7f6e\u591a\u4e2a\u516c\u7f51IP\u5730\u5740\u3002 \u5728\u672c\u4f8b\u4e2d\uff0c1\uff1a1NAT\u914d\u7f6e\u4e3a\u4e00\u4e2a\/ 30 CIDR\u8303\u56f4\u7684IP\u3002<\/p>\n<table class=\"docutils\">\n<caption><span class=\"caption-text\">\/30 CIDR\u6620\u5c04\u5339\u914d\u6700\u7ec8\u5b57\u8282<\/span><\/caption>\n<colgroup>\n<col width=\"57%\" \/>\n<col width=\"43%\" \/><\/colgroup>\n<thead valign=\"bottom\">\n<tr class=\"row-odd firstRow\">\n<th class=\"head\">\u5916\u90e8 IP<\/th>\n<th class=\"head\">\u5185\u90e8 IP<\/th>\n<\/tr>\n<\/thead>\n<tbody valign=\"top\">\n<tr class=\"row-even\">\n<td>198.51.100.64\/30<\/td>\n<td>10.3.1.64\/30<\/td>\n<\/tr>\n<tr class=\"row-odd\">\n<td>198.51.100.64<\/td>\n<td>10.3.1.64<\/td>\n<\/tr>\n<tr class=\"row-even\">\n<td>198.51.100.65<\/td>\n<td>10.3.1.65<\/td>\n<\/tr>\n<tr class=\"row-odd\">\n<td>198.51.100.66<\/td>\n<td>10.3.1.66<\/td>\n<\/tr>\n<tr class=\"row-even\">\n<td>198.51.100.67<\/td>\n<td>10.3.1.67<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">\u5185\u90e8\u548c\u5916\u90e8IP\u5730\u5740\u7684\u6700\u540e\u516b\u4f4d\u5b57\u8282\u4e0d\u5fc5\u76f8\u540c\uff0c\u4f46\u662f\u8fd9\u6837\u505a\u4f7f\u5f97\u5b83\u5728\u903b\u8f91\u4e0a\u66f4\u7b80\u5355\u3002\u00a0\u5982\u4e0b\u8868\u6240\u793a<\/p>\n<table class=\"docutils\">\n<caption><span class=\"caption-text\">\/30 CIDR\u6620\u5c04\u4e0d\u5339\u914d\u6700\u7ec8\u5b57\u8282<\/span><\/caption>\n<colgroup>\n<col width=\"55%\" \/>\n<col width=\"45%\" \/><\/colgroup>\n<thead valign=\"bottom\">\n<tr class=\"row-odd firstRow\">\n<th class=\"head\">\u5916\u90e8 IP<\/th>\n<th class=\"head\">\u5185\u90e8IP<\/th>\n<\/tr>\n<\/thead>\n<tbody valign=\"top\">\n<tr class=\"row-even\">\n<td>198.51.100.64\/30<\/td>\n<td>10.3.1.200\/30<\/td>\n<\/tr>\n<tr class=\"row-odd\">\n<td>198.51.100.64<\/td>\n<td>10.3.1.200<\/td>\n<\/tr>\n<tr class=\"row-even\">\n<td>198.51.100.65<\/td>\n<td>10.3.1.201<\/td>\n<\/tr>\n<tr class=\"row-odd\">\n<td>198.51.100.66<\/td>\n<td>10.3.1.202<\/td>\n<\/tr>\n<tr class=\"row-even\">\n<td>198.51.100.67<\/td>\n<td>10.3.1.203<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">\u9009\u62e9\u6700\u540e\u4e00\u4e2a\u5b57\u8282\u5339\u914d\u7684\u5bfb\u5740\u65b9\u6848\u4f7f\u5f97\u5e03\u5c40\u66f4\u5bb9\u6613\u7406\u89e3\u5e76\u7ef4\u62a4\u3002\u4e0b\u56fe\u4e3a1\uff1a1NAT\u914d\u7f6e\u4e3a\u4e00\u4e2a\/ 30 CIDR\u8303\u56f4\u7684IP\u3002<\/p>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1799\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/nat-1to1-edit-30range.png\" alt=\"\" width=\"1139\" height=\"642\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/nat-1to1-edit-30range.png 1139w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/nat-1to1-edit-30range-1024x577.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/nat-1to1-edit-30range-300x169.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/nat-1to1-edit-30range-768x433.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/nat-1to1-edit-30range-500x282.png 500w\" sizes=\"auto, (max-width: 1139px) 100vw, 1139px\" \/><\/p>\n<p class=\"caption\" style=\"text-align: justify;\"><span class=\"caption-text\">1:1 NAT\u00a0\u6761\u76ee \/30 CIDR\u8303\u56f4<\/span><\/p>\n<h2 style=\"text-align: justify;\">WAN IP\u4e0a\u76841\uff1a1 NAT\uff0cLinksys\u4e0a\u7684\u201cDMZ\u201d<\/h2>\n<p style=\"text-align: justify;\">\u67d0\u4e9b\u6d88\u8d39\u7c7b\u8def\u7531\u5668\uff08\u4f8b\u5982\u6765\u81eaCisco \/ Linksys\u7684\u8def\u7531\u5668\uff09\u5177\u6709\u4ed6\u4eec\u6240\u79f0\u7684\u201cDMZ\u201d\u529f\u80fd\uff0c\u8be5\u529f\u80fd\u5c06\u6240\u6709\u76ee\u7684\u5730\u4e3aWAN IP\u5730\u5740\u7684\u7aef\u53e3\u548c\u534f\u8bae\u8f6c\u53d1\u5230LAN\u4e0a\u7684\u7cfb\u7edf\u3002\u5b9e\u9645\u4e0a\uff0c\u8fd9\u662fWAN IP\u5730\u5740\u548c\u5185\u90e8\u7cfb\u7edf\u7684IP\u5730\u5740\u4e4b\u95f4\u76841\uff1a1 NAT\u3002\u7136\u800c\uff0c\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u201cDMZ\u201d\u4e0e\u771f\u5b9e\u7684DMZ\u7f51\u7edc\u5728\u771f\u6b63\u7684\u7f51\u7edc\u672f\u8bed\u4e2d\u65e0\u5173\u3002\u4e8b\u5b9e\u4e0a\uff0c\u60c5\u51b5\u6b63\u597d\u76f8\u53cd\u3002\u771f\u6b63\u7684DMZ\u4e2d\u7684\u4e3b\u673a\u4f4d\u4e8e\u8fdc\u79bb\u5176\u4ed6LAN\u4e3b\u673a\u7684\u5b64\u7acb\u7f51\u7edc\u4e2d\uff0c\u8fdc\u79bbInternet\u548cLAN\u4e3b\u673a\u3002\u76f8\u6bd4\u4e4b\u4e0b\uff0cLinksys\u4e2d\u7684\u201cDMZ\u201d\u4e3b\u673a\u4e0d\u4ec5\u4e0e\u5c40\u57df\u7f51\u4e3b\u673a\u4f4d\u4e8e\u540c\u4e00\u7f51\u7edc\uff0c\u800c\u4e14\u5b8c\u5168\u66b4\u9732\u5728\u4f20\u5165\u6d41\u91cf\u4e2d\uff0c\u4e0d\u53d7\u4fdd\u62a4\u3002<\/p>\n<p style=\"text-align: justify;\">\u5728pfSense\u4e2d\uff0c1\uff1a1 NAT\u53ef\u4ee5\u5728WAN IP\u5730\u5740\u4e0a\u5904\u4e8e\u6d3b\u52a8\u72b6\u6001\uff0c\u4f46\u8981\u6ce8\u610f\uff0c\u5b83\u5c06\u4f7f\u6240\u6709\u5728\u9632\u706b\u5899\u4e0a\u8fd0\u884c\u7684\u670d\u52a1\u5728\u5916\u90e8\u65e0\u6cd5\u8bbf\u95ee\u3002\u56e0\u6b64\uff0c\u5728\u542f\u7528\u4e86\u4efb\u4f55\u7c7b\u578b\u7684VPN\u7684\u60c5\u51b5\u4e0b\uff0c\u6216\u8005\u9632\u706b\u5899\u4e0a\u7684\u5176\u4ed6\u672c\u5730\u670d\u52a1\u5fc5\u987b\u53ef\u4ee5\u4ece\u5916\u90e8\u8bbf\u95ee\u7684\u60c5\u51b5\u4e0b\uff0c1\uff1a1 NAT\u4e0d\u80fd\u7528\u4e8eWAN IP\u5730\u5740\u3002\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u672c\u5730\u6258\u7ba1\u670d\u52a1\u7684\u7aef\u53e3\u53ef\u4ee5\u7f13\u89e3\u8fd9\u79cd\u9650\u5236\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1\uff1a1 NAT\u5c06\u4e00\u4e2a\u5916\u90e8IPv4\u5730\u5740\uff08\u901a\u5e38\u4e3a\u516c\u5171\u5730\u5740\uff09\u6620\u5c04\u5230\u4e00\u4e2a\u5185\u90e8IPv4\u5730\u5740 &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=179\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[224,208],"class_list":["post-179","post","type-post","status-publish","format-standard","hentry","category-pfsense","tag-224","tag-dmz"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=179"}],"version-history":[{"count":0,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/179\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}