{"id":217,"date":"2018-07-29T11:49:14","date_gmt":"2018-07-29T03:49:14","guid":{"rendered":"https:\/\/pfsense.freeddns.org\/wp\/?p=217"},"modified":"2020-08-24T22:09:23","modified_gmt":"2020-08-24T14:09:23","slug":"pfsense-book%e4%b9%8b%e6%b5%81%e9%87%8f%e7%ae%a1%e7%90%86","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=217","title":{"rendered":"pfSense book\u4e4b\u6d41\u91cf\u7ba1\u7406"},"content":{"rendered":"<h1 style=\"text-align: justify;\">\u6d41\u91cf\u7ba1\u7406<\/h1>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u6d41\u91cf\u7ba1\u7406\u53ef\u4ee5\u4e3a\u7f51\u7edc\u505a\u4e9b\u4ec0\u4e48<\/li>\n<li>\u786c\u4ef6\u9650\u5236<\/li>\n<li>ALTQ\u8c03\u5ea6\u7a0b\u5e8f\u7c7b\u578b<\/li>\n<li>\u4f7f\u7528\u5411\u5bfc\u914d\u7f6eALTQ\u6d41\u91cf\u7ba1\u7406\u5668<\/li>\n<li>\u76d1\u63a7\u961f\u5217<\/li>\n<li>\u9ad8\u7ea7\u5b9a\u5236<\/li>\n<li>\u9650\u5236\u5668<\/li>\n<li>\u6d41\u91cf\u7ba1\u7406\u548c\u6574\u5f62\u5668<\/li>\n<li>\u7591\u96be\u89e3\u7b54<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u6d41\u91cf\u7ba1\u7406\u6216\u7f51\u7edc\u670d\u52a1\u8d28\u91cf\uff08QoS\uff09\u662f\u4f18\u5148\u8003\u8651\u7f51\u7edc\u6d41\u91cf\u7684\u4e00\u79cd\u624b\u6bb5\u3002\u5982\u679c\u6ca1\u6709\u6d41\u91cf\u7ba1\u7406\uff0c\u6570\u636e\u5305\u7531\u9632\u706b\u5899\u4ee5\u5148\u5165\u5148\u51fa\u65b9\u5f0f\u5904\u7406\u3002 QoS\u4e3a\u4f18\u5148\u5904\u7406\u4e0d\u540c\u7c7b\u578b\u7684\u6d41\u91cf\u63d0\u4f9b\u4e86\u4e00\u79cd\u624b\u6bb5\uff0c\u786e\u4fdd\u9ad8\u4f18\u5148\u7ea7\u670d\u52a1\u5728\u8f83\u4f4e\u4f18\u5148\u7ea7\u670d\u52a1\u4e4b\u524d\u83b7\u5f97\u6240\u9700\u7684\u5e26\u5bbd\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u6d41\u91cf\u7ba1\u7406\u7c7b\u578b<\/h2>\n<p style=\"text-align: justify;\">\u5728pfSense\u8f6f\u4ef6\u4e2d\u6709\u4e24\u79cd\u7c7b\u578b\u7684QoS\uff1aALTQ\u548c\u9650\u5236\u5668\u3002<\/p>\n<p style=\"text-align: justify;\">ALTQ\u6846\u67b6\u901a\u8fc7pf\u8fdb\u884c\u5904\u7406\uff0c\u5e76\u4e0e\u7f51\u5361\u9a71\u52a8\u7a0b\u5e8f\u5bc6\u5207\u76f8\u5173\u3002 ALTQ\u53ef\u4ee5\u5904\u7406\u591a\u79cd\u7c7b\u578b\u7684\u8c03\u5ea6\u7a0b\u5e8f\u548c\u961f\u5217\u5e03\u5c40\u3002 \u6d41\u91cf\u7ba1\u7406\u5411\u5bfc\u914d\u7f6eALTQ\uff0c\u4f7f\u9632\u706b\u5899\u7ba1\u7406\u5458\u80fd\u591f\u4e3a\u5e38\u89c1\u573a\u666f\u5feb\u901f\u914d\u7f6eQoS\uff0c\u5e76\u5141\u8bb8\u81ea\u5b9a\u4e49\u89c4\u5219\u5904\u7406\u66f4\u590d\u6742\u7684\u4efb\u52a1\u3002 \u7136\u800c\uff0cALTQ\u6548\u7387\u4e0d\u9ad8\uff0c\u56e0\u6b64\u9632\u706b\u5899\u5904\u4e8e\u6d3b\u52a8\u72b6\u6001\u65f6\u7684\u6700\u5927\u6f5c\u5728\u541e\u5410\u91cf\u4f1a\u660e\u663e\u964d\u4f4e\u3002<\/p>\n<p style=\"text-align: justify;\">pfSense\u8f6f\u4ef6\u8fd8\u652f\u6301\u79f0\u4e3a\u9650\u5236\u5668\u7684\u72ec\u7acb\u6d41\u91cf\u7ba1\u7406\u6982\u5ff5\u3002\u9650\u5236\u5668\u5bf9\u5206\u7ec4\u6216\u6bcf\u4e2aIP\u5730\u5740\u6216\u7f51\u7edc\u5f3a\u5236\u8fdb\u884c\u5e26\u5bbd\u9650\u5236\u3002\u5728\u8fd9\u4e9b\u5e26\u5bbd\u9650\u5236\u5185\uff0c\u9650\u5236\u5668\u8fd8\u53ef\u4ee5\u7ba1\u7406\u6d41\u91cf\u4f18\u5148\u7ea7\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u6d41\u91cf\u7ba1\u7406\u57fa\u7840<\/h2>\n<p style=\"text-align: justify;\">\u5bf9\u4e8e\u4e0d\u719f\u6089\u6d41\u91cf\u8c03\u6574\u7684\u7ba1\u7406\u5458\u6765\u8bf4\uff0c\u5b83\u5c31\u50cf\u662f\u4e13\u5c5e\u4ff1\u4e50\u90e8\u7684\u4fdd\u9556\u3002 VIP\uff08\u975e\u5e38\u91cd\u8981\uff09\u6570\u636e\u59cb\u7ec8\u9996\u5148\u8fdb\u5165\uff0c\u800c\u65e0\u9700\u7b49\u5f85\u3002 \u5e38\u89c4\u7684\u6570\u636e\u5305\u5fc5\u987b\u7b49\u5f85\u8f6e\u5230\u5b83\u4eec\uff0c\u5e76\u4e14\u5728\u771f\u6b63\u7684\u805a\u4f1a\u7ed3\u675f\u4e4b\u524d\uff0c\u201c\u4e0d\u9700\u8981\u7684\u201d\u6570\u636e\u5305\u53ef\u4ee5\u4fdd\u6301\u4e0d\u7528\u3002 \u4e00\u76f4\u4ee5\u6765\uff0c\u4ff1\u4e50\u90e8\u90fd\u4fdd\u6301\u7740\u8db3\u591f\u7684\u80fd\u529b\u5e76\u4e14\u4ece\u672a\u8d85\u8d1f\u8377\u3002 \u5982\u679c\u66f4\u591a\u7684VIP\u4f1a\u5728\u665a\u4e9b\u65f6\u5019\u51fa\u73b0\uff0c\u5219\u53ef\u80fd\u9700\u8981\u629b\u51fa\u5e38\u89c4\u6570\u636e\u5305\u4ee5\u9632\u6b62\u8be5\u5730\u70b9\u8fc7\u4e8e\u62e5\u6324\u3002<\/p>\n<p style=\"text-align: justify;\">\u8d77\u521dALTQ\u6d41\u91cf\u7ba1\u7406\u6982\u5ff5\u53ef\u80fd\u662f\u8fdd\u53cd\u76f4\u89c9\u7684\uff0c\u56e0\u4e3a\u6d41\u91cf\u5fc5\u987b\u5728\u64cd\u4f5c\u7cfb\u7edf\u53ef\u4ee5\u63a7\u5236\u6570\u636e\u5305\u6d41\u7684\u5730\u65b9\u6392\u961f\u3002 \u6765\u81ea\u4e92\u8054\u7f51\u7684\u6d41\u5165\u6d41\u91cf\u4ece\u9632\u706b\u5899\u7684LAN\u63a5\u53e3\u79bb\u5f00\uff0c\u5230\u8fbe\u5c40\u57df\u7f51\u4e0a\u7684\u4e3b\u673a\uff08\u4e0b\u8f7d\uff09\uff0c \u540c\u6837\u7684\u65b9\u5f0f\uff0c\u4eceLAN\u5230Internet\u7684\u6d41\u91cf\uff08\u4e0a\u4f20\uff09\u5728\u79bb\u5f00WAN\u65f6\u5f62\u6210\u3002<\/p>\n<p style=\"text-align: justify;\">\u5bf9\u4e8eALTQ\uff0c\u6709\u6d41\u91cf\u7ba1\u7406\u961f\u5217\u548c\u6d41\u91cf\u7ba1\u7406\u89c4\u5219\u3002 \u961f\u5217\u5206\u914d\u5e26\u5bbd\u548c\u4f18\u5148\u7ea7\u3002 \u7ba1\u7406\u89c4\u5219\u63a7\u5236\u6d41\u91cf\u5982\u4f55\u5206\u914d\u5230\u8fd9\u4e9b\u961f\u5217\u4e2d\u3002\u00a0\u6d41\u91cf\u7ba1\u7406\u7684\u5de5\u4f5c\u89c4\u5219\u4e0e\u9632\u706b\u5899\u89c4\u5219\u76f8\u540c\uff0c\u5e76\u5141\u8bb8\u76f8\u540c\u7684\u5339\u914d\u7279\u5f81\u3002 \u5982\u679c\u6570\u636e\u5305\u7b26\u5408\u6d41\u91cf\u7ba1\u7406\u7684\u89c4\u5219\uff0c\u5b83\u5c06\u88ab\u5206\u914d\u5230\u8be5\u89c4\u5219\u6307\u5b9a\u7684\u961f\u5217\u4e2d\u3002 \u5728pfSense\u8f6f\u4ef6\u4e2d\uff0c\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u6d41\u91cf\u7ba1\u7406\u89c4\u5219\u5728\u6d6e\u52a8\u9009\u9879\u5361\u4e0a\u4f7f\u7528\u5339\u914d\u64cd\u4f5c\u8fdb\u884c\u5904\u7406\uff0c\u8be5\u64cd\u4f5c\u5c06\u6d41\u91cf\u5206\u914d\u5230\u961f\u5217\u4e2d\uff0c\u4f46\u4efb\u4f55\u63a5\u53e3\u4e0a\u7684\u89c4\u5219\u90fd\u53ef\u4ee5\u4f7f\u7528<strong>\u901a\u8fc7<\/strong>\u64cd\u4f5c\u5c06\u6d41\u91cf\u5206\u914d\u5230\u961f\u5217\u4e2d\u3002<\/p>\n<p style=\"text-align: justify;\">\u9650\u5236\u5668\u89c4\u5219\u7684\u5904\u7406\u65b9\u5f0f\u4e0d\u540c\u3002 \u9650\u5236\u5668\u9002\u7528\u4e8e\u5e38\u89c4\u901a\u884c\u89c4\u5219\uff0c\u5e76\u5728\u8fdb\u5165\u548c\u79bb\u5f00\u63a5\u53e3\u65f6\u5bf9\u901a\u4fe1\u5b9e\u65bd\u9650\u5236\u3002 \u9650\u5236\u5668\u51e0\u4e4e\u603b\u662f\u6210\u5bf9\u5b58\u5728\uff1a\u4e00\u4e2a\u7528\u4e8e\u9650\u5236\u201c\u4e0b\u8f7d\u201d\u65b9\u5411\u7684\u6d41\u91cf\uff0c\u53e6\u4e00\u4e2a\u7528\u4e8e\u9650\u5236\u201c\u4e0a\u4f20\u201d\u65b9\u5411\u7684\u6d41\u91cf\u3002<\/p>\n<h1 style=\"text-align: justify;\">\u6d41\u91cf\u7ba1\u7406\u53ef\u4ee5\u4e3a\u7f51\u7edc\u505a\u4e9b\u4ec0\u4e48<\/h1>\n<p style=\"text-align: justify;\">\u6d41\u91cf\u7ba1\u7406\u57fa\u672c\u601d\u60f3\u662f\u63d0\u9ad8\u548c\u964d\u4f4e\u6570\u636e\u5305\u7684\u4f18\u5148\u7ea7\u6216\u4fdd\u6301\u4e00\u5b9a\u7684\u901f\u5ea6\u3002 \u8fd9\u4e2a\u6982\u5ff5\u770b\u8d77\u6765\u5f88\u7b80\u5355\uff0c\u4f46\u662f\uff0c\u8fd9\u4e2a\u6982\u5ff5\u53ef\u4ee5\u5e94\u7528\u7684\u65b9\u5f0f\u6570\u91cf\u5de8\u5927\u3002 \u8fd9\u4e9b\u53ea\u662f\u51e0\u4e2a\u5e38\u89c1\u7684\u4f8b\u5b50\uff0c\u5df2\u7ecf\u8bc1\u660epfSense\u8f6f\u4ef6\u5f88\u53d7\u7528\u6237\u6b22\u8fce\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u4fdd\u6301\u6d4f\u89c8\u6d41\u7545<\/h2>\n<p style=\"text-align: justify;\">\u4e0d\u5bf9\u79f0\u7684\u94fe\u8def\uff0c\u4e0b\u8f7d\u901f\u5ea6\u4e0d\u540c\u4e8e\u4e0a\u4f20\u901f\u5ea6\uff0c\u7279\u522b\u662f\u5bf9\u4e8eDSL\uff08\u6570\u5b57\u7528\u6237\u7ebf\u8def\uff09\u66f4\u662f\u5982\u6b64\u3002 \u67d0\u4e9b\u94fe\u8def\u5931\u8861\u4ee5\u81f3\u4e8e\u6700\u9ad8\u4e0b\u8f7d\u901f\u5ea6\u51e0\u4e4e\u65e0\u6cd5\u5b9e\u73b0\uff0c\u56e0\u4e3a\u9632\u706b\u5899\u5f88\u96be\u53d1\u9001\u8db3\u591f\u7684ACK\uff08\u786e\u8ba4\uff09\u6570\u636e\u5305\u6765\u4fdd\u6301\u6d41\u91cf\u3002 ACK\u6570\u636e\u5305\u7531\u63a5\u6536\u4e3b\u673a\u53d1\u9001\u56de\u53d1\u9001\u65b9\uff0c\u4ee5\u6307\u793a\u6570\u636e\u5df2\u6210\u529f\u63a5\u6536\uff0c\u5e76\u8868\u793a\u53ef\u4ee5\u53d1\u9001\u66f4\u591a\u6570\u636e\u3002 \u5982\u679c\u53d1\u9001\u65b9\u6ca1\u6709\u53ca\u65f6\u6536\u5230ACK\uff0cTCP\u4e2d\u7684\u62e5\u585e\u63a7\u5236\u673a\u5236\u5c06\u542f\u52a8\u5e76\u51cf\u6162\u8fde\u63a5\u901f\u5ea6\u3002<\/p>\n<p style=\"text-align: justify;\">\u8fd9\u79cd\u60c5\u51b5\u5f88\u5e38\u89c1\uff1a\u901a\u8fc7\u5177\u6709\u975e\u5bf9\u79f0\u541e\u5410\u91cf\u529f\u80fd\u7684\u94fe\u63a5\u4e0a\u4f20\u6587\u4ef6\u65f6\uff0c\u6d4f\u89c8\u548c\u4e0b\u8f7d\u901f\u5ea6\u53d8\u6162\u3002 \u53d1\u751f\u8fd9\u79cd\u60c5\u51b5\u7684\u539f\u56e0\u662f\u7ebf\u8def\u7684\u4e0a\u4f20\u90e8\u5206\u5df2\u7ecf\u4ece\u6587\u4ef6\u4e0a\u4f20\u5b8c\u6210\uff0c\u5e76\u4e14\u6ca1\u6709\u4f59\u5730\u53d1\u9001\u5141\u8bb8\u4e0b\u8f7d\u4fdd\u6301\u6d41\u52a8\u7684ACK\u5206\u7ec4\u3002 \u901a\u8fc7\u4f7f\u7528\u6d41\u91cf\u7ba1\u7406\u786e\u5b9aACK\u6570\u636e\u5305\u7684\u4f18\u5148\u7ea7\uff0c\u9632\u706b\u5899\u53ef\u4ee5\u5728\u975e\u5bf9\u79f0\u94fe\u8def\u4e0a\u5b9e\u73b0\u66f4\u5feb\uff0c\u66f4\u7a33\u5b9a\u7684\u4e0b\u8f7d\u901f\u5ea6\u3002<\/p>\n<p style=\"text-align: justify;\">\u5728\u4e0a\u4f20\u548c\u4e0b\u8f7d\u901f\u5ea6\u76f8\u540c\u7684\u5bf9\u79f0\u94fe\u8def\u4e0a\uff0c\u8fd9\u5e76\u4e0d\u91cd\u8981\uff0c\u4f46\u5982\u679c\u53ef\u7528\u5e26\u5bbd\u88ab\u5927\u91cf\u4f7f\u7528\uff0c\u5219\u4ecd\u7136\u53ef\u80fd\u662f\u53ef\u53d6\u7684\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u4fdd\u6301VoIP\u547c\u53eb\u6e05\u6670<\/h2>\n<p style=\"text-align: justify;\">\u5982\u679cIP\u8bed\u97f3\u7535\u8bdd\u4f7f\u7528\u4e0e\u6570\u636e\u76f8\u540c\u7684\u7ebf\u8def\uff0c\u5219\u4e0a\u4f20\u548c\u4e0b\u8f7d\u53ef\u80fd\u4f1a\u964d\u4f4e\u901a\u8bdd\u8d28\u91cf\u3002 pfSense\u8f6f\u4ef6\u53ef\u4ee5\u4f18\u5148\u5904\u7406\u9ad8\u4e8e\u5176\u4ed6\u534f\u8bae\u7684\u901a\u8bdd\u6d41\u91cf\uff0c\u5e76\u786e\u4fdd\u901a\u8bdd\u6e05\u6670\u65e0\u95f4\u65ad\uff0c\u5373\u4f7f\u5728\u540c\u65f6\u5904\u7406\u6765\u81eaNetflix\u7684\u9ad8\u6e05\u89c6\u9891\u65f6\u4e5f\u662f\u5982\u6b64\u3002 \u9664\u4e86\u547c\u53eb\u7b49\u5f85\u4e4b\u5916\uff0c\u6d41\u91cf\u7ba1\u7406\u5668\u8fd8\u4f1a\u964d\u4f4e\u5176\u4ed6\u8f6c\u63a5\u7684\u901f\u5ea6\uff0c\u4e3a\u901a\u8bdd\u7559\u51fa\u7a7a\u95f4\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u51cf\u5c11\u6e38\u620f\u6ede\u540e<\/h2>\n<p style=\"text-align: justify;\">\u6d41\u91cf\u7ba1\u7406\u8fd8\u53ef\u4ee5\u9009\u62e9\u4f18\u5148\u8003\u8651\u4e0e\u7f51\u7edc\u6e38\u620f\u76f8\u5173\u7684\u6d41\u91cf\u3002 \u4e0e\u4f18\u5148\u8003\u8651VoIP\u547c\u53eb\u7c7b\u4f3c\uff0c\u5176\u6548\u679c\u662f\uff0c\u5373\u4f7f\u7f51\u7edc\u4e0a\u7684\u7528\u6237\u6b63\u5728\u64ad\u653e\u6216\u6b63\u5728\u4e0b\u8f7d\uff0c\u6e38\u620f\u7684\u54cd\u5e94\u65f6\u95f4\u4ecd\u5e94\u8be5\u51e0\u4e4e\u4e0e\u5176\u4f59\u8fde\u63a5\u95f2\u7f6e\u65f6\u4e00\u6837\u5feb\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u68c0\u67e5P2P\u5e94\u7528\u7a0b\u5e8f<\/h2>\n<p style=\"text-align: justify;\">\u901a\u8fc7\u964d\u4f4e\u4e0e\u5df2\u77e5\u5bf9\u7b49\u7aef\u53e3\u5173\u8054\u7684\u6d41\u91cf\u4f18\u5148\u7ea7\uff0c\u7ba1\u7406\u5458\u53ef\u4ee5\u66f4\u8f7b\u677e\u5730\u4e86\u89e3\u5373\u4f7f\u8fd9\u4e9b\u7a0b\u5e8f\u6b63\u5728\u4f7f\u7528\u4e2d\uff0c\u4e5f\u4e0d\u4f1a\u59a8\u788d\u7f51\u7edc\u4e0a\u7684\u5176\u4ed6\u6d41\u91cf\u3002 \u7531\u4e8e\u5176\u4f18\u5148\u7ea7\u8f83\u4f4e\uff0c\u6240\u4ee5\u5176\u4ed6\u534f\u8bae\u5c06\u6bd4P2P\u6d41\u91cf\u66f4\u53d7\u6b22\u8fce\uff0c\u5f53\u5176\u4ed6\u670d\u52a1\u9700\u8981\u5e26\u5bbd\u65f6\uff0c\u8fd9\u5c06\u53d7\u5230\u9650\u5236\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u5f3a\u5236\u5e26\u5bbd\u9650\u5236<\/h2>\n<p style=\"text-align: justify;\">\u9650\u5236\u5668\u53ef\u4ee5\u5c06\u5e26\u5bbd\u9650\u5236\u5e94\u7528\u4e8e\u4e00\u7ec4\u8bbe\u5907\uff0c\u4f8b\u5982\u63a5\u53e3\u4e0a\u7684\u6240\u6709\u6d41\u91cf\uff0c\u6216\u8005\u9650\u5236\u5668\u4e0a\u7684\u63a9\u7801\u53ef\u4ee5\u5728\u6bcf\u4e2aIP\u5730\u5740\u6216\u6bcf\u4e2a\u7f51\u7edc\u7684\u57fa\u7840\u4e0a\u5e94\u7528\u5b83\u4eec\u3002 \u8fd9\u6837\u9632\u706b\u5899\u53ef\u4ee5\u786e\u4fdd\u4efb\u4f55\u4eba\u90fd\u4e0d\u4f1a\u6d88\u8017\u6240\u6709\u53ef\u7528\u7684\u5e26\u5bbd\u3002<\/p>\n<h1 style=\"text-align: justify;\">\u786c\u4ef6\u9650\u5236<\/h1>\n<p style=\"text-align: justify;\">\u6d41\u91cf\u7ba1\u7406\u662f\u5728ALTQ\u7684\u5e2e\u52a9\u4e0b\u5b8c\u6210\u7684\u3002 \u4e0d\u5e78\u7684\u662f\uff0c\u53ea\u6709\u6240\u6709\u652f\u6301\u7684\u7f51\u5361\u7684\u4e00\u90e8\u5206\u80fd\u591f\u4f7f\u7528\u8fd9\u4e9b\u529f\u80fd\uff0c\u56e0\u4e3a\u5fc5\u987b\u6539\u53d8\u9a71\u52a8\u7a0b\u5e8f\u4ee5\u652f\u6301ALTQ\u7ba1\u7406\u3002 \u4ee5\u4e0b\u7f51\u5361\u53ef\u4ee5\u652f\u6301\uff1a<\/p>\n<blockquote class=\"epigraph\"><p><code class=\"docutils literal\">ae(4)<\/code>,\u00a0<code class=\"docutils literal\">age(4)<\/code>,\u00a0<code class=\"docutils literal\">alc(4)<\/code>,\u00a0<code class=\"docutils literal\">ale(4)<\/code>,\u00a0<code class=\"docutils literal\">an(4)<\/code>,\u00a0<code class=\"docutils literal\">aue(4)<\/code>,\u00a0<code class=\"docutils literal\">axe(4)<\/code>,\u00a0<code class=\"docutils literal\">bce(4)<\/code>,\u00a0<code class=\"docutils literal\">bfe(4)<\/code>,<\/p>\n<p><code class=\"docutils literal\">bge(4)<\/code>,<code class=\"docutils literal\">bridge(4)<\/code>,<code class=\"docutils literal\">cas(4)<\/code>,\u00a0<code class=\"docutils literal\">cpsw(4)<\/code>,\u00a0<code class=\"docutils literal\">cxl(4)<\/code>,\u00a0<code class=\"docutils literal\">dc(4)<\/code>,\u00a0<code class=\"docutils literal\">de(4)<\/code>,\u00a0<code class=\"docutils literal\">ed(4)<\/code>,\u00a0<code class=\"docutils literal\">em(4)<\/code>,<\/p>\n<p><code class=\"docutils literal\">ep(4)<\/code>,\u00a0<code class=\"docutils literal\">epair(4)<\/code>,<code class=\"docutils literal\">et(4)<\/code>,\u00a0<code class=\"docutils literal\">fxp(4)<\/code>,<code class=\"docutils literal\">gem(4)<\/code>,\u00a0<code class=\"docutils literal\">hme(4)<\/code>,\u00a0<code class=\"docutils literal\">hn(4)<\/code>,\u00a0<code class=\"docutils literal\">igb(4)<\/code>,\u00a0<code class=\"docutils literal\">ix(4)<\/code>,<\/p>\n<p><code class=\"docutils literal\">jme(4)<\/code>,\u00a0<code class=\"docutils literal\">l2tp(4)<\/code>,\u00a0<code class=\"docutils literal\">le(4)<\/code>,<code class=\"docutils literal\">lem(4)<\/code>,\u00a0<code class=\"docutils literal\">msk(4)<\/code>,\u00a0<code class=\"docutils literal\">mxge(4)<\/code>,<code class=\"docutils literal\">my(4)<\/code>,\u00a0<code class=\"docutils literal\">ndis(4)<\/code>,\u00a0<code class=\"docutils literal\">nfe(4)<\/code>,<\/p>\n<p><code class=\"docutils literal\">ng(4)<\/code>,\u00a0<code class=\"docutils literal\">nge(4)<\/code>,\u00a0<code class=\"docutils literal\">npe(4)<\/code>,\u00a0<code class=\"docutils literal\">nve(4)<\/code>,<code class=\"docutils literal\">ovpnc(4)<\/code>,\u00a0<code class=\"docutils literal\">ovpns(4)<\/code>,\u00a0<code class=\"docutils literal\">ppp(4)<\/code>,\u00a0<code class=\"docutils literal\">pppoe(4)<\/code>,<\/p>\n<p><code class=\"docutils literal\">pptp(4)<\/code>,\u00a0<code class=\"docutils literal\">re(4)<\/code>,\u00a0<code class=\"docutils literal\">rl(4)<\/code>,\u00a0<code class=\"docutils literal\">sf(4)<\/code>,\u00a0<code class=\"docutils literal\">sge(4)<\/code>,\u00a0<code class=\"docutils literal\">sis(4)<\/code>,<code class=\"docutils literal\">sk(4)<\/code>,\u00a0<code class=\"docutils literal\">ste(4)<\/code>,\u00a0<code class=\"docutils literal\">stge(4)<\/code>,<\/p>\n<p><code class=\"docutils literal\">ti(4)<\/code>,\u00a0<code class=\"docutils literal\">tun(4)<\/code>,<code class=\"docutils literal\">txp(4)<\/code>,\u00a0<code class=\"docutils literal\">udav(4)<\/code>,\u00a0<code class=\"docutils literal\">ural(4)<\/code>,\u00a0<code class=\"docutils literal\">vge(4)<\/code>,\u00a0<code class=\"docutils literal\">vlan(4)<\/code>,<\/p>\n<p><code class=\"docutils literal\">vmx(4)<\/code>,\u00a0<code class=\"docutils literal\">vr(4)<\/code>,\u00a0<code class=\"docutils literal\">vte(4)<\/code>,\u00a0<code class=\"docutils literal\">vtnet(4)<\/code>,\u00a0<code class=\"docutils literal\">xl(4)<\/code><\/p><\/blockquote>\n<p style=\"text-align: justify;\">\u9650\u5236\u5668\u4f7f\u7528\u4e0d\u540c\u7684\u540e\u7aef\u7cfb\u7edf\uff0c\u901a\u8fc7ipfw\u4e2d\u7684dummynet\u7ba1\u9053\u800c\u4e0d\u662f\u901a\u8fc7ALTQ\u8fdb\u884c\u64cd\u4f5c\u3002 \u56e0\u6b64\uff0c\u6240\u6709\u7f51\u5361\u90fd\u53ef\u4ee5\u7528\u4e8e\u9650\u5236\u5668\uff0c\u6ca1\u6709\u9650\u5236\u3002 \u5982\u679c\u9632\u706b\u5899\u5305\u542b\u4e0d\u652f\u6301ALTQ\u7684\u5361\uff0c\u5219\u53ef\u4ee5\u4f7f\u7528\u9650\u5236\u5668\u3002<\/p>\n<h1 style=\"text-align: justify;\">ALTQ\u8c03\u5ea6\u7a0b\u5e8f\u7c7b\u578b<\/h1>\n<p style=\"text-align: justify;\">pfSense\u5305\u542b\u51e0\u79cdALTQ\u8c03\u5ea6\u7a0b\u5e8f\u7c7b\u578b\u4ee5\u6db5\u76d6\u5927\u8303\u56f4\u7684\u6d41\u91cf\u7ba1\u7406\u573a\u666f\u3002\u5305\u62ec\uff1a<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\" colspan=\"2\">Priority Queuing (PRIQ):<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u7ba1\u7406\u8fde\u63a5\u7684\u4f18\u5148\u7ea7<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">Class-Based Queuing (CBQ):<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u652f\u6301\u961f\u5217\u4e4b\u95f4\u7684\u5e26\u5bbd\u5171\u4eab\u548c\u5e26\u5bbd\u9650\u5236<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">Hierarchical Fair Service Curve (HFSC):<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u652f\u6301\u5b9e\u65f6\u5e26\u5bbd\u4fdd\u8bc1\u4ee5\u53ca\u5d4c\u5957\u961f\u5217\u7684\u5206\u5c42\u6811<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">Controlled Delay (CoDel):<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u5c1d\u8bd5\u547d\u4e2d\u7f13\u51b2\u533a\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">Fair Queuing (FAIRQ):<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u5c1d\u8bd5\u5728\u6240\u6709\u8fde\u63a5\u4e4b\u95f4\u516c\u5e73\u5206\u914d\u5e26\u5bbd\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">PRIQ\uff0cCBQ\u548cHFSC\u53ef\u4ee5\u5728\u6d41\u91cf\u7ba1\u7406\u5411\u5bfc\u4e2d\u9009\u62e9\uff0c\u5411\u5bfc\u5c06\u663e\u793a\u9002\u5f53\u7684\u9009\u9879\u5e76\u6839\u636e\u6240\u9009\u7684ALTQ\u89c4\u5219\u521b\u5efa\u961f\u5217\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u6027\u80fd\u8b66\u544a<\/h2>\n<p style=\"text-align: justify;\">\u542f\u7528ALTQ\u6d41\u91cf\u7ba1\u7406\u4f1a\u7ed9\u786c\u4ef6\u5e26\u6765\u989d\u5916\u7684\u8d1f\u62c5\uff0c\u5e76\u4e14\u4f1a\u5bfc\u81f4\u6574\u4f53\u6f5c\u5728\u7684\u7f51\u7edc\u6027\u80fd\u635f\u5931\u3002 \u5728\u6709\u7a7a\u4f59\u529f\u7387\u7684\u7cfb\u7edf\u4e0a\uff0c\u8fd9\u53ef\u80fd\u4e0d\u660e\u663e\u3002 \u5728\u63a5\u8fd1\u89c4\u683c\u9650\u5236\u7684\u7cfb\u7edf\u4e0a\uff0c\u9632\u706b\u5899\u53ef\u80fd\u4f1a\u770b\u5230\u6027\u80fd\u660e\u663e\u4e0b\u964d\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u4f18\u5148\u961f\u5217\u00a0(PRIQ)<\/h2>\n<p style=\"text-align: justify;\">PRIQ\u662f\u914d\u7f6e\u548c\u7406\u89e3\u6700\u7b80\u5355\u7684\u5b66\u79d1\u4e4b\u4e00\u3002 \u961f\u5217\u90fd\u76f4\u63a5\u4f4d\u4e8e\u6839\u961f\u5217\u4e4b\u4e0b\uff0c\u6ca1\u6709\u7ed3\u6784\u5728PRIQ\u7684\u5176\u4ed6\u961f\u5217\u4e0b\u6709\u961f\u5217\uff0c\u5c31\u50cfHFSC\u548cCBQ\u4e00\u6837\u3002 \u5b83\u5e76\u4e0d\u5173\u5fc3\u63a5\u53e3\u7684\u5e26\u5bbd\uff0c\u53ea\u5173\u5fc3\u961f\u5217\u7684\u4f18\u5148\u7ea7\u3002 \u4f18\u5148\u7ea7\u7684\u503c\u4ece0\u523015\uff0c\u5e76\u4e14\u4f18\u5148\u7ea7\u6570\u8d8a\u9ad8\uff0c\u961f\u5217\u5904\u7406\u6570\u636e\u5305\u7684\u53ef\u80fd\u6027\u5c31\u8d8a\u5927\u3002<\/p>\n<p style=\"text-align: justify;\">PRIQ\u5bf9\u4e8e\u8f83\u5c11\u7684\u961f\u5217\u53ef\u80fd\u6bd4\u8f83\u82db\u523b\uff0c\u5f53\u8f83\u9ad8\u4f18\u5148\u7ea7\u7684\u961f\u5217\u9700\u8981\u5e26\u5bbd\u65f6\u4f1a\u4f7f\u5b83\u4eec\u9760\u8fb9\u3002 \u5728\u6781\u7aef\u60c5\u51b5\u4e0b\uff0c\u5982\u679c\u8f83\u9ad8\u4f18\u5148\u7ea7\u961f\u5217\u6b63\u5728\u5360\u7528\u6240\u6709\u53ef\u7528\u8d44\u6e90\uff0c\u5219\u8f83\u4f4e\u4f18\u5148\u7ea7\u961f\u5217\u6709\u53ef\u80fd\u5904\u7406\u5f88\u5c11\u6216\u4e0d\u5904\u7406\u6570\u636e\u5305\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u5206\u5c42\u516c\u5e73\u670d\u52a1\u66f2\u7ebf (HFSC)<\/h2>\n<p style=\"text-align: justify;\">HFSC\u7684\u6d41\u91cf\u8c03\u6574\u89c4\u5b9a\u975e\u5e38\u5f3a\u5927\u3002 \u5bf9\u4e8e\u8bf8\u5982VoIP\u548c\u89c6\u9891\u7b49\u670d\u52a1\u6765\u8bf4\uff0c\u63d0\u4f9b\u6700\u4f4e\u4fdd\u8bc1\u7684\u5e26\u5bbd\u91cf\u975e\u5e38\u6709\u7528\u3002<\/p>\n<p style=\"text-align: justify;\">HFSC\u4e2d\u7684\u961f\u5217\u6309\u5c42\u6b21\u7ed3\u6784\u6216\u6811\u6392\u5217\uff0c\u6bcf\u4e2a\u63a5\u53e3\u5177\u6709\u6839\u961f\u5217\uff0c\u4e0b\u9762\u53ef\u4ee5\u6709\u7236\u961f\u5217\u4ee5\u53ca\u5d4c\u5957\u5728\u7236\u961f\u5217\uff08\u7b49\u7b49\uff09\u4e4b\u4e0b\u7684\u5b50\u961f\u5217\u3002\u6bcf\u4e2a\u961f\u5217\u53ef\u4ee5\u6709\u4e00\u4e2a\u8bbe\u5b9a\u7684\u5e26\u5bbd\u548c\u76f8\u5173\u9009\u9879\u3002<\/p>\n<h3 style=\"text-align: justify;\">HFSC-\u7279\u5b9a\u7684\u961f\u5217\u9009\u9879<\/h3>\n<p style=\"text-align: justify;\">HFSC\u652f\u6301\u4e00\u4e9b\u5176\u4ed6\u6d41\u91cf\u7ba1\u7406\u6280\u672f\u4e0d\u652f\u6301\u7684\u961f\u5217\u9009\u9879\u3002\u901a\u8fc7\u8fd9\u4e9b\u9009\u9879\uff0c\u5b83\u53ef\u4ee5\u5b9e\u73b0\u6709\u4fdd\u8bc1\u7684\u5b9e\u65f6\u5904\u7406\u548c\u94fe\u63a5\u5171\u4eab\u3002<\/p>\n<p style=\"text-align: justify;\">\u670d\u52a1\u66f2\u7ebf\uff08sc\uff09\u662f\u8c03\u6574\u8be5\u961f\u5217\u5e26\u5bbd\u9700\u6c42\u7684\u5730\u65b9\u3002<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">m1:<\/th>\n<td class=\"field-body\">\u7a81\u53d1\u5e26\u5bbd\u9650\u5236<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">d:<\/th>\n<td class=\"field-body\">\u7a81\u53d1\u5e26\u5bbd\u7684\u65f6\u95f4\u9650\u5236\uff0c\u4ee5\u6beb\u79d2\u4e3a\u5355\u4f4d\u6307\u5b9a\u3002 \uff08\u4f8b\u59821000 = 1\u79d2\uff09<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">m2:<\/th>\n<td class=\"field-body\">\u6b63\u5e38\u5e26\u5bbd\u9650\u5236<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">\u4f8b\u5982\uff0c\u8fde\u63a5\u5728d\u65f6\u95f4\u5185\u9700\u8981m1\u5e26\u5bbd\uff0c\u4f46\u6b63\u5e38\u6700\u5927\u503c\u4e3am2\u3002 \u5728\u7531d\u8bbe\u7f6e\u7684\u521d\u59cb\u65f6\u95f4\u5185\uff0cm2\u4e0d\u88ab\u68c0\u67e5\uff0c\u53ea\u6709m1\u3002 \u5728d\u8fc7\u671f\u540e\uff0c\u5982\u679c\u6d41\u91cf\u4ecd\u7136\u9ad8\u4e8em2\uff0c\u5b83\u5c06\u88ab\u8fdb\u884c\u9650\u5236\u3002 \u6700\u5e38\u89c1\u7684\u662f\uff0cm1\u548cd\u4fdd\u7559\u7a7a\u767d\uff0c\u4ee5\u4fbf\u53ea\u68c0\u67e5m2\u3002<\/p>\n<p style=\"text-align: justify;\">\u6bcf\u4e2a\u503c\u90fd\u53ef\u4ee5\u8bbe\u7f6e\u4e3a\u4ee5\u4e0b\u7528\u9014\uff1a<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">Upper Limit:<\/th>\n<td class=\"field-body\">\u961f\u5217\u5141\u8bb8\u7684\u6700\u5927\u5e26\u5bbd\u3002\u5c06\u505a\u5f3a\u5236\u5e26\u5bbd\u9650\u5236\u3002\u8fd9\u91cc\u7684m1\u53c2\u6570\u4e5f\u53ef\u4ee5\u7528\u6765\u9650\u5236\u7a81\u53d1\u3002\u5728\u65f6\u95f4d\u4e2d\uff0c\u8fde\u63a5\u4e0d\u4f1a\u8d85\u8fc7m1\u5e26\u5bbd\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">Real Time:<\/th>\n<td class=\"field-body\">\u961f\u5217\u7684\u6700\u5c0f\u5e26\u5bbd\u4fdd\u8bc1\u3002 \u8fd9\u53ea\u5bf9\u5b50\u961f\u5217\u6709\u6548\u3002 m1\u53c2\u6570\u5c06\u5728\u65f6\u95f4\u6846\u67b6d\u4e2d\u59cb\u7ec8\u5f97\u5230\u6ee1\u8db3\uff0cm2\u662f\u8be5\u89c4\u5219\u5141\u8bb8\u4f7f\u7528\u7684\u6700\u5927\u503c\u3002 \u6ce8\u610fm2\u7684\u503c\u4e0d\u80fd\u8d85\u8fc7\u7236\u961f\u5217\u53ef\u7528\u5e26\u5bbd\u768430\uff05\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">Link Share:<\/th>\n<td class=\"field-body\">\u79ef\u538b\u961f\u5217\u7684\u5e26\u5bbd\u4efd\u989d\u3002 \u5982\u679c\u5b9e\u65f6\u4fdd\u8bc1\u5f97\u5230\u6ee1\u8db3\uff0c\u5c06\u5728\u5404\u4e2a\u7c7b\u522b\u4e4b\u95f4\u5171\u4eab\u5e26\u5bbd\u3002Link Share\uff08\u94fe\u63a5\u5171\u4eab\uff09\u7684m2\u503c\u5c06\u8986\u76d6\u961f\u5217\u7684\u5e26\u5bbd\u8bbe\u7f6e\u3002 \u8fd9\u4e24\u4e2a\u8bbe\u7f6e\u76f8\u540c\uff0c\u4f46\u5982\u679c\u4e24\u8005\u5747\u8bbe\u7f6e\uff0c\u5219\u4f7f\u7528Link Share\u4e2d\u7684m2\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">\u901a\u8fc7\u7efc\u5408\u8fd9\u4e9b\u56e0\u7d20\uff0c\u961f\u5217\u5c06\u83b7\u5f97\u7531\u5b9e\u65f6\u56e0\u7d20\u6307\u5b9a\u7684\u5e26\u5bbd\uff0c\u4ee5\u53ca\u6765\u81ea\u94fe\u8def\u5171\u4eab\u7684\u5e26\u5bbd\uff0c\u6700\u9ad8\u4e3a\u4e0a\u9650\u3002 \u5b83\u53ef\u80fd\u9700\u8981\u8fdb\u884c\u5927\u91cf\u7684\u8bd5\u9a8c\u6765\u4e0d\u65ad\u8fdb\u884c\u4fee\u6b63\u548c\u4f18\u5316\uff0c\u4e5f\u8bb8\u9700\u8981\u5927\u91cf\u7684\u7b97\u672f\u8ba1\u7b97\uff0c\u4f46\u53ef\u4ee5\u786e\u4fdd\u7f51\u7edc\u6d41\u91cf\u5f97\u5230\u9002\u5f53\u7ba1\u7406\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u57fa\u4e8e\u7c7b\u7684\u6392\u961f\u00a0(CBQ)<\/h2>\n<p style=\"text-align: justify;\">\u57fa\u4e8e\u7c7b\u7684\u961f\u5217\u6216CBQ\u7c7b\u4f3c\u4e8eHFSC\uff0c\u56e0\u4e3a\u53ef\u4ee5\u5728\u5176\u4ed6\u961f\u5217\u4e0b\u5d4c\u5957\u4e00\u4e2a\u961f\u5217\u6811\u3002 \u5b83\u652f\u6301\u5e26\u5bbd\u9650\u5236\uff08\u4e0d\u80fd\u50cfHFSC\u8fd9\u6837\u5f97\u5230\u4fdd\u8bc1\uff09\uff0c\u961f\u5217\u7684\u4f18\u5148\u7ea7\uff0c\u5e76\u4e14\u5b83\u6709\u80fd\u529b\u5141\u8bb8\u961f\u5217\u4ece\u7236\u8282\u70b9\u501f\u7528\u5e26\u5bbd\u3002 \u7531\u4e8e\u961f\u5217\u914d\u7f6e\u66f4\u7b80\u5355\uff0c\u5b83\u53ef\u4ee5\u6210\u4e3aHFSC\u4e4b\u5916\u7684\u4e00\u4e2a\u5f88\u597d\u7684\u9009\u62e9\uff0c\u7279\u522b\u662f\u9632\u706b\u5899\u4e0d\u9700\u8981\u4fdd\u8bc1\u6700\u5c0f\u5e26\u5bbd\u3002<\/p>\n<p style=\"text-align: justify;\">\u901a\u8fc7CBQ\uff0c\u961f\u5217\u4f18\u5148\u7ea7\u4ece0\u52307\uff0c\u8f83\u9ad8\u7684\u6570\u5b57\u8868\u793a\u8f83\u9ad8\u7684\u4f18\u5148\u7ea7\u3002\u4ee5\u5faa\u73af\u65b9\u5f0f\u5904\u7406\u540c\u7b49\u4f18\u5148\u7ea7\u7684\u961f\u5217\u3002<\/p>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u63d0\u793a\uff1a\u5c3d\u7ba1\u5b50\u961f\u5217\u53ef\u4ee5\u4ece\u5176\u7236\u961f\u5217\u501f\u7528\u5e26\u5bbd\uff0c\u4f46\u5b50\u961f\u5217\u7684\u5e26\u5bbd\u603b\u548c\u4e0d\u80fd\u8d85\u8fc7\u7236\u961f\u5217\u7684\u5e26\u5bbd\u3002\u56e0\u6b64\uff0c\u5bf9\u4e8e\u4e2a\u4eba\uff08\u4f8b\u5982\uff0c\u6bcfIP\u5730\u5740\uff09\u5e26\u5bbd\u9650\u5236\uff0cCBQ\u4e0d\u662f\u9650\u5236\u5668\u7684\u66ff\u4ee3\u65b9\u6848\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u7279\u5b9a\u4e8eCBQ\u7684\u961f\u5217\u9009\u9879<\/h3>\n<p style=\"text-align: justify;\">CBQ\u89c4\u5219\u652f\u6301\u501f\u7528\u7684\u6982\u5ff5\uff0c\u8fd9\u610f\u5473\u7740\u5982\u679c\u542f\u7528\u4e86\u4ece\u961f\u5217\u4e2d\u53ef\u7528\u7684\u5176\u4ed6\u961f\u5217\u5e26\u5bbd\u7684\u590d\u9009\u6846\uff0c\u5219\u961f\u5217\u5c06\u80fd\u591f\u4ece\u5176\u7236\u961f\u5217\u4e2d\u501f\u7528\u5176\u4ed6\u53ef\u7528\u5e26\u5bbd\u3002 \u8fd9\u5c06\u5141\u8bb8\u5b50\u961f\u5217\u83b7\u5f97\u6700\u5927\u5e26\u5bbd\uff0c\u5982\u679c\u53ef\u7528\u7684\u8bdd\uff0c\u5b83\u4e0d\u4f1a\u4ece\u5176\u4ed6\u7236\u961f\u5217\u4e2d\u518d\u501f\u7528\u3002<\/p>\n<h2 style=\"text-align: justify;\">CoDel\u4e3b\u52a8\u961f\u5217\u7ba1\u7406<\/h2>\n<p style=\"text-align: justify;\">CoDel\u4e3b\u52a8\u961f\u5217\u7ba1\u7406\uff08AQM\uff09\u89c4\u5219\u662fControlled Delay\u7684\u7f29\u5199\uff0c\u5e76\u4e14\u53d1\u97f3\u4e3a\u201c<strong>coddle<\/strong>\u201d\u3002 \u5b83\u65e8\u5728\u89e3\u51b3\u4e0e\u7f51\u7edc\u57fa\u7840\u67b6\u6784\u4e2d\u7684\u7f13\u51b2\u533a\u6ea2\u51fa\u76f8\u5173\u7684\u95ee\u9898\u3002\u00a0 \u7b80\u800c\u8a00\u4e4b\uff0c\u7531\u4e8e\u7f51\u7edc\u8bbe\u5907\u4e2d\u7f13\u51b2\u533a\u7684\u5927\u5c0f\uff0c\u6d41\u91cf\u53ef\u80fd\u4f1a\u5806\u79ef\u5982\u5c71\uff0c\u800c\u4e0d\u662f\u901a\u7545\u7684\u6d41\u52a8\u3002 \u901a\u8fc7\u63a7\u5236\u6d41\u91cf\u7684\u5ef6\u8fdf\uff0c\u53ef\u4ee5\u51cf\u5c11\u8fd9\u79cd\u5f71\u54cd\u3002<\/p>\n<p style=\"text-align: justify;\">CoDel\u6ca1\u6709\u7279\u5b9a\u7684\u914d\u7f6e\u63a7\u5236\u6216\u9009\u9879\u3002 \u6fc0\u6d3b\u961f\u5217\u540e\uff0c\u5b83\u5c06\u81ea\u52a8\u5c1d\u8bd5\u7ba1\u7406\u6d41\u91cf\u3002 \u5b83\u8bd5\u56fe\u4fdd\u6301\u4f4e\u6d41\u91cf\u5ef6\u8fdf\uff0c\u4f46\u5141\u8bb8\u7a81\u53d1\uff0c\u5b83\u63a7\u5236\u5ef6\u8fdf\uff0c\u4f46\u4e0d\u5173\u6ce8\u5f80\u8fd4\u5ef6\u8fdf\uff0c\u8d1f\u8f7d\u6216\u94fe\u8def\u901f\u5ea6\uff0c\u5e76\u4e14\u5b83\u53ef\u4ee5\u5728\u94fe\u8def\u901f\u5ea6\u6539\u53d8\u65f6\u81ea\u52a8\u8c03\u6574\u3002<\/p>\n<p style=\"text-align: justify;\">CoDel\u7684\u76ee\u6807\u662f\u4e2d\u7ea7\u7f51\u7edc\u3002\u5b83\u5728\u4f4e\u5e26\u5bbd\uff081Mbit \/ s\u6216\u66f4\u4f4e\uff09\u4e0b\u65e0\u6cd5\u6b63\u5e38\u5de5\u4f5c\uff0c\u5e76\u4e14\u4e0d\u80fd\u6b63\u5e38\u5904\u7406\u5927\u91cf\u540c\u65f6\u53d1\u751f\u7684\u6d41\u91cf\u6216\u6570\u636e\u4e2d\u5fc3\u7ea7\u6d41\u91cf\u8d1f\u8f7d\u3002<\/p>\n<p style=\"text-align: justify;\">CoDel\u4e0d\u80fd\u4f7f\u7528\u5411\u5bfc\u8fdb\u884c\u914d\u7f6e\uff0c\u4f46\u5b83\u4e0d\u9700\u8981\u590d\u6742\u7684\u8bbe\u7f6e\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u5230\u9632\u706b\u5899&gt;\u6d41\u91cf\u7ba1\u7406\uff0c\u63a5\u53e3\u9009\u9879\u5361<\/li>\n<li>\u9009\u62e9\u4e00\u4e2a\u63a5\u53e3 (\u5982\u00a0WAN)<\/li>\n<li>\u5c06\u8ba1\u5212\u7a0b\u5e8f\u7c7b\u578b\u8bbe\u7f6e\u4e3aCODEL<\/li>\n<li>\u4e3a\u5e26\u5bbd\u8bbe\u7f6e\u9002\u5f53\u7684\u503c<\/li>\n<li>\u5355\u51fb\u4fdd\u5b58<\/li>\n<li>\u6839\u636e\u9700\u8981\u91cd\u590d\u6240\u6709\u5176\u4ed6\u6d3b\u52a8\u7684WAN\u7c7b\u578b\u63a5\u53e3<\/li>\n<\/ul>\n<h2 style=\"text-align: justify;\">\u516c\u5e73\u6392\u961f (FAIRQ)<\/h2>\n<p style=\"text-align: justify;\">\u5728FAIRQ\u4e2d\uff0c\u961f\u5217\u4ece\u6700\u9ad8\u4f18\u5148\u7ea7\u5230\u6700\u4f4e\u4f18\u5148\u7ea7\u8fdb\u884c\u76d1\u63a7\uff0c\u4f46\u8c03\u5ea6\u5668\u8bd5\u56fe\u516c\u5e73\u5206\u914d\u6240\u6709\u8fde\u63a5\u4e4b\u95f4\u7684\u5e26\u5bbd\u3002<\/p>\n<p style=\"text-align: justify;\">\u5f53\u6ca1\u6709\u5e26\u5bbd\u7ade\u4e89\u65f6\uff0cFAIRQ\u5c06\u53d1\u9001\u6240\u6709\u7b49\u5f85\u7684\u6570\u636e\u5305\u3002 \u5f53\u5b58\u5728\u4e89\u7528\u5e26\u5bbd\u65f6\uff0cFAIRQ\u5c06\u5f00\u59cb\u5bfb\u627e\u6ca1\u6709\u8d85\u51fa\u5176\u9650\u5236\u7684\u961f\u5217\uff0c\u5148\u4ece\u9ad8\u4f18\u5148\u7ea7\u961f\u5217\u5f00\u59cb\uff0c\u7136\u540e\u5411\u8f83\u4f4e\u4f18\u5148\u7ea7\u961f\u5217\u5bfb\u627e\u3002 \u5b8c\u5168\u9ad8\u4f18\u5148\u7ea7\u961f\u5217\u4e2d\u7684\u6570\u636e\u5305\u5728\u6765\u81ea\u672a\u6ee1\u7684\u4f4e\u4f18\u5148\u7ea7\u961f\u5217\u7684\u6570\u636e\u5305\u4e4b\u540e\u8fdb\u884c\u5904\u7406\u3002 \u5982\u679c\u6240\u6709\u961f\u5217\u90fd\u5df2\u6ee1\uff0cFAIRQ\u5c06\u4ece\u6700\u9ad8\u4f18\u5148\u7ea7\u961f\u5217\u53d1\u9001\u4e00\u4e2a\u6570\u636e\u5305\u3002<\/p>\n<p style=\"text-align: justify;\">FAIRQ\u5141\u8bb8\u8fde\u63a5\u8d85\u51fa\u961f\u5217\u5e26\u5bbd\uff0c\u4f46\u5c06\u4fdd\u6301\u5e73\u5747\u6d88\u8017\u7b49\u4e8e\u5b9a\u4e49\u7684\u961f\u5217\u5e26\u5bbd\u3002<\/p>\n<p style=\"text-align: justify;\">\u6d41\u91cf\u7ba1\u7406\u5411\u5bfc\u5f53\u524d\u4e0d\u652f\u6301FAIRQ\uff0c\u5b83\u9700\u8981\u624b\u52a8\u914d\u7f6e\u3002<\/p>\n<h1 style=\"text-align: justify;\">\u4f7f\u7528\u5411\u5bfc\u914d\u7f6eALTQ\u6d41\u91cf\u7ba1\u7406<\/h1>\n<p style=\"text-align: justify;\">\u6211\u4eec\u5efa\u8bae\u9996\u6b21\u4f7f\u7528\u65f6\uff0c\u7528\u5411\u5bfc\u914d\u7f6e\u6d41\u91cf\u7ba1\u7406\uff0c\u8be5\u5411\u5bfc\u5c06\u5f15\u5bfc\u7ba1\u7406\u5458\u5b8c\u6210\u6d41\u91cf\u7ba1\u7406\u914d\u7f6e\u8fc7\u7a0b\u3002<\/p>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u63d0\u793a\uff1a\u7531\u4e8e\u6d41\u91cf\u7ba1\u7406\u961f\u5217\u548c\u89c4\u5219\u7684\u590d\u6742\u6027\uff0c\u4ece\u5934\u5f00\u59cb\u662f\u975e\u5e38\u590d\u6742\u7684\u3002\u5982\u679c\u9632\u706b\u5899\u9700\u8981\u81ea\u5b9a\u4e49\u89c4\u5219\uff0c\u8bf7\u9010\u6b65\u5b8c\u6210\u5411\u5bfc\u5e76\u63a5\u8fd1\u8981\u6c42\uff0c\u7136\u540e\u5236\u5b9a\u81ea\u5b9a\u4e49\u89c4\u5219\u3002<\/p>\n<p style=\"text-align: justify;\">\u5411\u5bfc\u7684\u6bcf\u4e00\u6b65\u90fd\u4f1a\u8bbe\u7f6e\u72ec\u7279\u7684\u961f\u5217\u548c\u89c4\u5219\uff0c\u4ee5\u63a7\u5236\u5c06\u4ec0\u4e48\u6d41\u91cf\u5206\u914d\u5230\u8fd9\u4e9b\u961f\u5217\u4e2d\u3002 \u8981\u624b\u52a8\u914d\u7f6e\u6240\u6709\u5185\u5bb9\uff0c\u8bf7\u5728\u7b2c\u4e00\u4e2a\u9875\u9762\u4e0a\u6307\u5b9aWAN\u901f\u5ea6\uff0c\u7136\u540e\u5728\u5269\u4e0b\u7684\u6240\u6709\u6b65\u9aa4\u4e2d\u5355\u51fb\u4e0b\u4e00\u6b65\u3002 \u5411\u5bfc\u8981\u6c42\u81f3\u5c11\u5728\u4e00\u4e2a\u6b65\u9aa4\u4e2d\u542f\u7528\u9009\u9879\uff0c\u4f46\u54ea\u4e00\u6b65\u6ca1\u6709\u5173\u7cfb\u3002<\/p>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u6ce8\u610f\uff1a\u5b8c\u6210\u8be5\u5411\u5bfc\u5e76\u5728\u6700\u540e\u5355\u51fb\u5b8c\u6210\u5c06\u4f7f\u7528\u5411\u5bfc\u521b\u5efa\u7684\u6240\u6709\u73b0\u6709\u6d41\u91cf\u7ba1\u7406\u961f\u5217\u548c\u6d6e\u52a8\u89c4\u5219\uff08\u5305\u62ec\u4ece\u5411\u5bfc\u89c4\u5219\u514b\u9686\u7684\u89c4\u5219\uff09\uff0c\u4ee5\u53ca\u65b0\u5411\u5bfc\u914d\u7f6e\u4e2d\u7684\u961f\u5217\u548c\u89c4\u5219\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u9009\u62e9\u5411\u5bfc<\/h2>\n<p style=\"text-align: justify;\">\u8981\u5f00\u59cb\u4f7f\u7528\u6d41\u91cf\u7ba1\u7406\u5411\u5bfc\uff0c\u8bf7\u5bfc\u822a\u5230\u9632\u706b\u5899&gt;\u6d41\u91cf\u7ba1\u7406\u5e76\u5355\u51fb\u5411\u5bfc\u9009\u9879\u5361\u3002\u6b64\u9875\u9762\u663e\u793a\u53ef\u7528\u6d41\u91cf\u7ba1\u7406\u5411\u5bfc\u7684\u5217\u8868\uff0c\u5176\u4e2d\u5305\u62ec\uff1a<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\" colspan=\"2\">Multiple LAN\/WAN:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u5f53\u9632\u706b\u5899\u6709\u4e00\u4e2a\u6216\u591a\u4e2aWAN\u548c\u4e00\u4e2a\u6216\u591a\u4e2aLAN\u65f6\u4f7f\u7528\u3002\u8fd9\u662f\u6700\u5e38\u89c1\u7684\u5411\u5bfc\uff0c\u6db5\u76d6\u4e86\u5927\u591a\u6570\u60c5\u51b5\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">Dedicated Links:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u5728\u6d41\u91cf\u7ba1\u7406\u914d\u7f6e\u4e2d\u5e94\u8003\u8651\u7279\u5b9a\u7684LAN + WAN\u914d\u5bf9\u65f6\u4f7f\u7528\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 style=\"text-align: justify;\">\u542f\u52a8\u5411\u5bfc<\/h2>\n<p style=\"text-align: justify;\">\u6bcf\u4e2a\u5411\u5bfc\u540d\u79f0\u540e\u9762\u8ddf\u7740\u5411\u5bfc\u7684\u6587\u4ef6\u540d\uff0c\u8fd9\u662f\u4e00\u4e2a\u94fe\u63a5\u3002\u70b9\u51fb\u94fe\u63a5\u542f\u52a8\u5411\u5bfc\u3002\u8fd9\u4e2a\u4f8b\u5b50\u4f7f\u7528\u591aLAN \/ WAN\u5411\u5bfc\uff0c\u6240\u4ee5\u70b9\u51fb\u00a0<code class=\"docutils literal\"><span class=\"pre\">traffic_shaper_wizard_multi_all.xml<\/span><\/code>\u3002<\/p>\n<p style=\"text-align: justify;\">\u63a5\u4e0b\u6765\uff0c\u5411\u5bfc\u542f\u52a8\uff0c\u7b2c\u4e00\u6b65\u63d0\u793a\u9632\u706b\u5899\u4e0a\u7684WAN\u548cLAN\u7c7b\u578b\u8fde\u63a5\u7684\u6570\u91cf\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u8f93\u5165\u9632\u706b\u5899\u4e0aWAN\u7c7b\u578b\u8fde\u63a5\u7684\u6570\u91cf\u3002\u8fd9\u4e9b\u662f\u4e0e\u63a5\u53e3\u4e0a\u914d\u7f6e\u7684\u7f51\u5173\u7684\u8fde\u63a5\uff0c\u6216\u52a8\u6001WAN\u7c7b\u578b\u63a5\u53e3\uff08\u5982DHCP\u6216PPPoE\uff09<\/li>\n<li>\u8f93\u5165LAN\u7c7b\u578b\u8fde\u63a5\u7684\u6570\u91cf\u3002\u8fd9\u4e9b\u662f\u63a5\u53e3\u4e0a\u6ca1\u6709\u7f51\u5173\u7684\u672c\u5730\u7f51\u7edc\u63a5\u53e3<\/li>\n<li>\u5355\u51fb\u4e0b\u4e00\u6b65\u7ee7\u7eed<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u9632\u706b\u5899\u53ea\u6709\u4e00\u4e2aWAN\u548c\u4e00\u4e2aLAN\u63a5\u53e3\u3002<\/p>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1862\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard01.png\" alt=\"\" width=\"851\" height=\"228\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard01.png 851w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard01-300x80.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard01-768x206.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard01-500x134.png 500w\" sizes=\"auto, (max-width: 851px) 100vw, 851px\" \/><\/p>\n<h2 style=\"text-align: justify;\">\u7f51\u7edc\u548c\u901f\u5ea6<\/h2>\n<p style=\"text-align: justify;\">\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u6b64\u6b65\u9aa4\u5b9a\u4e49\u4e86\u4ece\u6d41\u91cf\u7ba1\u7406\u89d2\u5ea6\u6765\u770b\u5185\u5916\u7f51\u7edc\u63a5\u53e3\u4ee5\u53ca\u7ed9\u5b9aWAN\u7684\u4e0b\u8f7d\u548c\u4e0a\u4f20\u901f\u5ea6\u3002\u5f53\u9632\u706b\u5899\u5177\u6709\u591a\u4e2a\u7ed9\u5b9a\u7c7b\u578b\u7684\u63a5\u53e3\u65f6\uff0c\u8be5\u5411\u5bfc\u4f1a\u5728\u9875\u9762\u4e0a\u663e\u793a\u591a\u4e2a\u90e8\u5206\u4ee5\u5206\u522b\u5904\u7406\u6bcf\u4e2a\u90e8\u5206\u3002<\/p>\n<p style=\"text-align: justify;\">\u9664\u4e86\u63a5\u53e3\u53ca\u5176\u901f\u5ea6\u4e4b\u5916\uff0c\u8fd8\u9700\u4e3a\u5e7f\u57df\u7f51\u548c\u5c40\u57df\u7f51\u9009\u62e9\u4e00\u4e2aALTQ\u8c03\u5ea6\u7a0b\u5e8f\uff08ALTQ\u8c03\u5ea6\u7a0b\u5e8f\u7c7b\u578b\uff09\u3002\u5728\u6bcf\u4e2a\u63a5\u53e3\u4e0a\u4f7f\u7528\u76f8\u540c\u7684\u8c03\u5ea6\u7a0b\u5e8f\u3002<\/p>\n<p style=\"text-align: justify;\">\u6839\u636e\u8fde\u63a5\u7c7b\u578b\u7684\u4e0d\u540c\uff0c\u771f\u5b9e\u7684\u94fe\u63a5\u901f\u5ea6\u53ef\u80fd\u4e0d\u662f\u5b9e\u9645\u7684\u53ef\u7528\u901f\u5ea6\u3002\u5728PPPoE\u7684\u60c5\u51b5\u4e0b\uff0c\u8be5\u7ebf\u8def\u4e0d\u4ec5\u5177\u6709PPPoE\u5f00\u9500\uff0c\u800c\u4e14\u8fd8\u5177\u6709\u5728\u5927\u591a\u6570PPPoE\u90e8\u7f72\u4e2d\u4f7f\u7528\u7684\u5e95\u5c42ATM\u7f51\u7edc\u94fe\u8def\u7684\u5f00\u9500\u3002\u901a\u8fc7\u4e00\u4e9b\u8ba1\u7b97\uff0c\u5728\u6765\u81eaATM\uff0cPPPoE\uff0cIP\u548cTCP\u7684\u5f00\u9500\u4e4b\u95f4\uff0c\u7ebf\u8def\u53ef\u80fd\u4f1a\u635f\u5931\u63d0\u4f9b\u5546\u7b7e\u7ea6\u94fe\u8def\u901f\u5ea6\u768413\uff05\u3002\u5982\u679c\u4e0d\u786e\u5b9a\u5982\u4f55\u8bbe\u5b9a\u901f\u5ea6\uff0c\u8bf7\u4f7f\u7528\u4fdd\u5b88\u8bbe\u7f6e\u3002\u51cf\u5c1110-13\uff05\uff0c\u5e76\u5c06\u5176\u6062\u590d\u5230\u66f4\u5927\u7684\u503c\u3002\u5982\u679c\u9632\u706b\u5899\u67093Mbit \/ s\u7ebf\u8def\uff0c\u8bf7\u5c06\u5176\u8bbe\u7f6e\u4e3a\u5927\u7ea62.7 Mbit \/ s\uff0c\u7136\u540e\u8fdb\u884c\u6d4b\u8bd5\u3002\u4ea7\u751f\u7684\u7236\u961f\u5217\u4e0a\u7684\u901f\u5ea6\u53ef\u4ee5\u7a0d\u540e\u7f16\u8f91\u4ee5\u8c03\u6574\u5e26\u5bbd\u3002\u5982\u679c\u6570\u503c\u8f83\u4f4e\uff0c\u5219\u8fde\u63a5\u5c06\u6309\u7167\u786e\u5b9a\u7684\u901f\u5ea6\u6700\u5927\u5316\u3002\u5c06\u5b83\u7a0d\u5fae\u63d0\u9ad8\u4e00\u70b9\uff0c\u76f4\u5230\u9632\u706b\u5899\u4e0d\u518d\u770b\u5230\u4efb\u4f55\u6027\u80fd\u63d0\u5347\u3002<\/p>\n<p style=\"text-align: justify;\">\u63a5\u53e3\u901f\u5ea6\u53ef\u4ee5\u6307\u5b9a\u4e3aKbit \/ s\uff0cMbit \/ s\u6216Gbit \/ s\uff0c\u4f46\u5728\u6bcf\u4e2a\u9875\u9762\u4e0a\u5e94\u4f7f\u7528\u76f8\u540c\u7684\u5355\u4f4d\u3002<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u4e3a\u6bcf\u4e2aLAN\u7c7b\u578b\u63a5\u53e3\uff08\u4f8b\u5982LAN\uff0cPRIQ\uff09\u9009\u62e9\u4e00\u4e2a\u63a5\u53e3\u548c\u8c03\u5ea6\u7a0b\u5e8f<\/li>\n<li>\u4e3a\u6bcf\u4e2aWAN\u7c7b\u578b\u63a5\u53e3\uff08\u4f8b\u5982WAN\uff0cPRIQ\uff09\u9009\u62e9\u4e00\u4e2a\u63a5\u53e3\u548c\u8c03\u5ea6\u7a0b\u5e8f<\/li>\n<li>\u5b9a\u4e49\u6bcf\u4e2aWAN\u7c7b\u578b\u63a5\u53e3\u7684\u4e0a\u4f20\u901f\u5ea6\u548c\u5355\u4f4d\uff08\u4f8b\u59821 Mbit \/ s\uff09<\/li>\n<li>\u4e3a\u6bcf\u4e2aWAN\u7c7b\u578b\u63a5\u53e3\u5b9a\u4e49\u4e0b\u8f7d\u901f\u5ea6\u548c\u5355\u4f4d\uff08\u4f8b\u598210 Mbit \/ s\uff09<\/li>\n<li>\u5355\u51fb\u4e0b\u4e00\u6b65\u7ee7\u7eed<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1861\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard02.png\" alt=\"\" width=\"660\" height=\"462\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard02.png 660w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard02-300x210.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard02-429x300.png 429w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/p>\n<h2 style=\"text-align: justify;\">IP\u8bed\u97f3<\/h2>\n<p style=\"text-align: justify;\">\u8be5\u5411\u5bfc\u5305\u542b\u51e0\u4e2a\u7528\u4e8e\u5904\u7406VoIP\u547c\u53eb\u6d41\u91cf\u7684\u9009\u9879\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002 \u4f18\u5148\u8003\u8651IP\u8bed\u97f3\u6d41\u91cf\u5efa\u7acb\u961f\u5217\u548c\u89c4\u5219\uff0c\u4f18\u5148\u8003\u8651VoIP\u547c\u53eb\u548c\u76f8\u5173\u6d41\u91cf\u3002 \u53ef\u4ee5\u901a\u8fc7\u5411\u5bfc\u7684\u5176\u4ed6\u8bbe\u7f6e\u8fdb\u884c\u5fae\u8c03\u3002<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">Enable:<\/th>\n<td class=\"field-body\">\n<p class=\"first\">\u5728\u6b64\u6b65\u9aa4\u4e2d\u542f\u7528VoIP\u8bbe\u7f6e\u7684\u590d\u9009\u6846\u3002\u672a\u9009\u4e2d\u65f6\uff0c\u9009\u9879\u88ab\u7981\u7528\uff0c\u5411\u5bfc\u4e0d\u4f1a\u6dfb\u52a0\u8fd9\u4e9b\u961f\u5217\u548c\u89c4\u5219\u3002<\/p>\n<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">Provider:<\/th>\n<td class=\"field-body\">\n<p class=\"first\">\u6709\u51e0\u4e2a\u77e5\u540d\u4f9b\u5e94\u5546\uff0c\u5305\u62ecVonage\uff0cVoicepulse\uff0cPanasonicTDA\u548cAsterisk\u670d\u52a1\u5668\u3002\u5982\u679c\u6b64\u7ad9\u70b9\u7684VoIP\u63d0\u4f9b\u5546\u4e0d\u5728\u5217\u8868\u4e2d\uff0c\u8bf7\u9009\u62e9\u201cgeneric(\u901a\u7528)\u201d\u3002\u8be5\u9009\u62e9\u57fa\u4e8e\u5df2\u77e5\u7531\u8fd9\u4e9b\u63d0\u4f9b\u8005\u4f7f\u7528\u7684\u7aef\u53e3\u548c\u534f\u8bae\u6765\u8bbe\u7f6e\u89c4\u5219\uff0c\u800c\u4e0d\u662f\u6309\u5730\u5740\u8fdb\u884c\u5339\u914d\u3002<\/p>\n<p class=\"first admonition-title\">\u63d0\u793a\uff1a\u6b64\u9009\u9879\u57fa\u4e8eSIP\u548cRTP\u7aef\u53e3\u7b49\u8fdb\u884c\u5339\u914d\uff0c\u56e0\u6b64\u5982\u679c\u5b83\u4eec\u4f7f\u7528\u4e0e\u9009\u5b9a\u670d\u52a1\u76f8\u540c\u7684\u7aef\u53e3\uff0c\u5219\u5b83\u53ef\u4ee5\u5339\u914d\u6765\u81ea\u5176\u4ed6\u6765\u6e90\u7684\u6d41\u91cf\u3002<\/p>\n<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">Upstream SIP Server:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\n<p class=\"first\">\u4e0a\u6e38PBX\u6216SIP\u4e2d\u7ee7\u7684IP\uff0c\u6216\u5305\u542bSIP\u4e2d\u7ee7\u7684IP\u5730\u5740\u6216\u7f51\u7edc\u7684\u522b\u540d\u3002\u8bbe\u7f6e\u540e\uff0c\u5c06\u8986\u76d6\u63d0\u4f9b\u7a0b\u5e8f\u5b57\u6bb5\uff0c\u5e76\u5c06\u6839\u636e\u8fd9\u4e9b\u5730\u5740\u5339\u914d\u6d41\u91cf\u3002<\/p>\n<p class=\"first admonition-title\">\u63d0\u793a\uff1a\u8be5\u9009\u62e9\u5339\u914d\u6240\u6709\u6765\u5f80\u4e8e\u6307\u5b9a\u5730\u5740\u7684UDP\u6d41\u91cf\u3002\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u8fd9\u662f\u53ef\u4ee5\u7684\uff0c\u4f46\u662f\u5982\u679c\u5728\u540c\u4e00\u4e2a\u8fdc\u7a0b\u5730\u5740\u4e0a\u6709\u5176\u4ed6\u57fa\u4e8e\u975eVoIP\u7684UDP\u670d\u52a1\uff0c\u5b83\u4e5f\u53ef\u4ee5\u5339\u914d\u8be5\u6d41\u91cf\u3002\u7136\u800c\uff0c\u8fd9\u79cd\u60c5\u51b5\u5f88\u5c11\u89c1\uff0c\u6240\u4ee5\u8fd9\u4e2a\u9009\u9879\u5f80\u5f80\u6bd4\u901a\u8fc7\u7aef\u53e3\u5339\u914d\u66f4\u53ef\u9760\u3002<\/p>\n<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">WAN Connection Upload:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\n<p class=\"first\">\u4e0a\u4f20\u5e26\u5bbd\u7684\u6570\u91cf\uff0c\u4ee5\u4fdd\u8bc1VoIP\u8bbe\u5907\u6b63\u5e38\u4f7f\u7528\u3002\u8fd9\u5c06\u6839\u636e\u7f51\u7edc\u4e0a\u6709\u591a\u5c11VoIP\u8bbe\u5907\u4ee5\u53ca\u6bcf\u4e2a\u4f1a\u8bdd\u9700\u8981\u591a\u5c11\u5e26\u5bbd\u800c\u6709\u6240\u4e0d\u540c\u3002\u6b64\u8bbe\u7f6e\u7531HFSC\u548cCBQ\u4f7f\u7528\uff0cPRIQ\u5e94\u4fdd\u7559\u4e3a\u7a7a\u767d\u3002<\/p>\n<p class=\"first admonition-title\">\u63d0\u793a\uff1a\u8bf8\u5982VoIP\u4e4b\u7c7b\u7684\u670d\u52a1\u7684\u5e26\u5bbd\u9884\u7559\u4e0d\u80fd\u8d85\u8fc7\u94fe\u8def\u4e0a\u53ef\u7528\u5e26\u5bbd\u768430\uff05\u3002\u4f8b\u5982\uff0c\u572810Mbit \/ s\u94fe\u8def\u4e0a\uff0c\u4e0d\u8981\u8d85\u8fc73Mbit \/ s\u3002<\/p>\n<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">LAN Connection Download:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\n<p class=\"first last\">\u7528\u4e8e\u4fdd\u8bc1VoIP\u8bbe\u5907\u7684\u4e0b\u8f7d\u5e26\u5bbd\u91cf\u3002\u6b64\u8bbe\u7f6e\u7531HFSC\u548cCBQ\u4f7f\u7528\uff0cPRIQ\u5e94\u4fdd\u7559\u4e3a\u7a7a\u767d\u3002<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u6ce8\u610f<\/p>\n<p class=\"last\" style=\"text-align: justify;\">\u6700\u4f73\u505a\u6cd5\u662f\u4f7f\u7528\u8fdc\u7a0bSIP\u4e2d\u7ee7\u6216PBX\u5730\u5740\uff0c\u5426\u5219\u6d41\u91cf\u7ba1\u7406\u5668\u53ef\u80fd\u65e0\u6cd5\u6b63\u786e\u5339\u914d\u6d41\u91cf\u3002 \u4f8b\u5982\uff0c\u4f7f\u7528\u7535\u8bdd\u7684IP\u5730\u5740\uff0c\u6d41\u91cf\u7ba1\u7406\u5668\u53ea\u80fd\u5339\u914d\u4e00\u4e2a\u65b9\u5411\u7684\u6d41\u91cf\uff0c\u6216\u8005\u6839\u672c\u4e0d\u5339\u914d\u3002 \u8fd9\u662f\u7531\u4e8e\u6d41\u91cf\u7ba1\u7406\u5668\u5728\u51fa\u7ad9\u65b9\u5411\u4e0a\u4f7f\u7528\u6d6e\u52a8\u89c4\u5219\u5339\u914d\u6d41\u91cf\u7684\u65b9\u5f0f\u3002 NAT\u5728\u9000\u51faWAN\u65f6\u5339\u914d\u6d41\u91cf\u4e4b\u524d\u5e94\u7528\uff0c\u56e0\u6b64\u6d41\u91cf\u7ba1\u7406\u89c4\u5219\u65e0\u6cd5\u5339\u914d\u57fa\u4e8e\u672c\u5730\u79c1\u6709IP\u5730\u5740\u7684\u51fa\u7ad9\u8fde\u63a5\u3002<\/p>\n<p style=\"text-align: justify;\">\u8981\u4f7f\u7528\u8fd9\u4e9b\u9009\u9879\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u8bbe\u7f6e\u4f18\u5148\u5904\u7406IP\u8bdd\u97f3\u4e1a\u52a1<\/li>\n<li>\u9009\u62e9\u4e0b\u5217\u5176\u4e2d\u4e00\u9879\uff1a<\/li>\n<\/ul>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u4ece\u5217\u8868\u4e2d\u9009\u62e9\u4e00\u4e2a\u63d0\u4f9b\u8005\u6216\u8f93\u5165\u4e0a\u6e38SIP\u670d\u52a1\u5668\u5730\u5740\u6216\u5305\u542b\u8fdc\u7a0bSIP\u4e2d\u7ee7\u7ebf\u6216PBX\u7684\u522b\u540d<\/li>\n<\/ul>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5982\u679c\u4f7f\u7528PRIQ\uff0c\u8bf7\u5c06\u4e0a\u4f20\u548c\u4e0b\u8f7d\u7559\u7a7a\uff0c\u5426\u5219\u4e3a\u6bcf\u4e2a\u8fde\u63a5\u8f93\u5165\u9002\u5f53\u7684\u4e0a\u4f20\u6216\u4e0b\u8f7d\u503c<\/li>\n<li>\u5355\u51fb\u4e0b\u4e00\u6b65\u7ee7\u7eed<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1863\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard03.png\" alt=\"\" width=\"1141\" height=\"586\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard03.png 1141w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard03-1024x526.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard03-300x154.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard03-768x394.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard03-500x257.png 500w\" sizes=\"auto, (max-width: 1141px) 100vw, 1141px\" \/><\/p>\n<h2 style=\"text-align: justify;\"><\/h2>\n<h2 style=\"text-align: justify;\">\u60e9\u7f5a\u7bb1<\/h2>\n<p style=\"text-align: justify;\">\u4e0b\u56fe\u63cf\u8ff0\u7684\u60e9\u7f5a\u7bb1\u662f\u4e00\u4e2a\u653e\u7f6e\u884c\u4e3a\u4e0d\u5f53\u7528\u6237\u6216\u8bbe\u5907\u7684\u5730\u65b9\uff0c\u5426\u5219\u8fd9\u4e9b\u7528\u6237\u6216\u8bbe\u5907\u4f1a\u6d88\u8017\u4e0d\u9700\u8981\u7684\u5e26\u5bbd\u91cf\u3002\u8fd9\u4e9b\u8bbe\u5907\u88ab\u5206\u914d\u4e00\u4e2a\u4ed6\u4eec\u4e0d\u80fd\u8d85\u8fc7\u7684\u5f3a\u5236\u5e26\u5bbd\u4e0a\u9650\u3002<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">Enable:<\/th>\n<td class=\"field-body\">\u672a\u9009\u4e2d\u65f6\uff0c\u9009\u9879\u88ab\u7981\u7528\uff0c\u5411\u5bfc\u4e0d\u4f1a\u6dfb\u52a0\u8fd9\u4e9b\u961f\u5217\u548c\u89c4\u5219\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">Address:<\/th>\n<td class=\"field-body\">\u8981\u60e9\u7f5a\u7684IP\u5730\u5740\uff0c\u6216\u5305\u542b\u591a\u4e2a\u5730\u5740\u7684\u522b\u540d\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">Bandwidth:<\/th>\n<td class=\"field-body\">\u5730\u5740\u6700\u591a\u53ef\u4ee5\u6d88\u8017\u7684\u5e26\u5bbd\u91cf\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">\u4f7f\u7528\u8fd9\u4e9b\u9009\u9879\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u8bbe\u7f6e\u5904\u7f5aIP\u6216\u522b\u540d<\/li>\n<li>\u5728\u5730\u5740\u6846\u4e2d\u8f93\u5165\u4e00\u4e2aIP\u5730\u5740\u6216\u522b\u540d<\/li>\n<li>\u8f93\u5165\u5e26\u5bbd\u9650\u5236<\/li>\n<li>\u4e3a\u5e26\u5bbd\u9650\u5236\u9009\u62e9\u6b63\u786e\u7684\u5355\u4f4d<\/li>\n<li>\u5355\u51fb\u4e0b\u4e00\u6b65\u7ee7\u7eed<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1864\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard04.png\" alt=\"\" width=\"1140\" height=\"364\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard04.png 1140w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard04-1024x327.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard04-300x96.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard04-768x245.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard04-500x160.png 500w\" sizes=\"auto, (max-width: 1140px) 100vw, 1140px\" \/><\/p>\n<h2 style=\"text-align: justify;\">\u70b9\u5bf9\u70b9\u7f51\u7edc<\/h2>\n<p style=\"text-align: justify;\">\u4e0b\u4e00\u6b65\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u8bbe\u7f6e\u4e86\u70b9\u5bf9\u70b9\uff08P2P\uff09\u7f51\u7edc\u534f\u8bae\u7684\u63a7\u5236\u3002 \u6309\u7167\u8bbe\u8ba1\uff0cP2P\u534f\u8bae\u5c06\u5229\u7528\u6240\u6709\u53ef\u7528\u5e26\u5bbd\uff0c\u9664\u975e\u6709\u9650\u5236\u3002 \u5982\u679cP2P\u6d41\u91cf\u51fa\u73b0\u5728\u7f51\u7edc\u4e0a\uff0c\u6700\u597d\u7684\u505a\u6cd5\u662f\u786e\u4fdd\u5b83\u4e0d\u4f1a\u964d\u4f4e\u5176\u4ed6\u5e94\u7528\u7684\u6d41\u91cf\u3002<\/p>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u6ce8\u610f\uff1aP2P\u534f\u8bae\u4f1a\u6545\u610f\u5c1d\u8bd5\u907f\u514d\u68c0\u6d4b\u3002 Bittorrent\u5bf9\u8fd9\u79cd\u884c\u4e3a\u5e94\u8be5\u627f\u62c5\u8d23\u4efb\u3002 \u5b83\u7ecf\u5e38\u4f7f\u7528\u975e\u6807\u51c6\u6216\u968f\u673a\u7aef\u53e3\u6216\u4e0e\u5176\u4ed6\u534f\u8bae\u76f8\u5173\u7684\u7aef\u53e3\u3002 \u8bc6\u522b\u6240\u6709P2P\u6d41\u91cf\u6bd4\u8f83\u56f0\u96be\u751a\u81f3\u662f\u4e0d\u53ef\u80fd\u7684\u3002<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">Enable:<\/th>\n<td class=\"field-body\">\u672a\u9009\u4e2d\u65f6\uff0c\u9009\u9879\u88ab\u7981\u7528\uff0c\u5411\u5bfc\u4e0d\u4f1a\u6dfb\u52a0\u8fd9\u4e9b\u961f\u5217\u548c\u89c4\u5219\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">Peer-to-Peer Catch All:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u5c06\u4efb\u4f55\u65e0\u6cd5\u8bc6\u522b\u7684\u6d41\u91cf\u89c6\u4e3aP2P\u6d41\u91cf\uff0c\u5e76\u4e14\u8fd9\u6837\u7684\u6d41\u91cf\u5c06\u76f8\u5e94\u5730\u964d\u4f4e\u5176\u4f18\u5148\u7ea7\u3002<\/p>\n<p>Bandwidth\uff1a\u5f53P2P Catch All\u5904\u4e8e\u6d3b\u52a8\u72b6\u6001\u65f6\uff0c\u6700\u591a\u53ef\u4ee5\u5360\u7528\u6d41\u91cf\u672a\u5206\u7c7b\u7684\u5e26\u5bbd\u91cf\u3002<\/p>\n<p class=\"first admonition-title\">\u6ce8\u610f\uff1a\u8be5\u9009\u9879\u6709\u6548\u63a5\u7ba1\u9ed8\u8ba4\u6d41\u91cf\u7ba1\u7406\u961f\u5217\u5e76\u964d\u4f4e\u5176\u4f18\u5148\u7ea7\u3002 \u5f53\u6b64\u9009\u9879\u5904\u4e8e\u6d3b\u52a8\u72b6\u6001\u65f6\uff0c\u6240\u6709\u9ad8\u4e8eP2P\u4f18\u5148\u7ea7\u7684\u5408\u6cd5\u6d41\u91cf\u90fd\u8981\u901a\u8fc7\u89c4\u5219\u8fdb\u884c\u5339\u914d\u3002<\/p>\n<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">Enable\/Disable specific P2P protocols:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u8fd9\u4e9b\u9009\u9879\u53ef\u8bc6\u522b\u5404\u79cd\u5df2\u77e5\u7684P2P\u534f\u8bae\u3002\u9632\u706b\u5899\u4f1a\u5c06\u6bcf\u4e2a\u542f\u7528\u7684\u9009\u9879\u5173\u8054\u7684\u7aef\u53e3\u548c\u534f\u8bae\u5206\u914d\u4e3aP2P\u6d41\u91cf\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">\u8981\u4f7f\u7528\u6b64\u6b65\u9aa4\u4e2d\u7684\u9009\u9879\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u8bbe\u7f6e\u70b9\u5bf9\u70b9\u6d41\u91cf\u7684\u8f83\u4f4e\u4f18\u5148\u7ea7<\/li>\n<li>\u53ef\u4ee5\u9009\u62e9\u542f\u7528p2p Catch All\u529f\u80fd<\/li>\n<\/ul>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u8f93\u5165p2p\u7684\u5168\u90e8\u5e26\u5bbd\u9650\u5236\uff08\u5982\u679c\u542f\u7528\uff09<\/li>\n<li>\u4e3a\u5e26\u5bbd\u9650\u5236\u9009\u62e9\u6b63\u786e\u7684\u5355\u4f4d<\/li>\n<\/ul>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u9009\u62e9P2P\u6d41\u91cf\u9632\u706b\u5899\u7684\u534f\u8bae\u5206\u7c7b<\/li>\n<li>\u5355\u51fb\u4e0b\u4e00\u6b65\u7ee7\u7eed<\/li>\n<\/ul>\n<p class=\"caption\" style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1865\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard05.png\" alt=\"\" width=\"1141\" height=\"498\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard05.png 1141w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard05-1024x447.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard05-300x131.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard05-768x335.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard05-500x218.png 500w\" sizes=\"auto, (max-width: 1141px) 100vw, 1141px\" \/><\/p>\n<h2 style=\"text-align: justify;\">\u7f51\u7edc\u6e38\u620f<\/h2>\n<p style=\"text-align: justify;\">\u5728\u7ebf\u6e38\u620f\u901a\u5e38\u4f9d\u9760\u4f4e\u5ef6\u8fdf\u83b7\u5f97\u66f4\u597d\u7684\u6e38\u620f\u4f53\u9a8c\u3002 \u5982\u679c\u7f51\u7edc\u4e0a\u7684\u7528\u6237\u5728\u64ad\u653e\u65f6\u5c1d\u8bd5\u4e0b\u8f7d\u5927\u578b\u6587\u4ef6\u6216\u6e38\u620f\u8865\u4e01\uff0c\u5219\u8be5\u6d41\u91cf\u5f88\u5bb9\u6613\u6df9\u6ca1\u4e0e\u6e38\u620f\u672c\u8eab\u76f8\u5173\u7684\u6570\u636e\u5305\uff0c\u5e76\u5bfc\u81f4\u6ede\u540e\u6216\u65ad\u5f00\u8fde\u63a5\u3002 \u5982\u679c\u9632\u706b\u5899\u7ed9\u4e88\u6e38\u620f\u6d41\u91cf\u4f18\u5148\u6743\uff0c\u5b83\u53ef\u4ee5\u786e\u4fdd\u6d41\u91cf\u4ee5\u6700\u5feb\u901f\u5ea6\u4f20\u9012\u3002<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">Enable:<\/th>\n<td class=\"field-body\">\u672a\u9009\u4e2d\u65f6\uff0c\u9009\u9879\u88ab\u7981\u7528\uff0c\u5411\u5bfc\u4e0d\u4f1a\u6dfb\u52a0\u8fd9\u4e9b\u961f\u5217\u548c\u89c4\u5219\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">Enable\/Disable specific game consoles and services:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u8fd9\u4e9b\u9009\u9879\u53ef\u4ee5\u5339\u914d\u6574\u4e2a\u6e38\u620f\u63a7\u5236\u7684\u6d41\u91cf\uff0c\u53ef\u4ee5\u5339\u914d\u6240\u6709\u6216\u81f3\u5c11\u5927\u90e8\u5206\u6e38\u620f\u4f7f\u7528\u7684\u901a\u7528\u7aef\u53e3\u548c\u534f\u8bae\u5728\u7ebf\u670d\u52a1\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">Enable\/Disable specific games:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u8fd9\u4e9b\u9009\u9879\u5339\u914d\u7279\u5b9a\u6e38\u620f\u7684\u6d41\u91cf\uff0c\u8fd9\u4e9b\u6e38\u620f\u4e0e\u524d\u4e00\u8282\u4e2d\u7684\u5e38\u89c4\u7c7b\u522b\u4e0d\u540c\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u63d0\u793a\uff1a\u8981\u4f18\u5148\u8003\u8651\u672a\u5217\u51fa\u7684\u6e38\u620f\uff0c\u8bf7\u68c0\u67e5\u5217\u8868\u4e2d\u7684\u4efb\u4f55\u5176\u4ed6\u6e38\u620f\uff0c\u4ee5\u4fbf\u8be5\u5411\u5bfc\u5c06\u521b\u5efa\u7528\u4f5c\u53c2\u8003\u57fa\u51c6\u7684\u961f\u5217\u548c\u89c4\u5219\u3002\u5b8c\u6210\u5411\u5bfc\u540e\uff0c\u7f16\u8f91\u7ed3\u679c\u89c4\u5219\u4ee5\u5339\u914d\u672a\u5217\u51fa\u7684\u6e38\u620f\u3002<\/p>\n<p style=\"text-align: justify;\">\u8981\u4f7f\u7528\u6b64\u6b65\u9aa4\u4e2d\u7684\u9009\u9879\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u8bbe\u7f6e\u4f18\u5148\u8003\u8651\u7f51\u7edc\u6e38\u620f\u6d41\u91cf<\/li>\n<li>\u4ece\u542f\u7528\/\u7981\u7528\u7279\u5b9a\u6e38\u620f\u63a7\u5236\u548c\u670d\u52a1\u5217\u8868\u4e2d\u9009\u62e9\u7f51\u7edc\u4e0a\u7684\u4efb\u4f55\u6e38\u620f\u63a7\u5236<\/li>\n<li>\u4ece\u542f\u7528\/\u7981\u7528\u7279\u5b9a\u6e38\u620f\u5217\u8868\u4e2d\u9009\u62e9\u7f51\u7edc\u4e0a\u7684\u4efb\u4f55\u6e38\u620f<\/li>\n<li>\u5355\u51fb\u4e0b\u4e00\u6b65\u7ee7\u7eed<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1866\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard06.png\" alt=\"\" width=\"1141\" height=\"594\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard06.png 1141w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard06-1024x533.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard06-300x156.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard06-768x400.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard06-500x260.png 500w\" sizes=\"auto, (max-width: 1141px) 100vw, 1141px\" \/><\/p>\n<h2 style=\"text-align: justify;\">\u63d0\u9ad8\u6216\u964d\u4f4e\u5176\u4ed6\u5e94\u7528\u7a0b\u5e8f\u4f18\u5148\u7ea7<\/h2>\n<p style=\"text-align: justify;\">\u5728\u4e0b\u9762\u7684\u56fe\u4e2d\u4f1a\u770b\u5230\u7684\u6d41\u91cf\u7ba1\u7406\u5411\u5bfc\u7684\u6700\u540e\u4e00\u4e2a\u914d\u7f6e\u9875\u9762\uff0c\u5217\u51fa\u4e86\u8bb8\u591a\u5176\u4ed6\u5e38\u7528\u7684\u5e94\u7528\u7a0b\u5e8f\u548c\u534f\u8bae\u3002<\/p>\n<p style=\"text-align: justify;\">\u7279\u5b9a\u7f51\u7edc\u7684\u9700\u6c42\u51b3\u5b9a\u4e86\u9632\u706b\u5899\u5e94\u5982\u4f55\u5904\u7406\u6bcf\u4e2a\u534f\u8bae\u3002 \u4f8b\u5982\uff0c\u5728\u516c\u53f8\u73af\u5883\u4e2d\uff0c\u7ba1\u7406\u5c42\u53ef\u80fd\u5e0c\u671b\u964d\u4f4e\u8bf8\u5982\u7535\u5b50\u90ae\u4ef6\u4e4b\u7c7b\u7684\u975e\u4ea4\u4e92\u5f0f\u4e1a\u52a1\u7684\u4f18\u5148\u7ea7\uff0c\u5176\u4e2d\u901f\u5ea6\u7684\u964d\u4f4e\u901a\u5e38\u4e0d\u4f1a\u88ab\u7528\u6237\u6ce8\u610f\u5230\uff0c\u5e76\u4e14\u4ed6\u4eec\u53ef\u80fd\u8fd8\u60f3\u63d0\u9ad8\u4ea4\u4e92\u5f0f\u4e1a\u52a1\u7684\u4f18\u5148\u7ea7\uff0c\u5982RDP\u3002 \u5728\u5bb6\u5ead\u4e2d\uff0c\u591a\u5a92\u4f53\u6d41\u5f0f\u4f20\u8f93\u53ef\u80fd\u66f4\u91cd\u8981\uff0c\u5176\u4ed6\u670d\u52a1\u53ef\u4ee5\u901a\u8fc7\u6d41\u91cf\u7ba1\u7406\u964d\u4f4e\u5176\u4f18\u5148\u7ea7\u3002<\/p>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u63d0\u793a\uff1a\u4e0e\u6d41\u91cf\u7ba1\u7406\u5411\u5bfc\u7684\u5176\u4ed6\u6b65\u9aa4\u4e00\u6837\uff0c\u5982\u679c\u534f\u8bae\u672a\u5217\u51fa\uff0c\u8bf7\u9009\u62e9\u4e00\u4e2a\u7c7b\u4f3c\u7684\u534f\u8bae\uff0c\u7136\u540e\u5728\u5b8c\u6210\u5411\u5bfc\u540e\u8c03\u6574\u89c4\u5219\u3002<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">Enable:<\/th>\n<td class=\"field-body\">\u672a\u9009\u4e2d\u65f6\uff0c\u9009\u9879\u88ab\u7981\u7528\uff0c\u5411\u5bfc\u4e0d\u4f1a\u6dfb\u52a0\u8fd9\u4e9b\u961f\u5217\u548c\u89c4\u5219\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">Protocol Categories:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u6bcf\u4e2a\u90e8\u5206\u90fd\u5305\u542b\u4f17\u6240\u5468\u77e5\u7684\u534f\u8bae\uff0c\u6309\u5176\u901a\u7528\u529f\u80fd\u5206\u7ec4\u3002<\/p>\n<p>\u6709\u8d85\u8fc740\u4e2a\u534f\u8bae\u53ef\u4f9b\u9009\u62e9\uff0c\u5e76\u4e14\u6bcf\u4e2a\u534f\u8bae\u90fd\u53ef\u4ee5\u88ab\u8d4b\u4e88\u66f4\u9ad8\u7684\u4f18\u5148\u7ea7\uff0c\u66f4\u4f4e\u7684\u4f18\u5148\u7ea7\u6216\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u4f18\u5148\u7ea7\u3002<\/p>\n<p class=\"first admonition-title\">\u63d0\u793a\uff1a\u5982\u679cp2pCatchAll\u5904\u4e8e\u6d3b\u52a8\u72b6\u6001\uff0c\u6211\u4eec\u5f3a\u70c8\u5efa\u8bae\u4f7f\u7528\u6b64\u6b65\u9aa4\u6765\u786e\u4fdd\u6b63\u5e38\u8bc6\u522b\u548c\u5904\u7406\u8fd9\u4e9b\u5176\u4ed6\u534f\u8bae\uff0c\u800c\u4e0d\u662f\u901a\u8fc7\u9ed8\u8ba4\u7684p2pCatchAll\u89c4\u5219\u6765\u60e9\u7f5a\u3002<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">\u8981\u4f7f\u7528\u6b64\u6b65\u9aa4\u4e2d\u7684\u9009\u9879\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u8bbe\u7f6e\u5176\u4ed6\u7f51\u7edc\u534f\u8bae<\/li>\n<li>\u5728\u5217\u8868\u4e2d\u627e\u5230\u7279\u5b9a\u534f\u8bae\u4ee5\u66f4\u6539\u4f18\u5148\u7ea7\u3002<\/li>\n<li>\u5bf9\u4e8e\u6bcf\u4e2a\u534f\u8bae\uff0c\u8bf7\u9009\u62e9\u8f83\u9ad8\u4f18\u5148\u7ea7\u3001\u8f83\u4f4e\u4f18\u5148\u7ea7\u6216\u5c06\u5176\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u4f18\u5148\u7ea7\u3002<\/li>\n<li>\u5355\u51fb\u4e0b\u4e00\u6b65\u7ee7\u7eed<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1867\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard07.png\" alt=\"\" width=\"733\" height=\"445\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard07.png 733w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard07-300x182.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-shapingwizard07-494x300.png 494w\" sizes=\"auto, (max-width: 733px) 100vw, 733px\" \/><\/p>\n<h2 style=\"text-align: justify;\">\u5b8c\u6210\u5411\u5bfc<\/h2>\n<p style=\"text-align: justify;\">\u5b8c\u6210\u5411\u5bfc\u8bbe\u7f6e\u540e\uff0c\u9632\u706b\u5899\u5c06\u4e3a\u542f\u7528\u7684\u9009\u9879\u521b\u5efa\u6240\u6709\u89c4\u5219\u548c\u961f\u5217\uff0c\u7136\u540e\u5b83\u5c06\u91cd\u65b0\u52a0\u8f7d\u89c4\u5219\u96c6\u4ee5\u6fc0\u6d3b\u65b0\u7684\u6d41\u91cf\u7ba1\u7406\u8bbe\u7f6e\u3002<\/p>\n<p style=\"text-align: justify;\">\u7531\u4e8e\u9632\u706b\u5899\u4ee5\u6709\u72b6\u6001\u65b9\u5f0f\u8fd0\u884c\uff0c\u56e0\u6b64\u9632\u706b\u5899\u53ea\u80fd\u5c06\u6d41\u91cf\u7ba1\u7406\u4e2d\u7684\u66f4\u6539\u5e94\u7528\u4e8e\u65b0\u8fde\u63a5\u3002 \u4e3a\u4e86\u4f7f\u65b0\u7684\u6d41\u91cf\u7ba1\u7406\u8bbe\u7f6e\u5728\u6240\u6709\u8fde\u63a5\u4e0a\u5b8c\u5168\u6fc0\u6d3b\uff0c\u8bf7\u6e05\u9664\u8fd9\u4e9b\u72b6\u6001\u3002<\/p>\n<p style=\"text-align: justify;\">\u8981\u91cd\u7f6e\u72b6\u6001\u8868\u5185\u5bb9\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u5230\u7cfb\u7edf\u8bca\u65ad&gt;\u72b6\u6001<\/li>\n<li>\u70b9\u51fb\u91cd\u7f6e\u72b6\u6001\u6807\u7b7e<\/li>\n<li>\u9009\u4e2d\u91cd\u7f6e\u9632\u706b\u5899\u72b6\u6001\u8868<\/li>\n<li>\u70b9\u51fb\u91cd\u7f6e<\/li>\n<\/ul>\n<h2 style=\"text-align: justify;\">\u6d41\u91cf\u7ba1\u7406\u5411\u5bfc\u548cIPv6<\/h2>\n<p style=\"text-align: justify;\">\u6d41\u91cf\u5411\u5bfc\u4ec5\u4e3aIPv4\u6d41\u91cf\u521b\u5efa\u89c4\u5219\u3002\u89c4\u5219\u53ef\u4ee5\u624b\u52a8\u8c03\u6574\u6216\u514b\u9686\u7136\u540e\u8bbe\u7f6e\u4e3aIPv6\u3002<\/p>\n<h1 style=\"text-align: justify;\">\u76d1\u63a7\u961f\u5217<\/h1>\n<p style=\"text-align: justify;\">\u8fdb\u5165<strong>\u7cfb\u7edf\u72b6\u6001&gt;\u961f\u5217\u72b6\u6001<\/strong>\u83dc\u5355\uff0c\u67e5\u770b\u6d41\u91cf\u7ba1\u7406\u60c5\u51b5\uff0c\u786e\u4fdd\u6d41\u91cf\u7ba1\u7406\u6309\u9884\u671f\u5de5\u4f5c\u3002\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u6b64\u9875\u9762\u663e\u793a\u6309\u540d\u79f0\u3001\u5f53\u524d\u4f7f\u7528\u60c5\u51b5\u4ee5\u53ca\u5176\u4ed6\u76f8\u5173\u7edf\u8ba1\u4fe1\u606f\u5217\u51fa\u7684\u6bcf\u4e2a\u961f\u5217\u3002<\/p>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1868\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-status-wan.png\" alt=\"\" width=\"1141\" height=\"305\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-status-wan.png 1141w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-status-wan-1024x274.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-status-wan-300x80.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-status-wan-768x205.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-status-wan-500x134.png 500w\" sizes=\"auto, (max-width: 1141px) 100vw, 1141px\" \/><\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">Queue:<\/th>\n<td class=\"field-body\">\u6d41\u91cf\u7ba1\u7406\u961f\u5217\u7684\u540d\u79f0\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">Statistics:<\/th>\n<td class=\"field-body\">\u663e\u793a\u6b64\u961f\u5217\u201c\u5b8c\u6574\u201d\u7684\u56fe\u5f62\u680f\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">PPS:<\/th>\n<td class=\"field-body\">\u4ee5\u6bcf\u79d2\u6570\u636e\u5305\uff08PPS\uff09\u6392\u961f\u7684\u6570\u636e\u901f\u7387<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">Bandwidth:<\/th>\n<td class=\"field-body\">\u4ee5\u6bcf\u79d2\u4f4d\u6570\uff08\u4f8b\u5982Mbps\uff0cKbps\uff0cbps\uff09\u6392\u961f\u7684\u6570\u636e\u7684\u901f\u7387\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">Borrows:<\/th>\n<td class=\"field-body\">\u5f53\u76f8\u90bb\u961f\u5217\u4e0d\u6ee1\u65f6\uff0c\u4ece\u90a3\u91cc\u501f\u7528\u7684\u5e26\u5bbd\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">Suspends:<\/th>\n<td class=\"field-body\">\u6682\u505c\u8ba1\u6570\u5668\u6307\u793a\u4f55\u65f6\u53d1\u751f\u5ef6\u8fdf\u52a8\u4f5c\u3002 \u6302\u8d77\u8ba1\u6570\u5668\u4ec5\u7528\u4e8eCBQ\u8c03\u5ea6\u7a0b\u5e8f\uff0c\u5f53\u5176\u4ed6\u8c03\u5ea6\u7a0b\u5e8f\u6b63\u5728\u4f7f\u7528\u65f6\u5e94\u8be5\u4e3a\u96f6\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">Drops:<\/th>\n<td class=\"field-body\">\u00a0\u961f\u5217\u4e2d\u4e22\u5f03\u7684\u6d41\u91cf\uff0c\u4ee5\u652f\u6301\u66f4\u9ad8\u4f18\u5148\u7ea7\u7684\u6d41\u91cf\u3002 \u4e22\u5f03\u662f\u6b63\u5e38\u7684\uff0c\u8fd9\u5e76\u4e0d\u610f\u5473\u7740\u4e00\u4e2a\u5b8c\u6574\u7684\u8fde\u63a5\u88ab\u4e22\u5f03\uff0c\u53ea\u6709\u4e00\u4e2a\u6570\u636e\u5305\u3002 \u901a\u5e38\uff0c\u8fde\u63a5\u7684\u4e00\u7aef\u4f1a\u770b\u5230\u4e22\u5931\u4e86\u4e00\u4e2a\u5305\uff0c\u7136\u540e\u91cd\u65b0\u53d1\u9001\uff0c\u901a\u5e38\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\u653e\u6162\u901f\u5ea6\u4ee5\u907f\u514d\u5c06\u6765\u6389\u7ebf\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">Length:<\/th>\n<td class=\"field-body\">\u7b49\u5f85\u4f20\u8f93\u7684\u961f\u5217\u4e2d\u7684\u6570\u636e\u5305\u6570\u91cf\uff0c\u8d85\u8fc7\u961f\u5217\u7684\u603b\u5927\u5c0f\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h1 style=\"text-align: justify;\">\u9ad8\u7ea7\u5b9a\u5236<\/h1>\n<p style=\"text-align: justify;\">\u6d41\u91cf\u7ba1\u7406\u5411\u5bfc\u751f\u6210\u7684\u89c4\u5219\u548c\u961f\u5217\u53ef\u80fd\u5e76\u4e0d\u5b8c\u5168\u9002\u5408\u7f51\u7edc\u3002 \u7f51\u7edc\u8bbe\u5907\u4f7f\u7528\u5411\u5bfc\u53ef\u80fd\u672a\u5217\u51fa\u9700\u8981\u7684\u6d41\u91cf\u7ba1\u7406\u670d\u52a1\uff0c\u4f7f\u7528\u4e0d\u540c\u7aef\u53e3\u7684\u6e38\u620f\u6216\u9700\u8981\u9650\u5236\u7684\u5176\u4ed6\u534f\u8bae\uff0c\u5728\u5411\u5bfc\u521b\u5efa\u57fa\u672c\u89c4\u5219\u540e\uff0c\u7f16\u8f91\u6216\u590d\u5236\u8fd9\u4e9b\u89c4\u5219\u53ef\u4ee5\u8f83\u5bb9\u6613\u5bf9\u5176\u4ed6\u534f\u8bae\u8fdb\u884c\u8c03\u6574\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u7f16\u8f91\u6d41\u91cf\u7ba1\u7406\u961f\u5217<\/h2>\n<p style=\"text-align: justify;\">\u961f\u5217\u662f\u6d41\u91cf\u7ba1\u7406\u5206\u914d\u5e26\u5bbd\u548c\u4f18\u5148\u7ea7\u7684\u5730\u65b9\u3002 \u6bcf\u4e2a\u961f\u5217\u90fd\u5177\u6709\u7279\u5b9a\u4e8e\u5728\u5411\u5bfc\u4e2d\u9009\u62e9\u7684\u8ba1\u5212\u8c03\u5ea6\u7684\u8bbe\u7f6e\uff08ALTQ\u8ba1\u5212\u7a0b\u5e8f\u7c7b\u578b\uff09\u3002 \u961f\u5217\u8fd8\u53ef\u4ee5\u5206\u914d\u5176\u4ed6\u5c5e\u6027\u6765\u63a7\u5236\u5b83\u4eec\u7684\u884c\u4e3a\u3002 \u961f\u5217\u53ef\u4ee5\u5728\u9632\u706b\u5899&gt;\u6d41\u91cf\u7ba1\u7406\u4e0a\u8fdb\u884c\u7ba1\u7406\u3002 \u5355\u51fb\u6309\u63a5\u53e3\u6216\u6309\u961f\u5217\u9009\u9879\u5361\u4e0a\u663e\u793a\u7684\u5217\u8868\u6216\u6811\u4e2d\u7684\u961f\u5217\u540d\u79f0\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u6ce8\u610f\uff1a\u521b\u5efa\u6216\u7f16\u8f91\u961f\u5217\u4ec5\u9002\u7528\u4e8e\u9ad8\u7ea7\u7528\u6237\u3002 \u8fd9\u9879\u8bbe\u7f6e\u5177\u6709\u4e00\u5b9a\u7684\u590d\u6742\u6027\u3002\u5982\u679c\u4e0d\u5f7b\u5e95\u4e86\u89e3\u6240\u6d89\u53ca\u7684\u8bbe\u7f6e\uff0c\u6700\u4f73\u505a\u6cd5\u662f\u575a\u6301\u4f7f\u7528\u5411\u5bfc\u751f\u6210\u7684\u961f\u5217\uff0c\u800c\u4e0d\u662f\u5c1d\u8bd5\u521b\u5efa\u65b0\u7684\u961f\u5217\u3002<\/p>\n<p style=\"text-align: justify;\">\u8981\u7f16\u8f91\u961f\u5217\uff0c\u8bf7\u5728\u5217\u8868\/\u6811\u4e2d\u5355\u51fb\u5176\u540d\u79f0\u3002\u8981\u5220\u9664\u961f\u5217\uff0c\u8bf7\u5355\u51fb\u4e00\u6b21\u7f16\u8f91\u961f\u5217\uff0c\u7136\u540e\u5355\u51fb<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1678\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/fa-trash.png\" alt=\"\" width=\"25\" height=\"25\" \/>\u201c\u5220\u9664\u6b64\u961f\u5217\u201d\u3002\u5982\u679c\u961f\u5217\u4ecd\u7136\u88ab\u9632\u706b\u5899\u89c4\u5219\u5f15\u7528\uff0c\u5219\u4e0d\u8981\u5220\u9664\u8be5\u961f\u5217\u3002<\/p>\n<p style=\"text-align: justify;\">\u8981\u6dfb\u52a0\u65b0\u961f\u5217\uff0c\u8bf7\u5355\u51fb\u8981\u653e\u7f6e\u65b0\u961f\u5217\u7684\u63a5\u53e3\u6216\u7236\u961f\u5217\uff0c\u7136\u540e\u5355\u51fb<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1666\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/fa-plus.png\" alt=\"\" width=\"25\" height=\"25\" \/>\u6dfb\u52a0\u65b0\u961f\u5217\u3002<\/p>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1870\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-queues.png\" alt=\"\" width=\"177\" height=\"251\" \/><\/p>\n<p style=\"text-align: justify;\">\u7f16\u8f91\u961f\u5217\u65f6\uff0c\u5fc5\u987b\u4ed4\u7ec6\u8003\u8651\u6bcf\u4e2a\u9009\u9879\u3002<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">Name:<\/th>\n<td class=\"field-body\">\u961f\u5217\u540d\u79f0\u5fc5\u987b\u57281-15\u4e2a\u5b57\u7b26\u4e4b\u95f4\uff0c\u5e76\u4e14\u4e0d\u80fd\u5305\u542b\u7a7a\u683c\u3002\u6700\u5e38\u89c1\u7684\u7ea6\u5b9a\u662f\u4f7f\u7528\u5b57\u6bcd\u201cq\u201d\u5f00\u59cb\u961f\u5217\u7684\u540d\u79f0\uff0c\u4ee5\u4fbf\u5728\u89c4\u5219\u96c6\u4e2d\u66f4\u52a0\u5bb9\u6613\u8bc6\u522b\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">Priority:<\/th>\n<td class=\"field-body\">\u961f\u5217\u7684\u4f18\u5148\u7ea7\u3002 \u53ef\u4ee5\u662fCBQ\u76840-7\u548cPRIQ\u76840-15\u3002 \u5c3d\u7ba1HFSC\u53ef\u4ee5\u652f\u6301\u4f18\u5148\u7ea7\uff0c\u4f46\u5f53\u524d\u4ee3\u7801\u5728\u6267\u884c\u6d41\u91cf\u7ba1\u7406\u65f6\u4e0d\u4f1a\u9075\u5b88\u5b83\u4eec\u3002 \u5f53\u5b58\u5728\u8fc7\u8f7d\u65f6\uff0c\u6d41\u91cf\u7ba1\u7406\u5668\u4f1a\u4f18\u5148\u9009\u62e9\u6570\u91cf\u8f83\u9ad8\u7684\u961f\u5217\uff0c\u56e0\u6b64\u53ef\u4ee5\u76f8\u5e94\u5730\u6392\u961f\u3002 \u4f8b\u5982\uff0cVoIP\u6d41\u91cf\u662f\u6700\u9ad8\u4f18\u5148\u7ea7\uff0c\u56e0\u6b64\u5b83\u5c06\u5728CBQ\u4e0a\u8bbe\u7f6e\u4e3a7\uff0c\u6216\u5728PRIQ\u4e0a\u8bbe\u7f6e\u4e3a15\u3002 \u70b9\u5bf9\u70b9\u7f51\u7edc\u6d41\u91cf\u53ef\u80fd\u4f1a\u5ef6\u8fdf\u4ee5\u652f\u6301\u5176\u4ed6\u534f\u8bae\uff0c\u56e0\u6b64\u5c06\u8bbe\u7f6e\u4e3a1\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">Bandwidth (root queues):<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u6b64\u63a5\u53e3\u5728\u51fa\u7ad9\u65b9\u5411\u4e0a\u7684\u53ef\u7528\u5e26\u5bbd\u91cf\u3002\u4f8b\u5982\uff0cWAN\u578b\u63a5\u53e3\u6839\u961f\u5217\u5217\u8868\u4e0a\u4f20\u901f\u5ea6\u3002 LAN\u578b\u63a5\u53e3\u5217\u51fa\u6240\u6709WAN\u63a5\u53e3\u4e0b\u8f7d\u5e26\u5bbd\u7684\u603b\u548c\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">Queue Limit:<\/th>\n<td class=\"field-body\">\u53ef\u4ee5\u4fdd\u7559\u5728\u961f\u5217\u4e2d\u7b49\u5f85\u7531\u6d41\u91cf\u7ba1\u7406\u5668\u53d1\u9001\u7684\u6570\u636e\u5305\u6570\u91cf\u3002\u9ed8\u8ba4\u5927\u5c0f\u662f50\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">Scheduler Options:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u6709\u4e94\u79cd\u4e0d\u540c\u7684\u8c03\u5ea6\u7a0b\u5e8f\u9009\u9879\u53ef\u4ee5\u8bbe\u7f6e\uff1a<\/p>\n<p>Default Queue\uff1a\u9009\u62e9\u6b64\u961f\u5217\u4f5c\u4e3a\u9ed8\u8ba4\u503c\uff0c\u5b83\u5c06\u5904\u7406\u63a5\u53e3\u4e0a\u6240\u6709\u4e0d\u5339\u914d\u7684\u6570\u636e\u5305\u3002 \u6bcf\u4e2a\u63a5\u53e3\u5fc5\u987b\u6709\u4e14\u4ec5\u6709\u4e00\u4e2a\u9ed8\u8ba4\u961f\u5217\u3002<\/p>\n<p>Random Early Detection (RED)\uff1a\u4e00\u79cd\u907f\u514d\u94fe\u8def\u62e5\u5835\u7684\u65b9\u6cd5\u3002 \u8bbe\u7f6e\u65f6\uff0c\u6d41\u91cf\u7ba1\u7406\u5668\u5c06\u4e3b\u52a8\u5c1d\u8bd5\u786e\u4fdd\u961f\u5217\u672a\u6ee1\u3002 \u5982\u679c\u5e26\u5bbd\u9ad8\u4e8e\u961f\u5217\u7684\u6700\u5927\u503c\uff0c\u5219\u4f1a\u53d1\u751f\u4e22\u5f03\u3002 \u53e6\u5916\uff0c\u5982\u679c\u5e73\u5747\u961f\u5217\u5927\u5c0f\u63a5\u8fd1\u6700\u5927\u503c\uff0c\u5219\u53ef\u80fd\u53d1\u751f\u4e22\u5f03\u3002 \u4e22\u5f03\u7684\u6570\u636e\u5305\u662f\u968f\u673a\u9009\u62e9\u7684\uff0c\u56e0\u6b64\u4f7f\u7528\u66f4\u591a\u5e26\u5bbd\u7684\u8fde\u63a5\u66f4\u5bb9\u6613\u51fa\u73b0\u4e22\u5305\u3002 \u6700\u7ec8\u7ed3\u679c\u662f\u5e26\u5bbd\u53d7\u5230\u516c\u5e73\u9650\u5236\uff0c\u4ece\u800c\u4fc3\u8fdb\u4e86\u5e73\u8861\u3002 RED\u53ea\u80fd\u4e0eTCP\u8fde\u63a5\u4e00\u8d77\u4f7f\u7528\uff0c\u56e0\u4e3aTCP\u80fd\u591f\u5904\u7406\u4e22\u5931\u7684\u6570\u636e\u5305\uff0c\u5e76\u4e14\u4e3b\u673a\u53ef\u4ee5\u5728\u9700\u8981\u65f6\u91cd\u65b0\u53d1\u9001TCP\u6570\u636e\u5305\u3002<\/p>\n<p>Random Early Detection In and Out (RIO)\uff1a\u4f7f\u7528\u8f93\u5165\/\u8f93\u51fa\u542f\u7528RED\uff0c\u8fd9\u4f1a\u5bfc\u81f4\u7ef4\u62a4\u961f\u5217\u5e73\u5747\u503c\u5e76\u68c0\u67e5\u8f93\u5165\u548c\u8f93\u51fa\u6570\u636e\u5305\u3002<\/p>\n<p>Explicit Congestion Notification (ECN)\uff1a\u4e0eRED\u4e00\u8d77\uff0c\u5b83\u5141\u8bb8\u53d1\u9001\u63a7\u5236\u6d88\u606f\uff0c\u4ee5\u4fbf\u5728\u4e24\u7aef\u90fd\u652f\u6301ECN\u65f6\u8282\u5236\u8fde\u63a5\u3002 \u901a\u5e38\u60c5\u51b5\u4e0b\uff0cRED\u4e0d\u4f1a\u4e22\u5f03\u6570\u636e\u5305\uff0c\u800c\u662f\u5728\u6570\u636e\u5305\u4e2d\u8bbe\u7f6e\u4e00\u4e2a\u6807\u5fd7\uff0c\u6307\u793a\u7f51\u7edc\u62e5\u5835\u3002 \u5982\u679c\u5bf9\u65b9\u770b\u5230\u5e76\u670d\u4ece\u8fd9\u4e2a\u6307\u793a\u6807\u5fd7\uff0c\u6b63\u5728\u8fdb\u884c\u7684\u4f20\u9012\u901f\u5ea6\u5c06\u4f1a\u964d\u4f4e\u3002<\/p>\n<p>Codel Active Queue\uff1a\u5c06\u6b64\u961f\u5217\u6807\u8bb0\u4e3a<strong>Codel<\/strong>\u6d41\u91cf\u7ba1\u7406\u89c4\u5219\u7684\u6d3b\u52a8\u961f\u5217\u7684\u6807\u5fd7\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">Description:<\/th>\n<td class=\"field-body\">\u63cf\u8ff0\u961f\u5217\u7528\u9014\u7684\u53ef\u9009\u6587\u672c\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">Bandwidth (Service Curve\/Scheduler):<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u201c\u5e26\u5bbd\u201d\u8bbe\u7f6e\u5e94\u8be5\u662f\u7236\u961f\u5217\u4e2d\u53ef\u7528\u5e26\u5bbd\u7684\u4e00\u5c0f\u90e8\u5206\uff0c\u4f46\u5b83\u4e5f\u5fc5\u987b\u7ed3\u5408\u5176\u4ed6\u76f8\u90bb\u961f\u5217\u7684\u8bbe\u7f6e\u3002 \u4f7f\u7528\u767e\u5206\u6bd4\u65f6\uff0c\u7ed9\u5b9a\u7236\u9879\u4e0b\u6240\u6709\u961f\u5217\u7684\u603b\u6570\u4e0d\u80fd\u8d85\u8fc7100\uff05\u3002 \u4f7f\u7528\u7edd\u5bf9\u9650\u5236\u65f6\uff0c\u603b\u6570\u4e0d\u80fd\u8d85\u8fc7\u7236\u961f\u5217\u4e2d\u53ef\u7528\u7684\u5e26\u5bbd\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">Scheduler-specific Options:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u8c03\u5ea6\u7a0b\u5e8f\u7279\u5b9a\u7684\u9009\u9879\u3002 \u5b83\u4eec\u6839\u636e\u961f\u5217\u662f\u4f7f\u7528HFSC\uff0cCBQ\u8fd8\u662fPRIQ\u800c\u6539\u53d8\u3002 \u5b83\u4eec\u90fd\u5728ALTQ\u8ba1\u5212\u8c03\u5ea6\u7a0b\u5e8f\u7c7b\u578b\u4e2d\u8fdb\u884c\u4e86\u63cf\u8ff0\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">\u5355\u51fb\u4fdd\u5b58\u8bbe\u7f6e\u5e76\u8fd4\u56de\u5230\u961f\u5217\u5217\u8868\uff0c\u7136\u540e\u5355\u51fb\u5e94\u7528\u66f4\u6539\uff0c\u91cd\u65b0\u52a0\u8f7d\u961f\u5217\u5e76\u6fc0\u6d3b\u66f4\u6539\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u7f16\u8f91\u6d41\u91cf\u7ba1\u7406\u89c4\u5219<\/h2>\n<p style=\"text-align: justify;\">\u6d41\u91cf\u7ba1\u7406\u89c4\u5219\u63a7\u5236\u6d41\u91cf\u5982\u4f55\u5206\u914d\u5230\u961f\u5217\u4e2d\u3002 \u5982\u679c\u65b0\u8fde\u63a5\u7b26\u5408\u6d41\u91cf\u7ba1\u7406\u89c4\u5219\uff0c\u9632\u706b\u5899\u4f1a\u5c06\u8be5\u8fde\u63a5\u7684\u6570\u636e\u5305\u5206\u914d\u5230\u8be5\u89c4\u5219\u6307\u5b9a\u7684\u961f\u5217\u4e2d\u3002<\/p>\n<p style=\"text-align: justify;\">\u6570\u636e\u5305\u5339\u914d\u7531\u9632\u706b\u5899\u89c4\u5219\u5904\u7406\uff0c\u7279\u522b\u662f\u5728\u6d6e\u52a8\u9009\u9879\u5361\u4e0a\u3002 \u7f16\u8f91\u6d41\u91cf\u7ba1\u7406\u89c4\u5219\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u5230<strong>\u9632\u706b\u5899&gt;\u89c4\u5219\u7b56\u7565<\/strong><\/li>\n<li>\u70b9\u51fb\u6d6e\u52a8\u9009\u9879\u5361<\/li>\n<li>\u5728\u5217\u8868\u4e2d\u627e\u5230\u8981\u7f16\u8f91\u7684\u89c4\u5219\uff0c\u5982\u4e0b\u56fe\u6240\u793a<\/li>\n<li>\u5355\u51fb<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1668\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/fa-pencil.png\" alt=\"\" width=\"25\" height=\"25\" \/> \u7f16\u8f91\u73b0\u6709\u89c4\u5219 \uff0c\u5355\u51fb<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1732\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/fa-clone.png\" alt=\"\" width=\"25\" height=\"25\" \/>\u00a0\u521b\u5efa\u89c4\u5219\u7684\u526f\u672c<\/li>\n<li>\u8fdb\u884c\u5fc5\u8981\u7684\u8c03\u6574\u4ee5\u5339\u914d\u4e0d\u540c\u7684\u8fde\u63a5<\/li>\n<li>\u7f16\u8f91\u9632\u706b\u5899\u89c4\u5219\u5e94\u4fdd\u5b58\u5e76\u5e94\u7528\u66f4\u6539<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u53ef\u4ee5\u5c06\u63a5\u53e3\u9009\u9879\u5361\u7684\u901a\u8fc7(pass)\u89c4\u5219\u5e94\u7528\u5230\u961f\u5217\uff0c\u4f46\u5411\u5bfc\u4ec5\u4f7f\u7528\u4e0d\u5f71\u54cd\u8fde\u63a5\u662f\u5426\u901a\u8fc7\u6216\u963b\u6b62\u7684\u5339\u914d\u64cd\u4f5c\u5728\u201c\u6d6e\u52a8\u201d\u9009\u9879\u5361\u4e0a\u521b\u5efa\u89c4\u5219\uff1b\u5b83\u53ea\u6392\u961f\u6d41\u91cf\u3002 \u56e0\u4e3a\u8fd9\u4e9b\u89c4\u5219\u4e0e\u4efb\u4f55\u5176\u4ed6\u89c4\u5219\u7684\u64cd\u4f5c\u76f8\u540c\uff0c\u6240\u4ee5\u53ef\u4ee5\u4f7f\u7528\u7528\u4e8e\u5339\u914d\u8fde\u63a5\u7684\u4efb\u4f55\u6807\u51c6\u6765\u6392\u961f\u3002<\/p>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1871\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-rules.png\" alt=\"\" width=\"1141\" height=\"524\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-rules.png 1141w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-rules-1024x470.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-rules-300x138.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-rules-768x353.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/trafficshaper-rules-500x230.png 500w\" sizes=\"auto, (max-width: 1141px) 100vw, 1141px\" \/><\/p>\n<h2 style=\"text-align: justify;\">\u6d41\u91cf\u7ba1\u7406\u89c4\u5219\u5339\u914d\u6280\u5de7<\/h2>\n<p style=\"text-align: justify;\">\u7531\u4e8e\u4ee5\u4e0b\u51e0\u4e2a\u56e0\u7d20\uff0c\u53ef\u80fd\u4f1a\u96be\u4ee5\u6ee1\u8db3\u5bf9\u89c4\u5219\u7684\u5339\u914d\u8981\u6c42\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>NAT\u5728\u51fa\u7ad9\u9632\u706b\u5899\u89c4\u5219\u53ef\u4ee5\u5339\u914d\u8fde\u63a5\u4e4b\u524d\u5e94\u7528\uff0c\u56e0\u6b64\u5bf9\u4e8e\u5177\u6709\u51fa\u7ad9NAT\u7684\u8fde\u63a5\u5728\u79bb\u5f00WAN\u7c7b\u578b\u63a5\u53e3\u65f6\u5e94\u7528\uff0c\u79c1\u6709IP\u5730\u5740\u6e90\u88abNAT\u9690\u85cf\u5e76\u4e14\u65e0\u6cd5\u4e0e\u89c4\u5219\u5339\u914d\u3002<\/li>\n<li>\u67d0\u4e9b\u534f\u8bae\uff08\u4f8b\u5982Bittorrent\uff09\u5c06\u4f7f\u7528\u968f\u673a\u7aef\u53e3\u6216\u4e0e\u5176\u4ed6\u670d\u52a1\u76f8\u540c\u7684\u7aef\u53e3\u3002<\/li>\n<li>\u9632\u706b\u5899\u65e0\u6cd5\u533a\u5206\u4f7f\u7528\u76f8\u540c\u7aef\u53e3\u7684\u591a\u4e2a\u534f\u8bae\u3002<\/li>\n<li>\u534f\u8bae\u4f7f\u7528\u7684\u7aef\u53e3\u592a\u5bbd\u6cdb\uff0c\u4ee5\u81f3\u4e8e\u65e0\u6cd5\u4e0e\u5176\u4ed6\u6d41\u91cf\u533a\u5206\u5f00\u6765\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u5c3d\u7ba1\u8fd9\u4e9b\u65b9\u6cd5\u4e0d\u80fd\u76f4\u63a5\u7531\u9632\u706b\u5899\u89e3\u51b3\uff0c\u4f46\u5728\u5c11\u6570\u60c5\u51b5\u4e0b\uff0c\u6709\u529e\u6cd5\u89e3\u51b3\u8fd9\u4e9b\u9650\u5236\u3002<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u8981\u901a\u8fc7WAN\u6d6e\u52a8\u89c4\u5219\u4e2d\u51fa\u7ad9\u7684\u79c1\u6709\u5730\u5740\u6e90\u8fdb\u884c\u5339\u914d\uff0c\u8bf7\u9996\u5148\u5728\u6d41\u91cf\u901a\u8fc7\u672c\u5730\u63a5\u53e3\u65f6\u6807\u8bb0\u6d41\u91cf\u3002\u4f8b\u5982\uff0c\u5339\u914d\u5c40\u57df\u7f51\u5165\u7ad9\u5e76\u4f7f\u7528\u9ad8\u7ea7\u6807\u8bb0\u5b57\u6bb5\u8bbe\u7f6e\u503c\uff0c\u7136\u540e\u4f7f\u7528WAN\u4fa7\u6d6e\u52a8\u89c4\u5219\u4e0a\u7684\u6807\u8bb0\u5b57\u6bb5\u5339\u914d\u9000\u51fa\u9632\u706b\u5899\u65f6\u7684\u76f8\u540c\u8fde\u63a5\u3002\u6216\u8005\uff0c\u5728\u6d41\u91cf\u8fdb\u5165LAN\u65f6\u4f7f\u7528\u901a\u8fc7\u89c4\u5219\u6392\u961f\uff0c\u800c\u4e0d\u662f\u5728\u9000\u51faWAN\u65f6\u6392\u961f\u3002<\/li>\n<li>\u5728\u53ef\u80fd\u7684\u60c5\u51b5\u4e0b\uff0c\u901a\u8fc7\u5730\u5740\u800c\u4e0d\u662f\u7aef\u53e3\/\u534f\u8bae\u8fdb\u884c\u5339\u914d\uff0c\u4ee5\u627e\u51fa\u4e0d\u660e\u786e\u7684\u534f\u8bae\u3002\u5728\u8fd9\u4e9b\u60c5\u51b5\u4e0b\uff0c\u672c\u5730\u6e90\u6216\u8fdc\u7a0b\u76ee\u6807\u53ef\u80fd\u662f\u5355\u4e2a\u5730\u5740\u6216\u4e00\u5c0f\u7ec4\u5730\u5740\u3002\u4f8b\u5982\uff0c\u5982\u679c\u9632\u706b\u5899\u53ef\u4ee5\u5339\u914d\u8fdc\u7a0bSIP\u4e2d\u7ee7\u6216PBX\uff0c\u800c\u4e0d\u662f\u5c1d\u8bd5\u5339\u914dRTP\u7684\u5404\u79cd\u7aef\u53e3\uff08\u4f8b\u598210000-20000\uff09\uff0c\u5219\u5339\u914dVoIP\u6d41\u91cf\u8981\u7b80\u5355\u5f97\u591a\u3002<\/li>\n<li>\u5982\u679c\u7f51\u7edc\u4e0a\u5141\u8bb8\u4f7f\u7528bittorrent\uff0c\u4f46\u5fc5\u987b\u5bf9\u5176\u8fdb\u884c\u7ba1\u7406\uff0c\u7136\u540e\u6307\u5b9a\u5141\u8bb8\u4f7f\u7528bittorrent\u7684\u7279\u5b9a\u672c\u5730\u8bbe\u5907\uff0c\u7136\u540e\u5c06\u6240\u6709\u4e0e\u8be5\u8bbe\u5907\u7684\u8fde\u63a5\u8bbe\u7f6e\u4e3a\u70b9\u5bf9\u70b9\u6d41\u91cf\u3002<\/li>\n<\/ul>\n<h2 style=\"text-align: justify;\">\u5220\u9664\u6d41\u91cf\u7ba1\u7406\u8bbe\u7f6e<\/h2>\n<p style=\"text-align: justify;\">\u8981\u5220\u9664\u7531\u5411\u5bfc\u521b\u5efa\u7684\u6240\u6709\u6d41\u91cf\u7ba1\u7406\u5668\u961f\u5217\u548c\u89c4\u5219\uff0c\u8bf7\u6267\u884c\u4ee5\u4e0b\u64cd\u4f5c\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u5230\u9632\u706b\u5899&gt;\u6d41\u91cf\u7ba1\u7406<\/li>\n<li>\u5355\u51fb<strong>\u6309\u63a5\u53e3<\/strong>\u9009\u9879\u5361<\/li>\n<li>\u5355\u51fb <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1678\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/fa-trash.png\" alt=\"\" width=\"25\" height=\"25\" \/>\u00a0\u5220\u9664\u6d41\u91cf\u7ba1\u7406\u5668<\/li>\n<li>\u5728\u786e\u8ba4\u63d0\u793a\u4e0a\u5355\u51fb\u786e\u5b9a<\/li>\n<\/ul>\n<h1 style=\"text-align: justify;\">\u9650\u5236\u5668<\/h1>\n<p style=\"text-align: justify;\">\u9650\u5236\u5668\u662f\u6d41\u91cf\u7ba1\u7406\u7684\u53e6\u4e00\u79cd\u65b9\u6cd5\u3002\u9650\u5236\u5668\u4f7f\u7528dummynet\uff084\uff09\u6765\u5236\u5b9a\u5e26\u5bbd\u9650\u5236\u5e76\u6267\u884c\u5176\u4ed6\u4f18\u5148\u7ea7\u4efb\u52a1\uff0c\u800c\u4e14\u5b83\u4eec\u4e0d\u4f9d\u8d56\u4e8eALTQ\u3002\u9650\u5236\u5668\u662f\u76ee\u524d\u4f7f\u7528pfSense\u8f6f\u4ef6\u5b9e\u73b0\u6bcf\u4e2aIP\u5730\u5740\u6216\u6bcf\u4e2a\u7f51\u7edc\u5e26\u5bbd\u901f\u7387\u9650\u5236\u7684\u552f\u4e00\u65b9\u6cd5\u3002\u9650\u5236\u5668\u4e5f\u88ab\u5165\u7f51\u95e8\u6237\u5185\u90e8\u7528\u4e8e\u6bcf\u4e2a\u7528\u6237\u7684\u5e26\u5bbd\u9650\u5236\u3002<\/p>\n<p style=\"text-align: justify;\">\u9650\u5236\u5668\u5728\u9632\u706b\u5899&gt;\u6d41\u91cf\u7ba1\u7406\uff0c\u9650\u5236\u5668\u9009\u9879\u5361\u4e0a\u8fdb\u884c\u7ba1\u7406\u3002<\/p>\n<p style=\"text-align: justify;\">\u50cfHFSC\u548cCBQ\u4e00\u6837\uff0c\u9650\u5236\u5668\u53ef\u4ee5\u4e0e\u5176\u4ed6\u961f\u5217\u4e2d\u7684\u961f\u5217\u5d4c\u5957\u3002\u6839\u7ea7\u9650\u5236\u5668\uff08\u4e5f\u79f0\u4e3a\u7ba1\u9053\uff09\u53ef\u80fd\u5177\u6709\u5e26\u5bbd\u9650\u5236\u548c\u5ef6\u8fdf\uff0c\u800c\u5b50\u9650\u5236\u5668\uff08\u4e5f\u79f0\u4e3a\u961f\u5217\uff09\u53ef\u80fd\u5177\u6709\u4f18\u5148\u7ea7\uff08\u4e5f\u79f0\u4e3a\u6743\u91cd\uff09\u3002\u5e26\u5bbd\u9650\u5236\u53ef\u4ee5\u7531\u6e90IP\u5730\u5740\u6216\u76ee\u6807IP\u5730\u5740\u9009\u62e9\u6027\u5730\u8fdb\u884c\u5c4f\u853d\uff0c\u4ee5\u4fbf\u9650\u5236\u53ef\u4ee5\u5e94\u7528\u5728\u6bcf\u4e2aIP\u5730\u5740\u6216\u7f51\u7edc\u57fa\u7840\u4e0a\uff0c\u800c\u4e0d\u662f\u4f5c\u4e3a\u4e00\u822c\u7ec4\u3002<\/p>\n<p style=\"text-align: justify;\">\u9650\u5236\u5668\u51e0\u4e4e\u603b\u662f\u6210\u5bf9\u4f7f\u7528\uff1a\u4e00\u4e2a\u7528\u4e8e\u4e0b\u8f7d\u6d41\u91cf\uff0c\u4e00\u4e2a\u7528\u4e8e\u4e0a\u4f20\u6d41\u91cf\u3002<\/p>\n<p style=\"text-align: justify;\">dummynet\uff084\uff09\u7cfb\u7edf\u6700\u521d\u88ab\u8bbe\u8ba1\u4e3a\u4e00\u79cd\u6d4b\u8bd5TCP\u62e5\u5835\u63a7\u5236\u7684\u624b\u6bb5\uff0c\u73b0\u5728\u5df2\u7ecf\u9010\u6e10\u5b8c\u5584\u3002\u7531\u4e8e\u8fd9\u4e2a\u521d\u59cb\u8bbe\u8ba1\u76ee\u7684\uff0c\u9650\u5236\u5668\u7684\u72ec\u7279\u4e4b\u5904\u5728\u4e8e\u5b83\u4eec\u53ef\u4ee5\u7528\u6765\u8bf1\u53d1\u4eba\u4e3a\u4e22\u5305\u548c\u5ef6\u8fdf\u7f51\u7edc\u6d41\u91cf\u3002\u8fd9\u4e3b\u8981\u7528\u4e8e\u6545\u969c\u6392\u9664\u548c\u6d4b\u8bd5\uff08\u6216\u8005\u6076\u610f\u5e76\u5728\u67d0\u4eba\u8eab\u4e0a\u73a9\u6076\u4f5c\u5267\uff09\uff0c\u5e76\u4e14\u5728\u751f\u4ea7\u4e2d\u4e0d\u5e38\u89c1\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u9650\u5236\u5668\u7684\u7528\u9014<\/h2>\n<p style=\"text-align: justify;\">\u9650\u5236\u5668\u7684\u4e3b\u8981\u7528\u9014\u662f\u4e3a\u7528\u6237\u6216\u7279\u5b9a\u534f\u8bae\u5e94\u7528\u5e26\u5bbd\u9650\u5236\uff0c\u4f8b\u5982\uff0c \u201cSMTP\u6700\u59271Mbit \/ s\u201d\u6216\u201cJoe\u7684PC\u53ea\u80fd\u4f7f\u75285Mbit \/ s\u201d\u3002\u9650\u5236\u5668\u53ef\u4ee5\u5e94\u7528\u5230\u6bcf\u4e2aIP\u5730\u5740\u6216\u6bcf\u4e2a\u7f51\u7edc\uff0c\u4f8b\u5982\u201c192.168.50.0\/24\u4e2d\u7684\u6240\u6709\u7528\u6237\u6bcf\u4e2a\u6700\u591a\u53ef\u4ee5\u4f7f\u75283Mbit \/ s\u201d\u6216\u201c\u8bbf\u5ba2\u7f51\u7edc\u548c\u516c\u5171\u7f51\u7edc\u53ef\u4ee5\u4e3a\u6bcf\u4e2a\u7f51\u6bb5\u4f7f\u75281Mbit \/ s\u201d\u3002<\/p>\n<p style=\"text-align: justify;\">\u9650\u5236\u5668\u662fpfSense\u8f6f\u4ef6\u4e2d\u552f\u4e00\u80fd\u591f\u4ee5\u8fd9\u79cd\u65b9\u5f0f\u8fdb\u884c\u8d85\u989d\u8ba2\u8d2d\u7684\u6d41\u91cf\u7ba1\u7406\u5668\u3002\u3002 ALTQ\u6d41\u91cf\u7ba1\u7406\u5668\u8981\u6c42\u6240\u6709\u5b50\u961f\u5217\u7684\u603b\u548c\u4e0d\u8d85\u8fc7\u7236\u961f\u5217\u7684\u901f\u5ea6\uff0c\u4f46\u662f\u88ab\u5c4f\u853d\u7684\u9650\u5236\u5668\u5141\u8bb8\u8bbe\u5b9a\u9650\u5236\u5230\u901a\u8fc7\u9632\u706b\u5899\u89c4\u5219\u901a\u8fc7\u9650\u5236\u5668\u8f93\u5165\u7684\u5c3d\u53ef\u80fd\u591a\u7684IP\u5730\u5740\u3002<\/p>\n<p style=\"text-align: justify;\">\u4ece\u6982\u5ff5\u4e0a\u8bb2\uff0c\u5c06\u9650\u5236\u5668\u89c6\u4e3a\u4e00\u4e2a\u7ba1\u9053\u3002\u6240\u6709\u6d41\u7ecf\u975e\u5c4f\u853d\u9650\u5236\u5668\u7684\u6d41\u91cf\u90fd\u4f1a\u4ece\u540c\u4e00\u4e2a\u7ba1\u9053\u4e2d\u83b7\u53d6\u5e26\u5bbd\u3002\u5c4f\u853d\u9650\u5236\u5668\u53ef\u4ee5\u6709\u6548\u5730\u8bbe\u7f6e\u591a\u4e2a\u76f8\u540c\u5927\u5c0f\u7684\u7ba1\u9053\uff0c\u6bcf\u4e2a\u88ab\u5c4f\u853d\u7ec4\u4e00\u4e2a\u7ba1\u9053\u3002\u65e0\u8bba\u662f\u5355\u4e2a\u4e3b\u673a\u8fd8\u662f\u6574\u4e2a\u7f51\u7edc\u53d6\u51b3\u4e8e\u63a9\u7801\u503c\u3002<\/p>\n<p style=\"text-align: justify;\">\u9650\u5236\u5668\u8fd8\u53ef\u4ee5\u901a\u8fc7\u9650\u5236\u9664\u7279\u5b9a\u534f\u8bae\u4e4b\u5916\u7684\u6240\u6709\u5185\u5bb9\u6765\u5141\u8bb8\u4fdd\u7559\u5e26\u5bbd\uff0c\u7136\u540e\u6d88\u8017\u6240\u6709\u5269\u4f59\u5e26\u5bbd\u3002\u572810Mbit \/ s\u7ebf\u8def\u4e0a\u7684\u8fd9\u79cd\u7c7b\u578b\u7684\u8bbe\u7f6e\u4e2d\uff0c\u9632\u706b\u5899\u5c06\u4f20\u9001\u6765\u81ea\u4f8b\u5982\u6ca1\u6709\u9650\u5236\u5668\u7684SIP\u670d\u52a1\u5668\u7684\u6d41\u91cf\u3002\u7136\u540e\uff0c\u9632\u706b\u5899\u5c06\u5bf9\u6240\u6709\u5176\u4ed6\u6d41\u91cf\u4f7f\u7528\u901a\u8fc7\u89c4\u5219\uff0c\u9650\u5236\u4e3a8Mbit \/ s\u3002\u8fd9\u5c06\u8ba9SIP\u670d\u52a1\u5668\u4f7f\u7528\u5b83\u60f3\u8981\u7684\u6240\u6709\u5e26\u5bbd\uff0c\u4f46\u5b83\u672c\u8eab\u81f3\u5c11\u4f1a\u67092Mbit \/ s\u7684\u5e26\u5bbd\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u9650\u5236\u5668\u5982\u4f55\u5de5\u4f5c<\/h2>\n<p style=\"text-align: justify;\">\u4e0eALTQ\u4e00\u6837\uff0c\u9650\u5236\u5668\u901a\u8fc7\u4e22\u5f03\u6216\u5ef6\u8fdf\u6570\u636e\u5305\u6765\u5b9e\u73b0\u7279\u5b9a\u7684\u7ebf\u8def\u901f\u7387\uff0c\u4ece\u800c\u5c06\u6d41\u91cf\u4fdd\u6301\u5728\u67d0\u4e2a\u503c\u3002 \u901a\u5e38\u5229\u7528\u534f\u8bae\u4e2d\u7684\u5185\u7f6e\u673a\u5236\u6765\u68c0\u6d4b\u4e22\u5305\u5e76\u56de\u9000\u5230\u53ef\u6301\u7eed\u7684\u901f\u5ea6\u3002<\/p>\n<p style=\"text-align: justify;\">\u5728\u6570\u636e\u5305\u5728\u540c\u4e00\u7236\u7ba1\u9053\u4e0b\u6392\u961f\u7684\u60c5\u51b5\u4e0b\uff0c\u9632\u706b\u5899\u5728\u53d1\u9001\u6570\u636e\u5305\u4e4b\u524d\u5148\u8003\u8651\u5b83\u4eec\u7684\u6743\u91cd\u3002 \u4e0eCBQ\u548cPRIQ\u7684\u4f18\u5148\u7ea7\u4e0d\u540c\uff0c\u9650\u5236\u5668\u4e2d\u961f\u5217\u7684\u6743\u91cd\u7edd\u4e0d\u4f1a\u56e0\u5e26\u5bbd\u800c\u4f7f\u5176\u4e0d\u8db3\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u9650\u5236\u5668\u548cIPv6<\/h2>\n<p style=\"text-align: justify;\">\u9650\u5236\u5668\u5728IPv6\u4e0b\u6b63\u5e38\u5de5\u4f5c\uff0c\u4f46\u5b83\u9700\u8981\u5355\u72ec\u7684IPv4\u548cIPv6\u89c4\u5219\u6765\u6b63\u786e\u5e94\u7528\u9650\u5236\u5668\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u9650\u5236\u7684\u5c40\u9650\u6027<\/h2>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u9650\u5236\u5668\u7ba1\u9053\u6ca1\u6709\u501f\u7528\u5176\u4ed6\u7ba1\u9053\u5e26\u5bbd\u7684\u6982\u5ff5\u3002 \u9650\u5236\u603b\u662f\u6709\u4e00\u4e2a\u5f3a\u5236\u7684\u4e0a\u9650\u3002<\/li>\n<li>\u9650\u5236\u5668\u4f7f\u7528IPFW\uff0c\u6240\u4ee5IPFW\u5185\u6838\u6a21\u5757\u4f1a\u6709\u989d\u5916\u7684\uff08\u5c3d\u7ba1\u5f88\u5c0f\u7684\uff09\u5f00\u9500\u5e76\u6d89\u53ca\u989d\u5916\u7684\u6570\u636e\u5305\u5904\u7406\u4efb\u52a1\u3002<\/li>\n<li>\u9650\u5236\u5668\u4e0d\u80fd\u6709\u6548\u4fdd\u8bc1\u7ba1\u9053\u6216\u961f\u5217\u7684\u6700\u5c0f\u5e26\u5bbd\u91cf\uff0c\u53ea\u6709\u6700\u5927\u503c\u3002<\/li>\n<li>\u5b50\u961f\u5217\u4e0d\u80fd\u6709\u5e26\u5bbd\u503c\uff0c\u6240\u4ee5\u7ba1\u9053\u4e0d\u80fd\u6309\u961f\u5217\u62c6\u5206\u6210\u66f4\u5c0f\u7684\u7ba1\u9053\u3002\u00a0\u5b50\u961f\u5217\u53ea\u80fd\u4f7f\u7528\u6743\u91cd\u6765\u786e\u5b9a\u7ba1\u9053\u4e2d\u7684\u6570\u636e\u5305\u7684\u4f18\u5148\u7ea7\u3002<\/li>\n<li>\u5ef6\u8fdf\u548c\u6392\u961f\u6570\u636e\u5305\u9020\u6210\u7684\u5f00\u9500\u53ef\u80fd\u4f1a\u5bfc\u81f4mbuf\u4f7f\u7528\u7387\u589e\u52a0\u3002<\/li>\n<\/ul>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u6ce8\u610f\uff1a\u76ee\u524d\uff0c\u9650\u5236\u5668\u4e0epfsync\u72b6\u6001\u540c\u6b65\u4e0d\u517c\u5bb9\u3002\u5bf9\u4e8e\u4f7f\u7528\u9ad8\u53ef\u7528\u6027\u7684\u9632\u706b\u5899\u96c6\u7fa4\uff0c\u4f7f\u7528\u9650\u5236\u5668\u65f6\u5fc5\u987b\u7981\u7528\u72b6\u6001\u540c\u6b65\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u9650\u5236\u5668\u548c\u591aWAN<\/h2>\n<p style=\"text-align: justify;\">\u5728\u4f7f\u7528\u591aWAN\u7684\u9650\u5236\u5668\u65f6\uff0c\u5fc5\u987b\u4f7f\u7528\u4e3a\u9ed8\u8ba4\u7f51\u5173\u8bbe\u7f6e\u7684\u6d6e\u52a8\u89c4\u5219\u5e94\u7528\u975e\u9ed8\u8ba4\u7f51\u5173\u7684\u9650\u5236\uff0c\u5e76\u914d\u7f6e\u76f8\u5e94\u7684\u7f51\u5173\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u521b\u5efa\u9650\u5236\u5668<\/h2>\n<p style=\"text-align: justify;\">\u9650\u5236\u5668\u5728\u9632\u706b\u5899&gt;\u6d41\u91cf\u7ba1\u7406\uff0c\u9650\u5236\u5668\u9009\u9879\u5361\u4e0a\u8fdb\u884c\u7ba1\u7406\u3002<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u8981\u521b\u5efa\u65b0\u7684\u6839\u7ea7\u9650\u5236\u5668\uff08\u7ba1\u9053\uff09\uff0c\u8bf7\u5355\u51fb<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1666\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/fa-plus.png\" alt=\"\" width=\"25\" height=\"25\" \/>\u6dfb\u52a0\u9650\u5236\u5668\u3002<\/li>\n<li>\u8981\u521b\u5efa\u5b50\u9650\u5236\u5668\uff08\u961f\u5217\uff09\uff0c\u8bf7\u5355\u51fb\u53ef\u5728\u5176\u4e0b\u521b\u5efa\u7684\u9650\u5236\u5668\uff0c\u7136\u540e\u5355\u51fb<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1666\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/fa-plus.png\" alt=\"\" width=\"25\" height=\"25\" \/>\u6dfb\u52a0\u65b0\u961f\u5217\u3002<\/li>\n<\/ul>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u63d0\u793a\uff1a\u5728\u51e0\u4e4e\u6240\u6709\u60c5\u51b5\u4e0b\uff0c\u9650\u5236\u5668\u90fd\u5728\u540c\u4e00\u7ea7\u522b\u6210\u5bf9\u5b58\u5728\uff08\u4f8b\u5982\u4e24\u4e2a\u7ba1\u9053\u6216\u4e24\u4e2a\u961f\u5217\uff09\uff1a\u4e00\u4e2a\u7528\u4e8e\u5165\u7ad9\u6d41\u91cf\uff0c\u4e00\u4e2a\u7528\u4e8e\u51fa\u7ad9\u6d41\u91cf\u3002\u521b\u5efa\u65b0\u7684\u9650\u5236\u5668\u6216\u961f\u5217\u65f6\uff0c\u8bf7\u4e3a\u6bcf\u4e2a\u65b9\u5411\u521b\u5efa\u4e00\u4e2a\u9650\u5236\u5668\u6216\u961f\u5217\u3002<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">Enable:<\/th>\n<td class=\"field-body\">\u9009\u4e2d\u8be5\u6846\u4ee5\u542f\u7528\u6b64\u9650\u5236\u5668\u3002\u5982\u679c\u7981\u7528\uff0c\u5b83\u5c06\u4e0d\u53ef\u7528\u4e8e\u9632\u706b\u5899\u89c4\u5219\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">Name:<\/th>\n<td class=\"field-body\">\u5b9a\u4e49\u9650\u5236\u5668\u7684\u540d\u79f0\uff0c\u56e0\u4e3a\u5b83\u5c06\u663e\u793a\u5728\u9632\u706b\u5899\u89c4\u5219\u7528\u4e8e\u9009\u62e9\u3002\u540d\u79f0\u5fc5\u987b\u662f\u5b57\u6bcd\u6570\u5b57\uff0c\u5e76\u4e14\u8fd8\u53ef\u4ee5\u5305\u542b &#8211; \u548c_\u3002<\/p>\n<p class=\"first admonition-title\">\u63d0\u793a<\/p>\n<p>\u5728\u9009\u62e9\u540d\u79f0\u65f6\uff0c\u907f\u514d\u4f7f\u7528In\u548cOut\uff0c\u56e0\u4e3a\u5982\u679c\u5728WAN\u548cLAN\u4e0a\u4f7f\u7528\u76f8\u540c\u7684\u9650\u5236\u5668\uff0c\u5219\u4f1a\u5728\u4e00\u4e2a\u63a5\u53e3\u4e0a\u4f7f\u7528In\u65b9\u5411\uff0c\u800c\u5728\u53e6\u4e00\u4e2a\u63a5\u53e3\u4e0a\u4f7f\u7528Out\u65b9\u5411\u3002\u6700\u4f73\u505a\u6cd5\u662f\u4f7f\u7528Down\u00a0\u6216Download\u00a0\uff0cUp\u6216upload\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">Bandwidth (Pipes):<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u672c\u8282\u5b9a\u4e49\u4e86\u7ba1\u9053\u7684\u5e26\u5bbd\u503c\uff0c\u6216\u8005\u6d89\u53ca\u5230\u65f6\u95f4\u8868\u7684\u591a\u4e2a\u5e26\u5bbd\u3002\u7f16\u8f91\u5b50\u9650\u5236\u5668\uff08\u961f\u5217\uff09\u65f6\u4e0d\u663e\u793a\u6b64\u9009\u9879\u3002<\/p>\n<p>Bandwidth\uff1a\u7ba1\u9053\u5e26\u5bbd\u7684\u6570\u5b57\u90e8\u5206\uff0c\u4f8b\u59823\u6216500\u3002<\/p>\n<p>Bw Type\uff1a\u5e26\u5bbd\u5b57\u6bb5\u7684\u5355\u4f4d\uff0c\u5982Mbit \/ s\uff0cKbit \/ s\u6216Bit \/ s\u3002<\/p>\n<p>Schedule\uff1a\u5982\u679c\u9632\u706b\u5899\u5177\u6709\u5b9a\u4e49\u7684\u65f6\u95f4\u8868\uff08\u57fa\u4e8e\u65f6\u95f4\u89c4\u5219\uff09\uff0c\u5219\u9632\u706b\u5899\u4f1a\u5728\u6b64\u5217\u8868\u4e2d\u63d0\u4f9b\u5b83\u4eec\u3002 \u5f53\u9632\u706b\u5899\u6b63\u5728\u4f7f\u7528\u65f6\u95f4\u8868\u65f6\uff0c\u9650\u5236\u5668\u53ef\u4ee5\u4e3a\u6bcf\u4e2a\u6f5c\u5728\u65f6\u95f4\u8868\u8bbe\u7f6e\u4e00\u4e2a\u5e26\u5bbd\u503c\u3002 \u901a\u8fc7\u70b9\u51fb<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1666\" style=\"text-align: justify; font-family: inherit; font-size: inherit;\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/fa-plus.png\" alt=\"\" width=\"25\" height=\"25\" \/><span style=\"text-align: justify; font-family: inherit; font-size: inherit;\">\u6765\u6dfb\u52a0\u8ba1\u5212\u8868\u3002\u5982\u679c\u9650\u5236\u5668\u5305\u542b\u591a\u4e2a\u5e26\u5bbd\u8981\u6c42\uff0c\u5219\u5b83\u4eec\u5fc5\u987b\u5206\u522b\u4f7f\u7528\u4e0d\u540c\u7684\u65f6\u95f4\u8868\u3002 \u4f8b\u5982\uff0c\u5982\u679c\u9632\u706b\u5899\u5177\u6709\u201c\u5de5\u4f5c\u65e5\u201d\u8ba1\u5212\uff0c\u5219\u5b83\u8fd8\u5fc5\u987b\u5177\u6709\u201c\u5173\u95ed\u65f6\u95f4\u201d\u8ba1\u5212\uff0c\u5176\u4e2d\u5305\u542b\u7b2c\u4e8c\u4e2a\u5e26\u5bbd\u89c4\u8303\u7684\u201c\u5de5\u4f5c\u65e5\u201d\u4e2d\u672a\u5305\u62ec\u7684\u6240\u6709\u65f6\u95f4\u3002<\/span><\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">Mask:<\/th>\n<td class=\"field-body\">\u8be5\u4e0b\u62c9\u5217\u8868\u63a7\u5236\u9650\u5236\u5668\u5982\u4f55\u5c4f\u853d\u7ba1\u9053\u6216\u961f\u5217\u4e2d\u7684\u5730\u5740\u3002<\/p>\n<p>None\uff1a\u8bbe\u7f6e\u4e3a\u65e0\u65f6\uff0c\u9650\u5236\u5668\u4e0d\u6267\u884c\u4efb\u4f55\u5c4f\u853d\u3002\u7ba1\u9053\u5e26\u5bbd\u5c06\u4f5c\u4e3a\u4e00\u4e2a\u6574\u4f53\u5e94\u7528\u4e8e\u6240\u6709\u6d41\u91cf\u3002<\/p>\n<p>Source \/ Destination address\uff1a\u5f53\u4e3a\u6e90\u5730\u5740\u6216\u76ee\u6807\u5730\u5740\u8bbe\u7f6e\u9650\u5236\u5668\u65f6\uff0c\u6839\u636e\u5c4f\u853d\u4f4d\uff0c\u4f7f\u7528\u5c4f\u853d\u4e2d\u9009\u62e9\u7684\u65b9\u5411\uff0c\u7ba1\u9053\u5e26\u5bbd\u9650\u5236\u5c06\u5e94\u7528\u4e8e\u6bcfIP\u5730\u5740\u6216\u5b50\u7f51\u7684\u57fa\u7840\u4e0a\u3002\u901a\u5e38\uff0c\u9650\u5236\u5668\u5e94\u5728LAN\u7c7b\u578b\u63a5\u53e3\u4e0a\u9650\u5236\u4e0a\u4f20\u548c\u4e0b\u8f7d\u3002 \u4e0e\u5728\u5c40\u57df\u7f51\u548c\u5e7f\u57df\u7f51\u4e0a\u5e94\u7528\u9650\u5236\u5668\u65f6\u4ea4\u6362\u9650\u5236\u7684\u65b9\u5411\u7c7b\u4f3c\uff0c\u63a9\u7801\u4e5f\u662f\u4ea4\u6362\u7684\uff0c\u56e0\u6b64\u4e3aLAN\u4e0a\u7684\u540c\u4e00\u4e2a\u63a9\u7801\u8bbe\u7f6e\u7684\u9650\u5236\u5668\u4e5f\u53ef\u4ee5\u7528\u4e8eWAN\u51fa\u7ad9\u3002<\/p>\n<p>Mask Bits\uff1a\u6709\u5355\u72ec\u7684\u6846\u6765\u63a7\u5236IPv4\u548cIPv6\u7684\u5730\u5740\u5c4f\u853d\u3002 \u5bf9\u4e8eIPv4\uff0cIPv4\u63a9\u7801\u4f4d\u7684\u503c\u4e3a32\uff0c\u5219\u4f1a\u8bbe\u7f6e\u6bcfIPv4\u7684\u5730\u5740\u9650\u5236\uff0c\u8fd9\u662f\u6700\u5e38\u89c1\u7684\u7528\u6cd5\u3002 \u5bf9\u4e8e\u6bcfIPv6\u5730\u5740\u9650\u5236\uff0c\u4f7f\u7528128\u4f5c\u4e3aIPv6\u63a9\u7801\u4f4d\u503c\u3002\u8981\u521b\u5efa\u6bcf\u4e2a\u5b50\u7f51\u6216\u7c7b\u4f3c\u7684\u63a9\u7801\uff0c\u8bf7\u5728IPv4\u6216IPv6\u63a9\u7801\u4f4d\uff08\u598224\uff09\u7684\u76f8\u5e94\u5b57\u6bb5\u4e2d\u8f93\u5165\u5b50\u7f51\u4f4d\uff0c\u4ee5\u9650\u5236\/ 24\u4e2a\u5b50\u7f51\u7ec4\u4e2d\u7684IPv4\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">Description:<\/th>\n<td class=\"field-body\">\n<p class=\"first\">\u53ef\u9009\u6587\u672c\u6765\u89e3\u91ca\u9650\u5236\u5668\u7684\u7528\u9014\u3002<\/p>\n<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">Advanced Options:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u7f16\u8f91\u7ba1\u9053\u6216\u961f\u5217\u65f6\u4f1a\u6709\u6240\u4e0d\u540c\u7684\u5176\u4ed6\u9009\u9879\u3002<\/p>\n<p>Delay (Pipes)\uff1a\u5ef6\u8fdf\u9009\u9879\u53ea\u80fd\u5728\u9650\u5236\u5668\u7ba1\u9053\u4e0a\u627e\u5230\u3002 \u5b83\u5c06\u4ee5\u6beb\u79d2\u4e3a\u5355\u4f4d\u7684\u4eff\u771f\u5ef6\u8fdf\uff08\u5ef6\u8fdf\uff09\u5f15\u5165\u9650\u5236\u5668\u7ba1\u9053\u4e2d\u4efb\u4f55\u6570\u636e\u5305\u7684\u4f20\u8f93\u3002 \u8fd9\u901a\u5e38\u662f\u7a7a\u767d\u7684\uff0c\u4ee5\u4fbf\u9632\u706b\u5899\u5c3d\u53ef\u80fd\u5feb\u5730\u4f20\u8f93\u6570\u636e\u5305\u3002 \u8fd9\u53ef\u7528\u4e8e\u6a21\u62df\u5b9e\u9a8c\u5ba4\u6d4b\u8bd5\u7b49\u9ad8\u5ef6\u8fdf\u8fde\u63a5\uff0c\u5982\u536b\u661f\u4e0a\u884c\u94fe\u8def\u3002<\/p>\n<p>Weight (Queues)\uff1a\u6743\u91cd\u9009\u9879\u53ea\u80fd\u5728\u5b50\u9650\u5236\u5668\uff08\u961f\u5217\uff09\u4e0a\u627e\u5230\u3002 \u8be5\u503c\u53ef\u4ee5\u57281\u5230100\u7684\u8303\u56f4\u5185\u3002\u8f83\u9ad8\u7684\u503c\u7ed9\u4e88\u7ed9\u5b9a\u961f\u5217\u4e2d\u6570\u636e\u5305\u7684\u4f18\u5148\u7ea7\u3002 \u4e0ePRIQ\u548cCBQ\u4f18\u5148\u7ea7\u4e0d\u540c\uff0c\u4f4e\u6743\u91cd\u961f\u5217\u4e0d\u4f1a\u53d7\u5230\u9632\u706b\u5899\u5e26\u5bbd\u7684\u9650\u5236\u3002<\/p>\n<p>Packet loss rate\uff1a\u53e6\u4e00\u79cd\u4eba\u4e3a\u964d\u4f4e\u6d41\u91cf\u7684\u65b9\u6cd5\u3002 \u6570\u636e\u5305\u4e22\u5931\u7387\u53ef\u4ee5\u914d\u7f6e\u4e3a\u4e22\u5f03\u8fdb\u5165\u9650\u5236\u5668\u7684\u4e00\u5b9a\u6bd4\u4f8b\u7684\u6570\u636e\u5305\u3002 \u8be5\u503c\u4ee5\u767e\u5206\u6bd4\u7684\u5341\u8fdb\u5236\u8868\u793a\u5f62\u5f0f\u8868\u793a\uff0c\u56e0\u6b640.01\u4e3a1\uff05\uff0c\u6216\u767e\u5206\u4e4b\u4e00\u7684\u6570\u636e\u5305\u88ab\u4e22\u5f03\u3002 \u6b64\u5b57\u6bb5\u901a\u5e38\u4fdd\u7559\u4e3a\u7a7a\uff0c\u56e0\u6b64\u6bcf\u4e2a\u6570\u636e\u5305\u90fd\u7531\u9632\u706b\u5899\u63d0\u4f9b\u3002<\/p>\n<p>Queue Size\uff1a\u8bbe\u7f6e\u961f\u5217slots\u6307\u5b9a\u7684\u961f\u5217\u5927\u5c0f\uff0c\u7528\u4e8e\u5904\u7406\u6392\u961f\u5ef6\u8fdf\u3002 \u7559\u7a7a\uff0c\u9ed8\u8ba4\u4e3a50\u4e2aslots\uff0c\u8fd9\u662f\u63a8\u8350\u503c\u3002 \u4f4e\u901f\u94fe\u63a5\u53ef\u80fd\u9700\u8981\u8f83\u4f4e\u7684\u961f\u5217\u5927\u5c0f\u624d\u80fd\u9ad8\u6548\u8fd0\u884c\u3002 \u9ad8\u901f\u94fe\u8def\u53ef\u80fd\u9700\u8981\u66f4\u591a\u7684slots\u3002<\/p>\n<p>Bucket Size\uff1aBucket Size\u4e5f\u5728slots\u4e2d\u6307\u5b9a\uff0c\u8bbe\u7f6e\u7528\u4e8e\u961f\u5217\u5b58\u50a8\u7684\u54c8\u5e0c\u8868\u7684\u5927\u5c0f\u3002\u9ed8\u8ba4\u503c\u662f64\u3002\u5b83\u5fc5\u987b\u662f\u4ecb\u4e8e16\u548c65536\u4e4b\u95f4\u7684\u6570\u5b57\u503c\u3002\u8be5\u503c\u901a\u5e38\u4fdd\u7559\u4e3a\u7a7a\u767d\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 style=\"text-align: justify;\">\u5206\u914d\u548c\u4f7f\u7528\u9650\u5236\u5668<\/h2>\n<p style=\"text-align: justify;\">\u9650\u5236\u5668\u901a\u8fc7\u9ad8\u7ea7\u9009\u9879\u4e0b\u7684\u8f93\u5165\/\u8f93\u51fa\u7ba1\u9053\u9009\u62e9\u5668\u4f7f\u7528\u9632\u706b\u5899\u89c4\u5219\u8fdb\u884c\u5206\u914d\u3002\u9632\u706b\u5899\u89c4\u5219\u652f\u6301\u7684\u4efb\u4f55\u6f5c\u5728\u5339\u914d\u6807\u51c6\u90fd\u53ef\u4ee5\u5c06\u6d41\u91cf\u5206\u914d\u7ed9\u9650\u5236\u5668\u3002<\/p>\n<p style=\"text-align: justify;\">\u5c06\u9650\u5236\u5668\u5206\u914d\u7ed9\u89c4\u5219\u65f6\u8981\u8bb0\u4f4f\u7684\u6700\u91cd\u8981\u7684\u4e8b\u60c5\u662f\uff0cIn\u548cOut\u5b57\u6bb5\u662f\u4ece\u9632\u706b\u5899\u672c\u8eab\u7684\u89d2\u5ea6\u6307\u5b9a\u7684\u3002<\/p>\n<p style=\"text-align: justify;\">\u4f8b\u5982\uff0c\u5728\u5177\u6709\u5355\u4e2aLAN\u548c\u5355\u4e2aWAN\u7684\u9632\u706b\u5899\u914d\u7f6e\u4e2d\uff0cLAN\u63a5\u53e3\u4e0a\u7684\u5165\u7ad9\u6d41\u91cf\u6b63\u5728\u79bb\u5f00\u4e92\u8054\u7f51\uff0c\u5373\u4e0a\u4f20\u7684\u6570\u636e\u3002 LAN\u63a5\u53e3\u4e0a\u7684\u51fa\u7ad9\u6d41\u91cf\u6b63\u5728\u6d41\u5411\u5ba2\u6237\u7aefPC\uff0c\u5373\u4e0b\u8f7d\u7684\u6570\u636e\u3002\u5728WAN\u63a5\u53e3\u4e0a\uff0c\u65b9\u5411\u88ab\u98a0\u5012\uff1b\u5165\u7ad9\u6d41\u91cf\u4eceInternet\u5230\u5ba2\u6237\u7aef\uff08\u4e0b\u8f7d\uff09\uff0c\u51fa\u7ad9\u6d41\u91cf\u4ece\u5ba2\u6237\u7aef\u5230Internet\uff08\u4e0a\u4f20\uff09\u3002<\/p>\n<p style=\"text-align: justify;\">\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u9632\u706b\u5899\u89c4\u5219\u5c06\u540c\u65f6\u5177\u6709In\u9650\u5236\u5668\u548cOut\u9650\u5236\u5668\uff0c\u4f46\u9632\u706b\u5899\u53ea\u9700\u8981In\u9650\u5236\u5668\u5c31\u53ef\u4ee5\u5c06\u6d41\u91cf\u9650\u5236\u5728\u5355\u4e00\u65b9\u5411\u3002<\/p>\n<p style=\"text-align: justify;\">\u9650\u5236\u5668\u53ef\u80fd\u9002\u7528\u4e8e\u6b63\u5e38\u7684\u63a5\u53e3\u89c4\u5219\u6216\u6d6e\u52a8\u89c4\u5219\u3002\u5728\u51fa\u7ad9\u65b9\u5411\u4e0a\uff0cIn \/ Out\u9009\u62e9\u5728\u6982\u5ff5\u4e0a\u88ab\u53cd\u8f6c\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u68c0\u67e5\u9650\u5236\u5668\u4f7f\u7528\u60c5\u51b5<\/h2>\n<p style=\"text-align: justify;\">\u5173\u4e8e\u6709\u6548\u9650\u5236\u5668\u7684\u4fe1\u606f\u53ef\u4ee5\u5728\u8bca\u65ad&gt;\u9650\u5236\u5668\u4fe1\u606f\u4e0b\u627e\u5230\u3002 \u8fd9\u91cc\uff0c\u6bcf\u4e2a\u9650\u5236\u5668\u548c\u5b50\u961f\u5217\u90fd\u4ee5\u6587\u672c\u683c\u5f0f\u663e\u793a\u3002<\/p>\n<p style=\"text-align: justify;\">\u6bcf\u4e2a\u9650\u5236\u5668\u7684\u8bbe\u7f6e\u5e26\u5bbd\u548c\u53c2\u6570\u7531\u9875\u9762\u663e\u793a\uff0c\u4ee5\u53ca\u5728\u9650\u5236\u5668\u5185\u79fb\u52a8\u7684\u5f53\u524d\u6d41\u91cf\u7ea7\u522b\u3002 \u5728\u5c4f\u853d\u9650\u5236\u5668\u7684\u60c5\u51b5\u4e0b\uff0c\u9632\u706b\u5899\u4f1a\u663e\u793a\u6bcf\u4e2aIP\u5730\u5740\u6216\u5c4f\u853d\u7ec4\u7684\u5e26\u5bbd\u3002<\/p>\n<h1 style=\"text-align: justify;\">\u6d41\u91cf\u7ba1\u7406\u548cVPNs<\/h1>\n<p style=\"text-align: justify;\">\u4ee5\u4e0b\u8ba8\u8bba\u4e3b\u8981\u6d89\u53caALTQ\u6d41\u91cf\u7ba1\u7406\u3002\u9650\u5236\u5668\u53ef\u4ee5\u50cf\u4f7f\u7528\u4efb\u4f55\u5176\u4ed6\u63a5\u53e3\u548c\u89c4\u5219\u4e00\u6837\u4f7f\u7528***\u3002\u53ea\u6709ALTQ\u6d41\u91cf\u7ba1\u7406\u5668\u9700\u8981\u7279\u6b8a\u8003\u8651\u3002<\/p>\n<p style=\"text-align: justify;\">\u4f7f\u7528VPN\u8fdb\u884c\u6d41\u91cf\u7ba1\u7406\u5668\u662f\u4e00\u4e2a\u68d8\u624b\u7684\u8bdd\u9898\uff0c\u56e0\u4e3aVPN\u6d41\u91cf\u88ab\u89c6\u4e3a\u4e0e\u6d41\u91cf\u76f8\u5206\u79bb\uff0c\u4f46\u4e5f\u662f\u6d41\u91cf\u7684\u4e00\u90e8\u5206\u3002\u5982\u679cWAN\u4e3a10 Mbit \/ s\uff0c\u90a3\u4e48VPN\u4e5f\u53ef\u4ee5\u4f7f\u752810 Mbit \/ s\uff0c\u4f46\u5b9e\u9645\u4e0a\u5e76\u6ca1\u6709\u8003\u865120 Mbit \/ s\u7684\u5e26\u5bbd\uff0c\u53ea\u670910 Mbit \/ s\u3002\u56e0\u6b64\uff0c\u6bd4\u5e26\u5bbd\u66f4\u91cd\u89c6\u4f18\u5148\u7ea7\u7684\u6d41\u91cf\u7ba1\u7406\u65b9\u6cd5\u66f4\u53ef\u9760\uff0c\u5982PRIQ\u6216\u67d0\u4e9b\u60c5\u51b5\u4e0b\u7684CBQ\u3002<\/p>\n<p style=\"text-align: justify;\">\u5982\u679cVPN\u5185\u7684\u6240\u6709\u6d41\u91cf\u5fc5\u987b\u7531\u9632\u706b\u5899\u786e\u5b9a\u4f18\u5148\u7ea7\uff0c\u90a3\u4e48\u4ec5\u8003\u8651\u76f4\u63a5\u5728WAN\u4e0a\u7684VPN\u6d41\u91cf\u672c\u8eab\u5c31\u8db3\u591f\u4e86\uff0c\u800c\u4e0d\u662f\u5355\u72ec\u5c1d\u8bd5\u5728VPN\u4e0a\u6392\u961f\u6d41\u91cf\u3002\u5728\u8fd9\u4e9b\u60c5\u51b5\u4e0b\uff0c\u8bf7\u5728WAN\u4e0a\u4f7f\u7528\u6d6e\u52a8\u89c4\u5219\u6765\u5339\u914dVPN\u6d41\u91cf\u672c\u8eab\u3002\u786e\u5207\u7684\u6d41\u91cf\u7c7b\u578b\u53d6\u51b3\u4e8eVPN\u7684\u7c7b\u578b\u3002 WAN\u4e0a\u7684IPsec\u548cPPTP\u6d41\u91cf\u90fd\u53ef\u4ee5\u901a\u8fc7\u6574\u5f62\u5668\u5411\u5bfc\u8fdb\u884c\u4f18\u5148\u7ea7\u6392\u5e8f\uff0c\u8fd9\u4e9b\u89c4\u5219\u53ef\u7528\u4f5c\u5339\u914d\u5176\u4ed6\u534f\u8bae\u7684\u793a\u4f8b\u3002<\/p>\n<h2 style=\"text-align: justify;\">OpenVPN<\/h2>\n<p style=\"text-align: justify;\">\u4f7f\u7528OpenVPN\uff0c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u5b58\u5728\u591a\u4e2a\u63a5\u53e3\uff0c\u6bcf\u4e2aVPN\u4e00\u4e2a\u63a5\u53e3\u3002\u8fd9\u53ef\u4ee5\u4f7f\u67d0\u4e9b\u60c5\u51b5\u4e0b\u7684\u7ba1\u7406\u66f4\u5bb9\u6613\u3002 OpenVPN\u7684\u529f\u80fd\u8fd8\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u5f62\u6210WAN\u4e0a\u7684\u6d41\u91cf\u5e76\u5ffd\u7565\u96a7\u9053\u672c\u8eab\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u96a7\u9053\u5185\u6d41\u91cf\u7ba1\u7406<\/h3>\n<p style=\"text-align: justify;\">\u5982\u679c\u96a7\u9053\u4e0a\u627f\u8f7d\u4e86\u591a\u7c7b\u6d41\u91cf\uff0c\u5219\u5fc5\u987b\u5bf9\u96a7\u9053\u5185\u7684\u6d41\u91cf\u8fdb\u884c\u4f18\u5148\u7ea7\u5212\u5206\u3002 \u4e3a\u4e86\u4f7f\u5411\u5bfc\u4ee5\u8fd9\u79cd\u65b9\u5f0f\u8003\u8651\u6d41\u91cf\uff0c\u5fc5\u987b\u5728GUI\u4e2d\u5c06VPN\u6307\u5b9a\u4e3a\u5176\u81ea\u5df1\u7684\u63a5\u53e3\u3002 \u8981\u5b8c\u6210\u6b64\u64cd\u4f5c\uff0c\u8bf7\u6309\u7167\u63a5\u53e3\u5206\u914d\u548c\u914d\u7f6e\u4e2d\u7684\u8bf4\u660e\u8fdb\u884c\u5206\u914d\uff0c\u7136\u540e\u4f7f\u7528\u6574\u5f62\u5668\u5411\u5bfc\uff0c\u5c31\u597d\u50cf\u5b83\u662f\u4e00\u4e2a\u5355\u72ec\u7684WAN\u63a5\u53e3\u4e00\u6837\uff0c\u5e76\u50cf\u5f80\u5e38\u4e00\u6837\u5bf9\u6d41\u91cf\u8fdb\u884c\u5206\u7c7b\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u96a7\u9053\u5916\u6d41\u91cf\u7ba1\u7406 (passtos)<\/h3>\n<p style=\"text-align: justify;\">\u5982\u679c\u4e3b\u8981\u5173\u6ce8\u7684\u662f\u901a\u8fc7\u6574\u5f62\u5668\u5f62\u6210VoIP\u6d41\u91cf\uff0c\u5219\u9700\u8981\u8003\u8651\u7684\u53e6\u4e00\u4e2a\u9009\u62e9\u662fOpenVPN\u4e2d\u7684passtos\u9009\u9879\uff0c\u79f0\u4e3aOpenVPN\u5ba2\u6237\u7aef\u6216\u670d\u52a1\u5668\u9009\u9879\u4e2d\u7684\u670d\u52a1\u7c7b\u578b\u3002 \u6b64\u9009\u9879\u5c06\u5185\u90e8\u6570\u636e\u5305\u7684TOS\u4f4d\u590d\u5236\u5230VPN\u7684\u5916\u90e8\u6570\u636e\u5305\u3002 \u56e0\u6b64\uff0c\u5982\u679cVoIP\u6d41\u91cf\u5177\u6709\u5206\u7ec4\u5934\u90e8\u96c6\u7684TOS\uff08DSCP\uff09\u90e8\u5206\uff0c\u5219OpenVPN\u5206\u7ec4\u4e5f\u5c06\u5177\u6709\u76f8\u540c\u7684\u503c\u3002<\/p>\n<p style=\"text-align: justify;\">\u4f46\u662f\uff0c\u8be5\u9009\u9879\u5bf9\u4e8e\u5411\u4e2d\u95f4\u8def\u7531\u5668\u53d1\u9001\u5173\u4e8eQoS\u9700\u6c42\u7684\u4fe1\u53f7\u66f4\u6709\u7528\u3002 \u867d\u7136\u9632\u706b\u5899\u89c4\u5219\u4e0a\u7684DSCP\u9009\u9879\u53ef\u4ee5\u57fa\u4e8eTOS\u4f4d\u8fdb\u884c\u5339\u914d\uff0c\u5982Diffserv\u4ee3\u7801\u70b9\u4e2d\u6240\u8ff0\uff0c\u4f46\u8fd9\u79cd\u5339\u914d\u5fc5\u987b\u53d1\u751f\u5728\u521b\u5efa\u9632\u706b\u5899\u72b6\u6001\u7684\u6570\u636e\u5305\u4e2d\uff0c\u800c\u4e0d\u662f\u53d1\u751f\u5728\u6d41\u7ecf\u8be5\u72b6\u6001\u7684\u7279\u5b9a\u6570\u636e\u5305\u4e0a\u3002<\/p>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u6ce8\u610f\uff1a\u56e0\u4e3a\u8fd9\u4e2a\u9009\u9879\u544a\u8bc9OpenVPN\u5c06\u6570\u636e\u4ece\u5185\u90e8\u6570\u636e\u5305\u590d\u5236\u5230\u5916\u90e8\u6570\u636e\u5305\uff0c\u5b83\u786e\u5b9e\u66b4\u9732\u4e86\u4e00\u4e9b\u5173\u4e8e\u7a7f\u8d8aVPN\u7684\u901a\u4fe1\u7c7b\u578b\u7684\u4fe1\u606f\u3002 \u4fe1\u606f\u62ab\u9732\u867d\u7136\u8f83\u5c0f\uff0c\u4f46\u662f\u503c\u5f97\u5192\u9669\u5206\u4eab\u6b63\u786e\u7684\u6570\u636e\u5305\u4f18\u5148\u7ea7\uff0c\u8fd9\u53d6\u51b3\u4e8e\u7f51\u7edc\u73af\u5883\u7684\u9700\u6c42\u3002<\/p>\n<h2 style=\"text-align: justify;\">IPsec<\/h2>\n<p style=\"text-align: justify;\">\u65e0\u8bba\u914d\u7f6e\u591a\u5c11\u4e2a\u96a7\u9053\uff0c\u4e5f\u4e0d\u7ba1\u96a7\u9053\u4f7f\u7528\u54ea\u4e2aWAN\uff0cIPsec\u90fd\u4f1a\u5728\u5355\u4e2a\u63a5\u53e3\u4e0a\u5448\u73b0\u7ed9\u64cd\u4f5c\u7cfb\u7edf\u3002 \u8fd9\u4f7f\u5f97\u7ba1\u7406IPsec\u6d41\u91cf\u53d8\u5f97\u56f0\u96be\uff0c\u7279\u522b\u662f\u5f53\u8bd5\u56fe\u5728\u4e00\u4e2a\u7279\u5b9a\u7684IPsec\u96a7\u9053\u5185\u5f62\u6210\u6d41\u91cf\u65f6\u3002<\/p>\n<p style=\"text-align: justify;\">IPsec\u63a5\u53e3\u4e5f\u65e0\u6cd5\u5355\u72ec\u4f5c\u4e3a\u4e0e\u5411\u5bfc\u7684\u63a5\u53e3\u4f7f\u7528\u3002 \u6d6e\u52a8\u89c4\u5219\u53ef\u4ee5\u5bf9IPsec\u63a5\u53e3\u4e0a\u7684\u6d41\u91cf\u8fdb\u884c\u5339\u914d\u548c\u6392\u961f\uff0c\u4f46\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u53ea\u6709\u5165\u7ad9\u6d41\u91cf\u624d\u4f1a\u6309\u9884\u671f\u6392\u961f\u3002 \u5b9e\u9645\u7ed3\u679c\u53ef\u80fd\u4e0d\u540c\u3002<\/p>\n<h1 style=\"text-align: justify;\">\u7591\u96be\u89e3\u7b54<\/h1>\n<p style=\"text-align: justify;\">\u6d41\u91cf\u7ba1\u7406\/ QoS\u662f\u4e00\u4e2a\u68d8\u624b\u7684\u8bdd\u9898\uff0c\u5e76\u4e14\u53ef\u80fd\u5f88\u96be\u5728\u7b2c\u4e00\u65f6\u95f4\u5f97\u5230\u6b63\u786e\u7684\u7ed3\u679c\u3002\u672c\u8282\u6db5\u76d6\u4e86\u51e0\u4e2a\u5e38\u89c1\u7684\u95ee\u9898\u3002<\/p>\n<h2 style=\"text-align: justify;\">Bittorrent\u6d41\u91cf\u4e0d\u4f7f\u7528P2P\u961f\u5217<\/h2>\n<p style=\"text-align: justify;\">Bittorrent\u4ee5\u4e0d\u4f7f\u7528\u6807\u51c6\u7aef\u53e3\u800c\u95fb\u540d\u3002 \u5ba2\u6237\u7aef\u53ef\u4ee5\u58f0\u660e\u5176\u4ed6\u5ba2\u6237\u7aef\u4f7f\u7528\u54ea\u4e2a\u7aef\u53e3\u6765\u8bbf\u95ee\u5b83\u4eec\uff0c\u8fd9\u610f\u5473\u7740\u7f51\u7edc\u7ba1\u7406\u5458\u65e0\u6cd5\u57fa\u4e8e\u7aef\u53e3\u6765\u8ddf\u8e2a\u6df7\u4e71\u7684\u6d41\u91cf\u3002 \u5ba2\u6237\u4e5f\u53ef\u4ee5\u9009\u62e9\u52a0\u5bc6\u4ed6\u4eec\u7684\u6d41\u91cf\u3002 \u6ca1\u6709\u4efb\u4f55\u65b9\u6cd5\u6765\u68c0\u67e5\u6570\u636e\u5305\uff0c\u4ee5\u544a\u77e5\u6d41\u91cf\u662f\u4ec0\u4e48\u7a0b\u5e8f\u8fd0\u884c\u4ea7\u751f\u7684\uff0c\u6240\u4ee5\u5b83\u88ab\u8feb\u4f9d\u8d56\u4e8e\u7aef\u53e3\u3002 \u8fd9\u5c31\u662f\u4e3a\u4ec0\u4e48\u4f7f\u7528P2P Catchall\u89c4\u5219\u548c\/\u6216\u4e3a\u6bcf\u79cd\u7c7b\u578b\u7684\u671f\u671b\u6d41\u91cf\u5236\u5b9a\u89c4\u5219\u5e76\u5c06\u9ed8\u8ba4\u961f\u5217\u89c6\u4e3a\u4f4e\u4f18\u5148\u7ea7\u662f\u4e00\u4e2a\u597d\u4e3b\u610f\u3002<\/p>\n<h2 style=\"text-align: justify;\">UPnP\u00a0\u6d41\u91cf\u7ba1\u7406<\/h2>\n<p style=\"text-align: justify;\">UPnP\u5b88\u62a4\u7a0b\u5e8f\u5141\u8bb8\u7684\u6d41\u91cf\u5c06\u5728\u9ed8\u8ba4\u961f\u5217\u4e2d\u7ed3\u675f\u3002 \u53d1\u751f\u8fd9\u79cd\u60c5\u51b5\u662f\u56e0\u4e3aUPnP\u5b88\u62a4\u7a0b\u5e8f\u52a8\u6001\u751f\u6210\u7684\u89c4\u5219\u4e0d\u5177\u5907\u4efb\u4f55\u961f\u5217\u77e5\u8bc6\uff0c\u9664\u975e\u5c06UPnP\u914d\u7f6e\u4e3a\u5c06\u6d41\u91cf\u53d1\u9001\u5230\u7279\u5b9a\u961f\u5217\u3002<\/p>\n<p style=\"text-align: justify;\">\u6839\u636e\u5ba2\u6237\u7aef\u8bbe\u5907\u5728\u7f51\u7edc\u4e0a\u4f7f\u7528UPnP\u7684\u60c5\u51b5\uff0c\u8fd9\u53ef\u80fd\u662f\u50cfBittorrent\u8fd9\u6837\u7684\u4f4e\u4f18\u5148\u7ea7\u6d41\u91cf\uff0c\u6216\u8005\u50cfSkype\u8fd9\u6837\u7684\u6e38\u620f\u63a7\u5236\u53f0\u6216\u8bed\u97f3\u804a\u5929\u7a0b\u5e8f\u7b49\u9ad8\u4f18\u5148\u7ea7\u6d41\u91cf\u3002<\/p>\n<p style=\"text-align: justify;\">\u914d\u7f6eUPnP\u4ee5\u4f7f\u7528\u7279\u5b9a\u7684ALTQ\u961f\u5217\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u8bbe\u7f6eALTQ\u6d41\u91cf\u7ba1\u7406\u5e76\u51b3\u5b9a\u5c06\u54ea\u4e2a\u961f\u5217\u7528\u4e8eUPnP\u548cNAT-PMP<\/li>\n<li>\u5bfc\u822a\u81f3\u7cfb\u7edf\u670d\u52a1&gt; UPnP\u548cNAT-PMP<\/li>\n<li>\u5728Traffic Shaping\u5b57\u6bb5\u4e2d\u8f93\u5165\u6240\u9009\u7684ALTQ\u961f\u5217\u540d\u79f0<\/li>\n<li>\u70b9\u51fb\u4fdd\u5b58<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u8fd9\u4e2a\u6280\u5de7\u53ea\u9002\u7528\u4e8eALTQ\u6d41\u91cf\u7ba1\u7406\u5668\u3002\u76ee\u524d\uff0c\u9632\u706b\u5899\u4e0d\u80fd\u5c06UPnP\u6d41\u91cf\u5206\u914d\u7ed9\u9650\u5236\u5668\u3002<\/p>\n<h2 style=\"text-align: justify;\">ACK\u961f\u5217\u5e26\u5bbd\u8ba1\u7b97<\/h2>\n<p style=\"text-align: justify;\">\u8fd9\u662f\u4e00\u4e2a\u590d\u6742\u7684\u8bdd\u9898\uff0c\u5927\u90e8\u5206\u7528\u6237\u90fd\u4f1a\u5bf9\u6b64\u7f6e\u4e4b\u4e0d\u7406\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u4e3a\u4ec0\u4e48&lt;x&gt;\u5f62\u72b6\u4e0d\u6b63\u786e?<\/h2>\n<p style=\"text-align: justify;\">\u539f\u56e0\u51e0\u4e4e\u603b\u662f\u8fd9\u4e9b\u9009\u62e9\u4e4b\u4e00\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u6d41\u91cf\u7b26\u5408\u4e0d\u540c\u4e8e\u9884\u671f\u7684\u89c4\u5219<\/li>\n<li>\u6d41\u91cf\u4e0e\u4efb\u4f55\u89c4\u5219\u90fd\u4e0d\u7b26<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u4e0e\u672c\u8282\u4e2d\u7684\u5176\u4ed6\u95ee\u9898\u4e00\u6837\uff0c\u8fd9\u5f80\u5f80\u662f\u7531\u4e8e\u5185\u90e8\u8f93\u5165\u7684\u89c4\u5219\u6216\u5176\u4ed6\u4e0d\u77e5\u9053\u961f\u5217\u7684\u6570\u636e\u5305\u6240\u5bfc\u81f4\u7684\u89c4\u5219\u800c\u53d1\u751f\u7684\u3002 \u7531\u4e8e\u6ca1\u6709\u4e3a\u89c4\u5219\u6307\u5b9a\u961f\u5217\uff0c\u56e0\u6b64\u5b83\u5c06\u5728\u9ed8\u8ba4\u961f\u5217\u6216\u6839\u961f\u5217\u4e2d\u7ed3\u675f\uff0c\u800c\u4e0d\u662f\u6d41\u91cf\u7ba1\u7406\u3002<\/p>\n<p style=\"text-align: justify;\">\u89e3\u51b3\u6b64\u9650\u5236\u53ef\u80fd\u9700\u8981\u66f4\u6539\u89c4\u5219\u4ee5\u66f4\u597d\u5730\u5339\u914d\u6d41\u91cf\uff0c\u6216\u8005\u7981\u7528\u4ee5\u610f\u5916\u65b9\u5f0f\u5339\u914d\u6d41\u91cf\u7684\u5185\u90e8\u89c4\u5219\u3002 \u53e6\u4e00\u79cd\u7b56\u7565\u662f\u8bc6\u522b\u6240\u6709\u5176\u4ed6\u6d41\u91cf\uff0c\u7136\u540e\u5728\u9ed8\u8ba4\u961f\u5217\u4e0a\u4f7f\u7528\u4e0d\u540c\u7684\u9009\u9879\u3002<\/p>\n<p style=\"text-align: justify;\">\u5728\u6781\u5c11\u6570\u60c5\u51b5\u4e0b\uff0c\u4f8b\u5982BitTorrent\uff0c\u53ef\u80fd\u65e0\u6cd5\u51c6\u786e\u8bc6\u522b\u7ed9\u5b9a\u7c7b\u578b\u7684\u6240\u6709\u6d41\u91cf\u3002 \u4e00\u79cd\u89e3\u51b3\u65b9\u6cd5\u662f\u5c06\u901a\u4fe1\u9694\u79bb\u5230\u7f51\u7edc\u4e0a\u7684\u4e00\u4e2a\u7279\u5b9a\u8bbe\u5907\uff0c\u7136\u540e\u6839\u636e\u8be5\u5ba2\u6237\u7aef\u8bbe\u5907\u5730\u5740\u8fdb\u884c\u5339\u914d\u3002<\/p>\n<h2 style=\"text-align: justify;\">WAN\u8fde\u63a5\u901f\u5ea6\u53d8\u5316<\/h2>\n<p style=\"text-align: justify;\">\u8981\u66f4\u65b0WAN\u63a5\u53e3\u7684\u901f\u5ea6\uff08\u5982\u679c\u66f4\u6539\uff09\uff0c\u8bf7\u7f16\u8f91\u9632\u706b\u5899&gt;\u6d41\u91cf\u7ba1\u7406\u4e0b\u7684\u76f8\u5e94\u961f\u5217\u4ee5\u53cd\u6620\u65b0\u8bbe\u5b9a\u901f\u5ea6\u7684\u53d8\u5316\u3002<\/p>\n<p style=\"text-align: justify;\">\u9700\u8981\u66f4\u65b0\u7684\u961f\u5217\u662f\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u7528\u4e8e\u4e0a\u4f20\u901f\u5ea6\u7684\u6bcf\u4e2aWAN\u63a5\u53e3\u7684\u6839\u961f\u5217<\/li>\n<li>\u6bcf\u4e2aLAN\u63a5\u53e3\u7684\u6839\u961f\u5217\u7684\u4e0b\u8f7d\u901f\u5ea6<\/li>\n<li>\u4e3a\u6bcf\u4e2aLAN\u63a5\u53e3\u63d0\u4f9b\u4e0b\u8f7d\u901f\u5ea6\u7684qInternet\u961f\u5217<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u5982\u679c\u6b64\u9632\u706b\u5899\u5177\u6709\u591a\u4e2aWAN\uff0c\u5219LAN Root\u548cqInternet\u961f\u5217\u5fc5\u987b\u4f7f\u7528\u6240\u6709WAN\u7684\u603b\u4e0b\u8f7d\u901f\u5ea6\u3002<\/p>\n<p style=\"text-align: justify;\">\u6216\u8005\uff0c\u5982\u679c\u5411\u5bfc\u521b\u5efa\u4e86\u6240\u6709\u961f\u5217\u548c\u89c4\u5219\u5e76\u4e14\u8fd9\u4e9b\u89c4\u5219\u5c1a\u672a\u66f4\u6539\uff0c\u5219\u518d\u6b21\u5b8c\u6210\u5411\u5bfc\u5e76\u4f7f\u7528\u5411\u5bfc\u66f4\u65b0\u901f\u5ea6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6d41\u91cf\u7ba1\u7406 \u6d41\u91cf\u7ba1\u7406\u53ef\u4ee5\u4e3a\u7f51\u7edc\u505a\u4e9b\u4ec0\u4e48 \u786c\u4ef6\u9650\u5236 ALTQ\u8c03\u5ea6\u7a0b\u5e8f\u7c7b\u578b \u4f7f\u7528\u5411\u5bfc\u914d &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=217\">\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":[185],"class_list":["post-217","post","type-post","status-publish","format-standard","hentry","category-pfsense","tag-185"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/217","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=217"}],"version-history":[{"count":0,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/217\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}