{"id":263,"date":"2018-07-29T20:24:46","date_gmt":"2018-07-29T12:24:46","guid":{"rendered":"https:\/\/pfsense.freeddns.org\/wp\/?p=263"},"modified":"2020-08-24T22:08:45","modified_gmt":"2020-08-24T14:08:45","slug":"pfsense2-32%e7%ab%af%e5%8f%a3%e8%bd%ac%e5%8f%91%e8%ae%be%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=263","title":{"rendered":"pfSense2.32\u7aef\u53e3\u8f6c\u53d1\u8bbe\u7f6e"},"content":{"rendered":"<p style=\"text-align: justify;\">pfSense\u4e0a\u7684\u7aef\u53e3\u8f6c\u53d1\u662f\u4e00\u4e2a\u76f8\u5f53\u7b80\u5355\u7684\u8fc7\u7a0b\u3002\u4ee5\u524d\u7248\u672c\u6dfb\u52a0\u7aef\u53e3\u8f6c\u53d1\u65f6\uff0c\u8fd8\u5fc5\u987b\u6dfb\u52a0\u9632\u706b\u5899\u89c4\u5219\uff0c\u4ee5\u4fbf\u6d41\u91cf\u8f6c\u53d1\u5230\u7aef\u53e3\u6307\u5b9a\u7684\u5185\u90e8IP\u5730\u5740\u3002 \u73b0\u5728\u521b\u5efa\u7aef\u53e3\u8f6c\u53d1\u5b9a\u4e49\u65f6\u53ef\u4ee5\u81ea\u52a8\u6dfb\u52a0\u6b64\u89c4\u5219\uff0c\u5e76\u4e14\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u5df2\u542f\u7528\u8be5\u9009\u9879\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>\u7aef\u53e3\u8f6c\u53d1\u8bbe\u7f6e<\/strong><\/p>\n<p style=\"text-align: justify;\">\u5bfc\u822a\u5230Firewall&gt;NAT&gt;Port Forward\u3002<\/p>\n<p style=\"text-align: justify;\">\u4e0b\u9762\u5bf9\u7aef\u53e3\u8f6c\u53d1\u8bbe\u7f6e\u7684\u5404\u4e2a\u5b57\u6bb5\u8fdb\u884c\u9010\u4e00\u89e3\u91ca\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>Disabled: \u00a0 \u00a0 \u5141\u8bb8\u7aef\u53e3\u8f6c\u53d1\u6761\u76ee\u88ab\u7981\u7528\uff0c\u800c\u4e0d\u4ece\u914d\u7f6e\u4e2d\u5220\u9664\u5b83\u3002<\/li>\n<li>No \u00a0RDR: \u53cd\u5411\u91cd\u5b9a\u5411\u6d41\u91cf\u5339\u914d\u8fd9\u91cc\u6307\u5b9a\u7684\u5185\u5bb9\u3002 \u5bf9\u4e8e\u9ad8\u7ea7\u914d\u7f6e\uff0c\u901a\u5e38\u5e94\u8be5\u53d6\u6d88\u9009\u4e2d\u3002<\/li>\n<li>Interface: \u6d41\u91cf\u53d1\u751f\u7684\u63a5\u53e3\uff0c\u901a\u5e38\u662fWAN<\/li>\n<li>Protocol:\u8981\u8f6c\u53d1\u7684\u6d41\u91cf\u7684\u534f\u8bae\u3002<\/li>\n<li>Source: \u5141\u8bb8\u5339\u914d\u6d41\u91cf\u7684\u7279\u5b9a\u539f\u59cb\u6765\u6e90\uff0c\u5e76\u9690\u85cf\u5728\u9ad8\u7ea7\u6309\u94ae\u540e\u9762\uff0c\u56e0\u4e3a\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u5b83\u5e94\u8be5\u662f\u201cany\u201d\uff0c\u5141\u8bb8\u6240\u6709Internet\u4e3b\u673a\u901a\u8fc7\u3002 \u4f7f\u7528TCP\u548c\/\u6216UDP\u65f6\u7684\u6e90\u7aef\u53e3\u8303\u56f4\uff0c\u51e0\u4e4e\u603b\u662f\u201cany\u201d\u3002\u6e90\u7aef\u53e3\u4e0e\u76ee\u7684\u7aef\u53e3\u4e0d\u540c\uff0c\u901a\u5e38\u662f1024-65535\u4e4b\u95f4\u7684\u968f\u673a\u7aef\u53e3\u3002<\/li>\n<li>Destination: \u6307\u5b9a\u6d41\u91cf\u7684\u539f\u59cb\u76ee\u6807IP\u5730\u5740\uff0c\u901a\u5e38\u4e3aWAN\u5730\u5740\u3002<\/li>\n<li>Destination \u00a0Port Range: \u6307\u5b9a\u6d41\u91cf\u7684\u539f\u59cb\u76ee\u7684\u7aef\u53e3\uff0c\u5373\u5916\u90e8\u7aef\u53e3\u8981\u8f6c\u53d1\u7684\u7aef\u53e3\u8303\u56f4\u3002<\/li>\n<li>Redirect \u00a0target IP: \u8be5\u6d41\u91cf\u5c06\u88ab\u8f6c\u53d1\u7684\u5185\u90e8IP\u5730\u5740\u3002<\/li>\n<li>Redirect \u00a0Target Port: \u6b64\u6d41\u91cf\u5c06\u88ab\u8f6c\u53d1\u7684\u5185\u90e8\u7aef\u53e3\uff0c\u901a\u5e38\u4e0eDestination \u00a0 \u00a0 Port Range\uff08\u76ee\u6807\u7aef\u53e3\u8303\u56f4\uff09\u4e2d\u5b9a\u4e49\u7684\u5916\u90e8\u7aef\u53e3\u76f8\u540c\u3002 \u5982\u679c\u4e00\u4e2a\u8303\u56f4\u5185\u7684\u591a\u4e2a\u7aef\u53e3\u7528\u4e8e\u76ee\u7684\u7aef\u53e3\u8303\u56f4\uff0c\u5219\u8fd9\u662f\u8d77\u59cb\u7aef\u53e3\u7684\u8303\u56f4\uff0c\u56e0\u4e3a\u5b83\u5fc5\u987b\u662f\u76f8\u540c\u7684\u5927\u5c0f\u8303\u56f4\u3002<\/li>\n<li>Description: \u63cf\u8ff0\u8bf4\u660e\u4f9b\u7ba1\u7406\u5458\u53c2\u8003\u3002<\/li>\n<li>No \u00a0XMLRPC Sync: \u9632\u6b62\u540c\u6b65\u5230\u5176\u4ed6CARP\u6210\u5458\u3002<\/li>\n<li>NAT reflection:\u5141\u8bb8\u5728\u7aef\u53e3\u8f6c\u53d1\u65f6\u542f\u7528\u6216\u7981\u7528NAT\u56de\u6d41\u3002\u5982\u679c\u5728\u5185\u7f51\u901a\u8fc7\u5916\u7f51\u5730\u5740\u6765\u6d4b\u8bd5\u5185\u7f51\u6620\u5c04\u7aef\u53e3\uff0c\u4e00\u5b9a\u8981\u9009\u62e9\u542f\u7528\u56de\u6d41\uff08NAT+Proxy\uff09\u3002<\/li>\n<li>Filter rule association: \u5c06\u6d41\u91cf\u4ece\u6307\u5b9a\u7684\u6e90\u53d1\u9001\u5230\u6307\u5b9a\u7684\u76ee\u7684\u5730\uff0c\u5e76\u5c06\u5176\u91cd\u5b9a\u5411\u5230\u6307\u5b9a\u7684\u76ee\u6807IP\u548c\u7aef\u53e3\uff0c\u8fdb\u5165\u6240\u9009\u63a5\u53e3\uff0c\u4f7f\u7528\u6307\u5b9a\u7684\u534f\u8bae\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><strong>\u5b9e\u4f8b\u6559\u7a0b\uff08pfsense2.34\u4e2d\u6587\u7248\uff09:<\/strong><\/p>\n<p style=\"text-align: justify;\">\u8fdb\u5165\u9632\u706b\u5899-\u5730\u5740\u8f6c\u6362-\u7aef\u53e3\u8f6c\u53d1\uff0c\u9009\u62e9\u6dfb\u52a0\u3002\u628aWAN1\u53e3\u4e0a\u76845001\u7aef\u53e3\u8f6c\u53d1\u5230\u5185\u90e8192.168.111.190\u4e3b\u673a\u4e0a\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/wKiom1kvua2Rts6JAAJniJA1Gyc435.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2540 size-full\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/wKiom1kvua2Rts6JAAJniJA1Gyc435.png\" alt=\"wKiom1kvua2Rts6JAAJniJA1Gyc435.png\" width=\"1156\" height=\"1175\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/wKiom1kvua2Rts6JAAJniJA1Gyc435.png 1156w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/wKiom1kvua2Rts6JAAJniJA1Gyc435-1007x1024.png 1007w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/wKiom1kvua2Rts6JAAJniJA1Gyc435-295x300.png 295w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/wKiom1kvua2Rts6JAAJniJA1Gyc435-768x781.png 768w\" sizes=\"auto, (max-width: 1156px) 100vw, 1156px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u6309\u4e0a\u56fe\u8fdb\u884c\u8bbe\u7f6e\uff0c\u8bbe\u7f6e\u5b8c\u6210\u70b9\u51fb\u4fdd\u5b58\u8bbe\u7f6e\u3002\u4e0b\u56fe\u662f\u5b8c\u6210\u8bbe\u7f6e\u540e\u7684\u6761\u76ee\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/wKiom1kvua7wQ7juAADe-aDoD2o960.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2541 size-full\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/wKiom1kvua7wQ7juAADe-aDoD2o960.png\" alt=\"wKiom1kvua7wQ7juAADe-aDoD2o960.png\" width=\"1165\" height=\"420\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/wKiom1kvua7wQ7juAADe-aDoD2o960.png 1165w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/wKiom1kvua7wQ7juAADe-aDoD2o960-1024x369.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/wKiom1kvua7wQ7juAADe-aDoD2o960-300x108.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/wKiom1kvua7wQ7juAADe-aDoD2o960-768x277.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/wKiom1kvua7wQ7juAADe-aDoD2o960-500x180.png 500w\" sizes=\"auto, (max-width: 1165px) 100vw, 1165px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u901a\u8fc7\u67e5\u770bWAN1\u4e0a\u7684\u9632\u706b\u5899\u89c4\u5219\uff0c\u53ef\u4ee5\u770b\u89c1\u7aef\u53e3\u8f6c\u53d1\u7684\u9632\u706b\u5899\u89c4\u5219\u5df2\u7ecf\u81ea\u52a8\u6dfb\u52a0\u4e86\uff0c\u89c1\u4e0b\u56fe\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/wKioL1kvua3xzGoKAAEn_FJVCdI524.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2542 size-full\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/wKioL1kvua3xzGoKAAEn_FJVCdI524.png\" alt=\"wKioL1kvua3xzGoKAAEn_FJVCdI524.png\" width=\"1161\" height=\"423\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/wKioL1kvua3xzGoKAAEn_FJVCdI524.png 1161w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/wKioL1kvua3xzGoKAAEn_FJVCdI524-1024x373.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/wKioL1kvua3xzGoKAAEn_FJVCdI524-300x109.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/wKioL1kvua3xzGoKAAEn_FJVCdI524-768x280.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/wKioL1kvua3xzGoKAAEn_FJVCdI524-500x182.png 500w\" sizes=\"auto, (max-width: 1161px) 100vw, 1161px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u5e38\u89c1\u95ee\u9898<\/strong><\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>NAT\u548c\u9632\u706b\u5899\u89c4\u5219\u672a\u6b63\u786e\u6dfb\u52a0\u3002\u6ce8\u610f\uff1a\u4e0d\u8981\u8bbe\u7f6e\u6e90\u7aef\u53e3\u3002<\/li>\n<li>\u5728\u5ba2\u6237\u673a\u4e0a\u542f\u7528\u4e86\u9632\u706b\u5899\u3002<\/li>\n<li>\u5ba2\u6237\u7aef\u673a\u5668\u4e0d\u4f7f\u7528pfSense\u4f5c\u4e3a\u5176\u9ed8\u8ba4\u7f51\u5173\u3002<\/li>\n<li>\u5ba2\u6237\u7aef\u673a\u5668\u5b9e\u9645\u4e0a\u6ca1\u6709\u6b63\u5728\u4fa6\u542c\u6b63\u5728\u8f6c\u53d1\u7684\u7aef\u53e3\u3002<\/li>\n<li>ISP\u6216pfSense\u4e0a\u6e38\u7684\u67d0\u4e2a\u7aef\u53e3\u6b63\u5728\u963b\u6b62\u6b63\u5728\u8f6c\u53d1\u7684\u7aef\u53e3\u3002<\/li>\n<li>\u8bd5\u56fe\u4ece\u672c\u5730\u7f51\u7edc\u5185\u90e8\u8fdb\u884c\u6d4b\u8bd5\uff0c\u9700\u8981\u4ece\u5916\u90e8\u673a\u5668\u8fdb\u884c\u6d4b\u8bd5\u3002<\/li>\n<li>\u5bf9\u4e8e\u5176\u4ed6\u516c\u5171IP\u5730\u5740\uff0c\u865a\u62dfIP\u914d\u7f6e\u4e0d\u6b63\u786e\u6216\u7f3a\u5931\u3002<\/li>\n<li>pfSense\u8def\u7531\u5668\u4e0d\u662f\u8fb9\u754c\u8def\u7531\u5668\u3002 \u5982\u679cpfSense\u548cISP\u4e4b\u95f4\u8fd8\u6709\u5176\u4ed6\u7684\u8def\u7531\uff0c\u7aef\u53e3\u8f6c\u53d1\u548c\u5173\u8054\u7684\u89c4\u5219\u5fc5\u987b\u5728\u90a3\u91cc\u8fdb\u884c\u590d\u5236\u3002<\/li>\n<li>\u5c06\u7aef\u53e3\u8f6c\u53d1\u5230\u5165\u7f51\u95e8\u6237\u540e\u9762\u7684\u670d\u52a1\u5668\u3002\u5fc5\u987b\u5728\u670d\u52a1\u5668\u7684IP\u4e4b\u95f4\u6dfb\u52a0IP\u65c1\u8def\uff0c\u4ee5\u4fbf\u7aef\u53e3\u8f6c\u53d1\u5230\u5165\u7f51\u95e8\u6237\u4e4b\u540e\u3002<\/li>\n<li>\u5982\u679c\u4e0d\u5728\u9ed8\u8ba4\u7f51\u5173\u7684WAN\u63a5\u53e3\u4e0a\uff0c\u8bf7\u786e\u4fdd\u5728\u6b64WAN\u63a5\u53e3\u4e0a\u9009\u62e9\u4e86\u4e00\u4e2a\u7f51\u5173\uff0c\u6216\u8005\u8f6c\u53d1\u7aef\u53e3\u7684\u9632\u706b\u5899\u89c4\u5219\u5c06\u4e0d\u4f1a\u901a\u8fc7\u6b63\u786e\u7684\u7f51\u5173\u56de\u590d\u3002<\/li>\n<li>\u5982\u679c\u4e0d\u5728\u9ed8\u8ba4\u7f51\u5173\u7684WAN\u63a5\u53e3\u4e0a\uff0c\u8bf7\u786e\u4fdd\u672a\u8f6c\u53d1\u7aef\u53e3\u7684\u6d41\u91cf\u672a\u901a\u8fc7\u6d6e\u52a8\u89c4\u5219\u6216\u63a5\u53e3\u7ec4\u4f20\u5165\u3002\u53ea\u6709\u9632\u706b\u5899\u89c4\u5219\u4e0b\u5e7f\u57df\u7f51\u63a5\u53e3\u9009\u9879\u5361\u4e0a\u51fa\u73b0\u7684\u89c4\u5219\u624d\u4f1a\u5177\u6709reply-to\u5173\u952e\u5b57\uff0c\u4ee5\u786e\u4fdd\u6d41\u91cf\u901a\u8fc7\u9884\u671f\u7f51\u5173\u6b63\u786e\u54cd\u5e94\u3002<\/li>\n<li>\u5982\u679c\u4e0d\u5728\u9ed8\u8ba4\u7f51\u5173\u7684WAN\u63a5\u53e3\u4e0a\uff0c\u8bf7\u786e\u4fdd\u5141\u8bb8\u6d41\u91cf\u7684\u9632\u706b\u5899\u89c4\u5219\u6ca1\u6709\u52fe\u9009\u8be5\u6846\u7981\u7528reply-to\u3002<\/li>\n<li>\u5982\u679c\u4e0d\u5728\u9ed8\u8ba4\u7f51\u5173\u7684WAN\u63a5\u53e3\u4e0a\uff0c\u8bf7\u786e\u4fdd\u5728\u00a0System &gt; Advanced &gt;Firewall &amp; NAT\u4e0b\u7684Disable reply-to\u672a\u9009\u4e2d\u3002<\/li>\n<li>WAN\u89c4\u5219\u4e0d\u5e94\u8bbe\u7f6e\u7f51\u5173\uff0c\u56e0\u6b64\u8bf7\u786e\u4fdd\u7aef\u53e3\u8f6c\u53d1\u7684\u89c4\u5219\u4e0d\u5177\u6709\u6839\u636e\u5b9e\u9645\u89c4\u5219\u914d\u7f6e\u7684\u7f51\u5173\u3002<\/li>\n<li>\u5982\u679c\u6d41\u91cf\u4f3c\u4e4e\u6b63\u5728\u8f6c\u53d1\u5230\u610f\u5916\u7684\u8bbe\u5907\uff0c\u5219\u53ef\u80fd\u7531\u4e8eUPnP\u800c\u53d1\u751f\u3002\u68c0\u67e5Status &gt; UPnP\u4ee5\u67e5\u770b\u5185\u90e8\u670d\u52a1\u662f\u5426\u5df2\u5c06\u7aef\u53e3\u914d\u7f6e\u4e3a\u610f\u5916\u3002\u5982\u679c\u662f\u8fd9\u6837\uff0c\u8bf7\u5728\u8be5\u8bbe\u5907\u6216\u9632\u706b\u5899\u4e0a\u7981\u7528UPnP\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><strong>\u6545\u969c\u6392\u67e5<\/strong><\/p>\n<p style=\"text-align: justify;\">\u7aef\u53e3\u8f6c\u53d1\u65f6\u9047\u5230\u95ee\u9898\uff0c\u8bf7\u5c1d\u8bd5\u6309\u4ee5\u4e0b\u64cd\u4f5c\u6765\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u7aef\u53e3\u8f6c\u53d1\u4e0d\u5728\u5185\u90e8\u5de5\u4f5c\uff0c\u9664\u975e\u542f\u7528\u4e86 NAT reflection\uff08NAT\u56de\u6d41\uff09\u3002 \u59cb\u7ec8\u4ece\u7f51\u7edc\u5916\u90e8\uff08\u4f8b\u5982\u4ece\u53e6\u4e00\u4e2a\u4f4d\u7f6e\u7684\u7cfb\u7edf\uff09\u6216\u4ece3G \/ 4G\u8bbe\u5907\u5411\u5916\u6d4b\u8bd5\u7aef\u53e3\u3002<\/li>\n<li>\u7f16\u8f91NAT\u6761\u76ee\u6d41\u91cf\u901a\u884c\u7684\u9632\u706b\u5899\u89c4\u5219\uff0c\u5e76\u542f\u7528\u65e5\u5fd7\u8bb0\u5f55\u3002\u4fdd\u5b58\u5e76\u5e94\u7528\u66f4\u6539\u3002 \u7136\u540e\u5c1d\u8bd5\u4ece\u5916\u9762\u518d\u6b21\u8bbf\u95ee\u5b83\u3002\u68c0\u67e5\u9632\u706b\u5899\u65e5\u5fd7 (Status &gt; System Logs,\u00a0Firewall\u00a0\u9009\u9879\u5361) \u770b\u770b\u6d41\u91cf\u662f\u5426\u663e\u793a\u4e3a\u5141\u8bb8\u6216\u62d2\u7edd\u3002<\/li>\n<li>\u5728Diagnostics &gt; States\u68c0\u67e5\u4e0b\u9762\u7684\u72b6\u6001\u8868\uff0c \u8fc7\u6ee4\u6e90\uff0c\u76ee\u7684\u5730\u6216\u7aef\u53e3\u53f7\uff0c\u4ee5\u67e5\u770b\u662f\u5426\u5b58\u5728\u4efb\u4f55\u6761\u76ee\u3002 \u5982\u679c\u5b58\u5728\u4e0e\u7aef\u53e3\u8f6c\u53d1\u7684NAT\u5339\u914d\u7684\u6761\u76ee\uff0c\u5219\u9632\u706b\u5899\u6b63\u786e\u63a5\u53d7\u548c\u8f6c\u53d1\u6d41\u91cf\uff0c\u53ef\u4ee5\u6392\u9664\u9632\u706b\u5899\u8bbe\u7f6e\u95ee\u9898\uff0c\u8bf7\u67e5\u770b\u5185\u90e8\u95ee\u9898\uff08\u4f8b\u5982\uff0c\u5ba2\u6237\u7aef\u9632\u706b\u5899\u7b49\uff0c\u89c1\u4e0b\u6587\uff09\u3002<\/li>\n<li>\u4f7f\u7528\u6570\u636e\u5305\u6355\u83b7\u6216tcpdump\u6765\u67e5\u770b\u7f51\u7edc\u4e0a\u53d1\u751f\u7684\u60c5\u51b5\u3002\u8fd9\u662f\u627e\u5230\u95ee\u9898\u7684\u6700\u4f73\u65b9\u5f0f\uff0c\u4f46\u9700\u8981\u6700\u591a\u7684\u7f51\u7edc\u4e13\u4e1a\u77e5\u8bc6\u3002 \u5bfc\u822a\u5230Diagnostics &gt; Packet Capture\u00a0\u4ee5\u6355\u83b7\u6d41\u91cf\uff0c\u6216\u8005\u4eceshell\u4f7f\u7528tcpdump\u3002 \u4eceWAN\u63a5\u53e3\u5f00\u59cb\uff0c\u5e76\u4f7f\u7528\u8fc7\u6ee4\u5668\u8fdb\u884c\u76f8\u5e94\u7684\u534f\u8bae\u548c\u7aef\u53e3\u3002\u5c1d\u8bd5\u4ece\u7f51\u7edc\u5916\u90e8\u8fdb\u884c\u8bbf\u95ee\uff0c\u770b\u770b\u662f\u5426\u663e\u793a\u3002 \u5982\u679c\u6ca1\u6709\uff0c\u5219ISP\u53ef\u80fd\u963b\u585e\u6d41\u91cf\uff0c\u6216\u8005\u5982\u679c\u6d89\u53ca\u5230\u865a\u62dfIP\uff0c\u5219\u53ef\u80fd\u914d\u7f6e\u4e0d\u6b63\u786e\u3002 \u5982\u679c\u5728WAN\u63a5\u53e3\u4e0a\u770b\u5230\u6d41\u91cf\uff0c\u5207\u6362\u5230\u5185\u90e8\u63a5\u53e3\u5e76\u6267\u884c\u7c7b\u4f3c\u7684\u6355\u83b7\u3002\u5982\u679c\u6d41\u91cf\u6ca1\u6709\u79bb\u5f00\u5185\u90e8\u63a5\u53e3\uff0c\u5219\u4f1a\u51fa\u73b0NAT\u6216\u9632\u706b\u5899\u89c4\u5219\u914d\u7f6e\u95ee\u9898\u3002 \u5982\u679c\u79bb\u5f00\u754c\u9762\uff0c\u5e76\u4e14\u6ca1\u6709\u4ece\u76ee\u6807\u673a\u5668\u8fd4\u56de\u7684\u6d41\u91cf\uff0c\u76ee\u6807\u7cfb\u7edf\u7684\u9ed8\u8ba4\u7f51\u5173\u53ef\u80fd\u4e22\u5931\u6216\u4e0d\u6b63\u786e\uff0c\u5b83\u53ef\u80fd\u4e0d\u4f1a\u5728\u8be5\u7aef\u53e3\u4e0a\u4fa6\u542c\uff0c\u6216\u8005\u53ef\u80fd\u6709\u672c\u5730\u9632\u706b\u5899\uff08Windows\u9632\u706b\u5899\uff0cIP\u8868 \uff09\u963b\u6b62\u6d41\u91cf\u3002 \u5bf9\u4e8e\u67d0\u4e9b\u7c7b\u578b\u7684\u6d41\u91cf\u8fd4\u56de\u6d41\u91cf\u53ef\u80fd\u4f1a\u663e\u793a\u4e3b\u673a\u672a\u5728\u8be5\u7aef\u53e3\u4e0a\u4fa6\u542c\u3002\u5bf9\u4e8eTCP\uff0c\u8fd9\u53ef\u80fd\u662fTCP RST\u3002 \u5bf9\u4e8eUDP\uff0c\u5b83\u53ef\u80fd\u662fICMP\u65e0\u6cd5\u8bbf\u95ee\u7684\u6d88\u606f\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u89c6\u9891\u6559\u7a0b\u8bf7<a title=\"\" href=\"http:\/\/v.youku.com\/v_show\/id_XMjgyNjAyMTMwNA==.html?spm=a2h3j.8428770.3416059.1\" target=\"_blank\" rel=\"noopener noreferrer\">\u70b9\u51fb<\/a>\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>pfSense\u4e0a\u7684\u7aef\u53e3\u8f6c\u53d1\u662f\u4e00\u4e2a\u76f8\u5f53\u7b80\u5355\u7684\u8fc7\u7a0b\u3002\u4ee5\u524d\u7248\u672c\u6dfb\u52a0\u7aef\u53e3\u8f6c\u53d1\u65f6\uff0c\u8fd8\u5fc5\u987b\u6dfb &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=263\">\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":[108],"class_list":["post-263","post","type-post","status-publish","format-standard","hentry","category-pfsense","tag-108"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/263","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=263"}],"version-history":[{"count":0,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/263\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}