{"id":9825,"date":"2022-11-06T12:53:35","date_gmt":"2022-11-06T04:53:35","guid":{"rendered":"https:\/\/blog.pfchina.org\/?p=9825"},"modified":"2022-11-07T09:10:28","modified_gmt":"2022-11-07T01:10:28","slug":"opnsense%e8%ae%be%e7%bd%ae%e6%b5%81%e9%87%8f%e6%95%b4%e5%bd%a2","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=9825","title":{"rendered":"OPNsense\u8bbe\u7f6e\u6d41\u91cf\u6574\u5f62\u6559\u7a0b"},"content":{"rendered":"<p style=\"text-align: justify;\">\u6d41\u91cf\u6574\u5f62\uff0c\u4e5f\u79f0\u4e3a<code>packet shaping<\/code>\uff0c\u662f\u4e00\u79cd\u5e26\u5bbd\u7ba1\u7406\u7b56\u7565\uff0c\u5b83\u5ef6\u8fdf\u7279\u5b9a\u7f51\u7edc\u6570\u636e\u5305\u7684\u6d41\u52a8\uff0c\u4ee5\u786e\u4fdd\u66f4\u9ad8\u4f18\u5148\u7ea7\u5e94\u7528\u7a0b\u5e8f\u7684\u7f51\u7edc\u6027\u80fd\u3002\u5b83\u901a\u5e38\u7528\u4e8e\u786e\u4fdd\u4e0e\u4e1a\u52a1\u76f8\u5173\u7684\u7f51\u7edc\u6d41\u91cf\u83b7\u5f97\u9ad8\u6c34\u5e73\u7684\u670d\u52a1\u3002\u901a\u8fc7\u5ef6\u8fdf\u67d0\u4e9b\u6570\u636e\u5305\uff0c\u6d41\u91cf\u6574\u5f62\u53ef\u4ee5\u589e\u5f3a\u6216\u786e\u4fdd\u6027\u80fd\u3001\u51cf\u5c11\u5ef6\u8fdf\u6216\u589e\u52a0\u5173\u952e\u5e94\u7528\u7a0b\u5e8f\u7684\u53ef\u7528\u5e26\u5bbd\u3002<\/p>\n<p style=\"text-align: justify;\">\u7531\u4e8e\u7f51\u7edc\u8d44\u6e90\u6709\u9650\uff0c\u6d41\u91cf\u6574\u5f62\u662f\u7f51\u7edc\u9632\u706b\u5899\u7684\u5fc5\u5907\u529f\u80fd\uff0c\u53ef\u786e\u4fdd\u65f6\u95f4\u654f\u611f\u6570\u636e\u7684\u4ea4\u4ed8\u548c\u5173\u952e\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u3002\u5b83\u662f\u9632\u5fa1\u5206\u5e03\u5f0f\u62d2\u7edd\u670d\u52a1 (\u00a0DDoS\u00a0) \u653b\u51fb\u548c\u786e\u4fdd\u670d\u52a1\u8d28\u91cf\u7684\u6709\u529b\u65b9\u6cd5\u3002\u5b83\u53ef\u4ee5\u4fdd\u62a4\u60a8\u7684\u7f51\u7edc\u514d\u53d7\u7f51\u7edc\u62e5\u585e\u3001\u9650\u5236\u6ee5\u7528\u5ba2\u6237\u7aef\u5e76\u9632\u6b62\u7f51\u7edc\u653b\u51fb\u3002<\/p>\n<p style=\"text-align: justify;\">\u60a8\u53ef\u80fd\u9700\u8981\u9650\u5236\u67d0\u4e9b\u7528\u6237\u7684 Internet \u5e26\u5bbd\uff0c\u540c\u65f6\u4e3a\u5bf9\u5ef6\u8fdf\u7279\u522b\u654f\u611f\u7684 IP \u8bed\u97f3 (VoIP) \u7b49\u4e1a\u52a1\u5173\u952e\u578b\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u6700\u5927\u5e26\u5bbd\u3002<\/p>\n<p style=\"text-align: justify;\">OPNsense \u662f\u6700\u597d\u7684\u5f00\u6e90\u9632\u706b\u5899\u4e4b\u4e00\uff0c\u5177\u6709\u6781\u5176\u7075\u6d3b\u548c\u53ef\u9760\u7684\u6d41\u91cf\u6574\u5f62\u529f\u80fd\u3002\u6574\u5f62\u89c4\u5219\u4e0e\u9632\u706b\u5899\u89c4\u5219\u548c\u5176\u4ed6\u914d\u7f6e\u5206\u5f00\u5904\u7406\u3002<\/p>\n<p style=\"text-align: justify;\">\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u6211\u4eec\u5c06\u4ecb\u7ecd OPNsense \u6d41\u91cf\u6574\u5f62\u529f\u80fd\u4ee5\u53ca\u5982\u4f55\u5728 OPNsense \u9632\u706b\u5899\u4e2d\u9488\u5bf9\u4ee5\u4e0b\u60c5\u51b5\u914d\u7f6e\u6d41\u91cf\u6574\u5f62\u5668\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li>\u4e3a\u5b9e\u65f6\u6d41\u91cf\uff08\u4f8b\u5982 VoIP\uff09\u4fdd\u7559\u4e13\u7528\u5e26\u5bbd<\/li>\n<li>\u5728\u5ba2\u6237\u7aef\u4e4b\u95f4\u5e73\u5747\u5171\u4eab Internet \u5e26\u5bbd<\/li>\n<li>\u4f18\u5148\u8003\u8651\u5173\u952e\u5e94\u7528\u7a0b\u5e8f<\/li>\n<li>OPNsense \u4e2d\u57fa\u4e8e\u7f51\u7edc\u63a5\u53e3\u7684\u6d41\u91cf\u6574\u5f62<\/li>\n<\/ul>\n<h2 id=\"what-is-traffic-shaper-in-opnsense\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">OPNsense \u4e2d\u7684\u6d41\u91cf\u6574\u5f62\u5668\u662f\u4ec0\u4e48\uff1f<\/h2>\n<p style=\"text-align: justify;\">OPNsense \u6d41\u91cf\u6574\u5f62\u662f\u4e00\u79cd\u975e\u5e38\u6709\u7528\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u7528\u4e8e\u786e\u5b9a\u6d41\u91cf\u7684\u4f18\u5148\u7ea7\u548c\u9650\u5236\u5e26\u5bbd\u3002\u6b64\u5916\uff0c\u5b83\u8fd8\u53ef\u4ee5\u4e0e\u5176\u4ed6\u529f\u80fd\u76f8\u7ed3\u5408\uff0c\u4f8b\u5982\u5f3a\u5236\u95e8\u6237\u3002<\/p>\n<p style=\"text-align: justify;\">OPNsense \u6d41\u91cf\u6574\u5f62\u5668\u4f7f\u7528<code>pipes<\/code>\u3001<code>queues<\/code>\u548c\u76f8\u5e94\u7684\u914d\u7f6e<code>rules<\/code>\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li><strong>\u7ba1\u9053(pipes)<\/strong>\uff1a\u7ba1\u9053\u7528\u4e8e\u5b9a\u4e49\u5141\u8bb8\u7684\u5e26\u5bbd\u3002<\/li>\n<li><strong>\u961f\u5217(queues)<\/strong>\uff1a\u961f\u5217\u5728\u7ba1\u9053\u5185\u8bbe\u7f6e\u6743\u91cd\u3002\u53ef\u4ee5\u901a\u8fc7\u521b\u5efa\u961f\u5217\u5e76\u4e3a\u5176\u5206\u914d\u6743\u91cd\u6765\u786e\u5b9a\u6d41\u91cf\u7684\u4f18\u5148\u7ea7\u3002\u6362\u53e5\u8bdd\u8bf4\uff0c\u5f53\u603b\u53ef\u7528\u5e26\u5bbd\u6709\u9650\u65f6\uff0c\u6743\u91cd\u8f83\u9ad8\u7684\u5e94\u7528\u7a0b\u5e8f\u53ef\u80fd\u4f1a\u6bd4\u5176\u4ed6\u5e94\u7528\u7a0b\u5e8f\u6d88\u8017\u66f4\u591a\u7684\u5e26\u5bbd\u3002<\/li>\n<li><strong>\u89c4\u5219(rules)<\/strong>\uff1a\u89c4\u5219\u5c06\u6574\u5f62\u5e94\u7528\u4e8e\u7279\u5b9a\u7684\u6570\u636e\u5305\u6d41\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u53ef\u4ee5\u6839\u636e\u4ee5\u4e0b\u6807\u51c6\u8bbe\u7f6e\u5e26\u5bbd\u9650\u5236\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li>\u63a5\u53e3<\/li>\n<li>IP\u6e90\u548c\u76ee\u6807\uff0c<\/li>\n<li>\u6d41\u91cf\u65b9\u5411\uff08\u8fdb\/\u51fa\uff09<\/li>\n<li>\u7aef\u53e3\u53f7\uff08\u5e94\u7528\u7a0b\u5e8f\uff09<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">OPNsense \u6d41\u91cf\u6574\u5f62\u529f\u80fd\u5141\u8bb8\u5728\u6240\u6709\u7528\u6237\u4e4b\u95f4\u5e73\u5747\u5206\u914d\u53ef\u7528\u5e26\u5bbd\uff0c\u786e\u4fdd\u59cb\u7ec8\u4fdd\u6301\u6700\u4f73\u6027\u80fd\u3002<\/p>\n<h2 id=\"how-does-the-traffic-shaper-in-opnsense-work\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">OPNsense \u4e2d\u7684\u6d41\u91cf\u6574\u5f62\u5668\u5982\u4f55\u5de5\u4f5c\uff1f<\/h2>\n<p style=\"text-align: justify;\">OPNsense \u6d41\u91cf\u6574\u5f62\u5668\u91c7\u7528<code>dummynet<\/code>\u548c <code>ipfw<\/code>\u63d0\u4f9b\u53ef\u9760\u7684\u89e3\u51b3\u65b9\u6848\uff0cCPU \u5360\u7528\u7387\u4f4e\u3002<\/p>\n<p style=\"text-align: justify;\"><code>Dummynet<\/code><code>ipfw<\/code>\u9996\u5148\u4f7f\u7528\u53ef\u4ee5\u5728\u89c4\u5219\u4e2d\u4f7f\u7528\u7684\u4efb\u610f\u5339\u914d\u6a21\u5f0f\u5bf9\u6570\u636e\u5305\u8fdb\u884c\u5206\u7c7b\u5e76\u5c06\u5b83\u4eec\u5212\u5206\u4e3a\u6d41\u3002\u6839\u636e\u672c\u5730\u7b56\u7565\uff0c\u6d41\u53ef\u4ee5\u5305\u542b\u7279\u5b9a\u534f\u8bae\u7c7b\u578b\u7684\u6570\u636e\u5305\u3001\u6574\u4e2a\u5b50\u7f51\u7684\u6570\u636e\u5305\u3001\u8fdb\/\u51fa\u7279\u5b9a\u4e3b\u673a\u7684\u6570\u636e\u5305\u3001\u5355\u4e2a TCP \u8fde\u63a5\u7684\u6570\u636e\u5305\u7b49\u3002<\/p>\n<p style=\"text-align: justify;\">\u7136\u540e\u5c06\u6765\u81ea\u540c\u4e00\u6d41\u7684\u6570\u636e\u5305\u8def\u7531\u5230\u4ee5\u4e0b\u5e94\u7528\u6d41\u91cf\u89c4\u5219\u7684\u5bf9\u8c61\u4e4b\u4e00\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li><strong>\u7ba1\u9053<\/strong>\uff1a\u7ba1\u9053\u6a21\u62df\u5177\u6709\u6307\u5b9a\u5e26\u5bbd\u3001\u961f\u5217\u5927\u5c0f\u3001\u4f20\u64ad\u5ef6\u8fdf\u548c\u4e22\u5305\u7387\u7684\u8fde\u63a5\u3002\u5f53\u7f51\u7edc\u6570\u636e\u5305\u79bb\u5f00\u5206\u7c7b\u5668\u65f6\uff0c\u5b83\u4eec\u5728\u7ba1\u9053\u524d\u9762\u6392\u961f\uff0c\u7136\u540e\u6839\u636e\u7ba1\u9053\u7684\u53c2\u6570\u4f20\u8f93\u5230\u7ba1\u9053\u3002<\/li>\n<li><strong>\u961f\u5217<\/strong>\uff1a\u961f\u5217\u662f\u7528\u4e8e\u5b9e\u73b0<code>WF2Q <\/code>\uff08Worstcase Fair Weighted Fair Queueing\uff09\u7b56\u7565\u7684\u62bd\u8c61\u3002\u6bcf\u4e2a\u6d41\u7531\u961f\u5217\u5206\u914d\u4e00\u4e2a\u6743\u91cd\u548c\u4e00\u4e2a\u53c2\u8003\u7ba1\u9053\u3002\u8fde\u63a5\u5230\u540c\u4e00\u7ba1\u9053\u7684\u6240\u6709\u79ef\u538b\u6d41\u4e0e\u5176\u6743\u91cd\u6210\u6bd4\u4f8b\u5730\u5171\u4eab\u7ba1\u9053\u7684\u5e26\u5bbd\u3002<\/li>\n<\/ul>\n<div class=\"theme-admonition theme-admonition-important alert alert--info admonition_LlT9\" style=\"text-align: justify;\">\n<div class=\"admonitionHeading_tbUL\">\u63d0\u793a\uff1a<code>Weights<\/code>\u4e0d\u662f\u4f18\u5148\u4e8b\u9879\uff1b\u5373\u4f7f\u5177\u6709\u8f83\u9ad8\u6743\u91cd\u7684\u6d41\u88ab\u6c38\u4e45\u79ef\u538b\uff0c\u5177\u6709\u8f83\u4f4e\u6743\u91cd\u7684\u6d41\u4ecd\u7136\u53ef\u4ee5\u4fdd\u8bc1\u83b7\u5f97\u5176\u5e26\u5bbd\u4efd\u989d\u3002<\/div>\n<\/div>\n<div class=\"theme-admonition theme-admonition-tip alert alert--success admonition_LlT9\" style=\"text-align: justify;\">\n<div class=\"admonitionContent_S0QG\">\n<p><code>Pipes<\/code>\u53ef\u7528\u4e8e\u8bbe\u7f6e\u6d41\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u5e26\u5bbd\u7684\u5f3a\u5236\u9650\u5236<code>Queues<\/code>\uff0c\u800c\u53ef\u7528\u4e8e\u786e\u5b9a\u4e0d\u540c\u6d41\u5982\u4f55<strong>\u5171\u4eab<\/strong>\u53ef\u7528\u5e26\u5bbd\u3002<\/p>\n<\/div>\n<\/div>\n<p style=\"text-align: justify;\"><code>rules<\/code>\u53ef\u4ee5\u5728\u6d41\u91cf\u6574\u5f62\u5668\u7684\u9875\u9762\u4e2d\u5b9a\u4e49\u6574\u5f62\u89c4\u5219\u3002<\/p>\n<h2 id=\"how-to-view-traffic-shaping-status-or-statistics-in-opnsense\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u5982\u4f55\u5728 OPNsense \u4e2d\u67e5\u770b\u6d41\u91cf\u6574\u5f62\u72b6\u6001\u6216\u7edf\u8ba1\u6570\u636e\uff1f<\/h2>\n<p style=\"text-align: justify;\">\u67e5\u770b\u6d41\u91cf\u6574\u5f62\u5668\u662f\u5426\u6b63\u5e38\u5de5\u4f5c\uff0c\u53ef\u4ee5\u5bfc\u822a\u81f3<code>Firewall<\/code>\u00a0<strong>&gt;\u00a0<\/strong><code>Shaper<\/code>\u00a0<strong>&gt;<\/strong>\u00a0<code>Status<\/code>\u3002<\/p>\n<p style=\"text-align: justify;\">\u5728<code>Status<\/code>\u6d41\u91cf\u6574\u5f62\u5668\u7684\u9875\u9762\u4e2d\uff0c\u53ef\u4ee5\u67e5\u770b\u4ee5\u4e0b\u8be6\u7ec6\u4fe1\u606f\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li>\u914d\u7f6e\u7ba1\u9053\u3001\u961f\u5217\u548c\u89c4\u5219\u3002<\/li>\n<li>\u81ea\u4e0a\u6b21\u91cd\u65b0\u542f\u52a8\u670d\u52a1\u4ee5\u6765\u901a\u8fc7\u5b83\u4eec\u7684\u6d41\u91cf\u3002<\/li>\n<li>\u53d1\u751f\u65f6\u7684\u65f6\u95f4\u6233\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/1-b6c309729efa618699c47e5beafcedbf.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9972\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/1-b6c309729efa618699c47e5beafcedbf.png\" alt=\"\" width=\"1895\" height=\"891\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/1-b6c309729efa618699c47e5beafcedbf.png 1895w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/1-b6c309729efa618699c47e5beafcedbf-300x141.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/1-b6c309729efa618699c47e5beafcedbf-1024x481.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/1-b6c309729efa618699c47e5beafcedbf-768x361.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/1-b6c309729efa618699c47e5beafcedbf-1536x722.png 1536w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/1-b6c309729efa618699c47e5beafcedbf-500x235.png 500w\" sizes=\"auto, (max-width: 1895px) 100vw, 1895px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 1.<\/strong>\u00a0<em>\u5728 OPNsense \u4e2d\u67e5\u770b\u6d41\u91cf\u6574\u5f62\u72b6\u6001<\/em><\/p>\n<p style=\"text-align: justify;\">\u6d41\u91cf\u6574\u5f62\u72b6\u6001\u9875\u9762\u8fd8\u63d0\u4f9b\u4ee5\u4e0b\u9009\u9879\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li><strong>\u663e\u793a\u6d3b\u52a8\u6d41\uff1a<\/strong>\u901a\u8fc7\u9009\u4e2d<code>Show active flows<\/code>\u9009\u9879\u67e5\u770b\u6d3b\u52a8\u6d41\u8be6\u7ec6\u4fe1\u606f\uff1b\u5728\u4fee\u6539\u540e\u9700\u8981\u91cd\u65b0\u5237\u65b0\u89c6\u56fe\u3002<\/li>\n<li><strong>\u663e\u793a\u89c4\u5219\uff1a<\/strong>\u7531\u4e8e ipfw \u6309\u89c4\u5219\u8ddf\u8e2a\u6570\u636e\uff0c\u53ef\u4ee5\u9009\u4e2d<code>Show rules<\/code>\u9009\u9879\u6765\u542f\u7528\u89c4\u5219\u4ee5\u66f4\u8f7b\u677e\u5730\u8bc6\u522b\u9519\u8bef\u914d\u7f6e\u3002<\/li>\n<\/ul>\n<h2 id=\"how-to-reserve-dedicated-bandwidth-for-real-time-traffic\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u5982\u4f55\u4e3a\u5b9e\u65f6\u6d41\u91cf\u9884\u7559\u4e13\u7528\u5e26\u5bbd\uff1f<\/h2>\n<p style=\"text-align: justify;\">\u5982\u679c\u603b\u90e8\u529e\u516c\u5ba4\u548c\u6258\u7ba1 VoIP\/SIP \u670d\u52a1\u5668\u7684\u8fdc\u7a0b\u6570\u636e\u4e2d\u5fc3\u4e4b\u95f4\u5b58\u5728 SIP \u6570\u636e\u5305\u4e22\u5931\u548c\u5ef6\u8fdf\uff0c\u53ef\u4ee5\u4e3a VoIP \u6d41\u91cf\u9884\u7559\u4e00\u4e2a\u4e13\u7528\u5e26\u5bbd\u3002\u5047\u8bbe\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li>HQ Office WAN \u8fde\u63a5\u6709<code>20 Mbps<\/code>\u4e0b\u8f7d\u548c<code>2 Mbps<\/code>\u4e0a\u4f20\u5e26\u5bbd\u3002<\/li>\n<li>HQ Office \u6709 10 \u4e2a 64 kbps \u7684\u672a\u538b\u7f29\u8bed\u97f3\u901a\u9053\uff0c\u603b\u5e26\u5bbd\u4e3a 640 kbps\u3002<\/li>\n<li>\u603b\u90e8 LAN \u4f7f\u7528<code>10.10.10.0\/24<\/code>IP \u5730\u5740\u3002<\/li>\n<li>VoIP\/SIP \u670d\u52a1\u5668 IP \u5730\u5740\u4e3a<code>22.33.44.55<\/code>\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u901a\u8fc7\u4ee5\u4e0b\u4e24\u4e2a\u4e3b\u8981\u6b65\u9aa4\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u4e3a VoIP \u6d41\u91cf\u9884\u7559\u4e13\u7528\u5e26\u5bbd\uff1a<\/p>\n<ol style=\"text-align: justify;\">\n<li>\u521b\u5efa\u4e0a\u4f20\u548c\u4e0b\u8f7d\u7ba1\u9053<\/li>\n<li>\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u89c4\u5219<\/li>\n<\/ol>\n<p style=\"text-align: justify;\">\u8fd9\u4e9b\u6b65\u9aa4\u5c06\u5728\u4ee5\u4e0b\u90e8\u5206\u4e2d\u8fdb\u884c\u7b80\u8981\u8bf4\u660e\u3002<\/p>\n<h3 id=\"1--how-to-create-upload-and-download-pipes\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">1. \u521b\u5efa\u4e0a\u4f20\u548c\u4e0b\u8f7d\u7ba1\u9053<\/h3>\n<p style=\"text-align: justify;\">\u521b\u5efa\u4ee5\u4e0b4 \u4e2a\u7ba1\u9053\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li>\u5230VoIP\/SIP \u670d\u52a1\u5668\u7684\u4e0a\u4f20\u7ba1\u9053\u9650\u5236\u4e3a<code>640 kbps<\/code>\u3002<\/li>\n<li>\u4eceVoIP\/SIP \u670d\u52a1\u5668\u4e0b\u8f7d\u7ba1\u9053\u9650\u5236\u4e3a<code>640 kbps<\/code>\u3002<\/li>\n<li>\u9664VoIP\u5916\u7684\u6240\u6709\u4e0a\u4f20\u6d41\u91cf\u7684\u7ba1\u9053\uff0c\u9650\u5236\u4e3a2048-640= <code>1.984 kbps<\/code>\u3002<\/li>\n<li>\u9664VoIP\u5916\u7684\u6240\u6709\u4e0b\u8f7d\u6d41\u91cf\u7684\u7ba1\u9053\uff0c\u9650\u5236\u4e3a20480-640=<code>19.840 kbps<\/code><\/li>\n<\/ul>\n<h4 id=\"how-to-create-a-pipe-to-reserve--upload-bandwidth-for-voip-traffic\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u521b\u5efaVoIP\u4e0a\u4f20\u7ba1\u9053<\/h4>\n<p style=\"text-align: justify;\">\u6309\u7167\u4e0b\u9762\u7684\u6b65\u9aa4\u6dfb\u52a0\u7ba1\u9053\u6765\u4fdd\u7559 VoIP \u6d41\u91cf\u7684\u4e0a\u4f20\u5e26\u5bbd\u3002<\/p>\n<ol style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u81f3<code>Firewall<\/code>\u2192\u00a0<code>Shaper<\/code>\u2192 <code>Pipes<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/2-3e672fea126e5d686daf49b59fe5bdde.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9973\" title=\"\u5728 OPNsense \u4e2d\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u7ba1\u9053\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/2-3e672fea126e5d686daf49b59fe5bdde.png\" alt=\"\u5728 OPNsense \u4e2d\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u7ba1\u9053\" width=\"1901\" height=\"666\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/2-3e672fea126e5d686daf49b59fe5bdde.png 1901w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/2-3e672fea126e5d686daf49b59fe5bdde-300x105.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/2-3e672fea126e5d686daf49b59fe5bdde-1024x359.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/2-3e672fea126e5d686daf49b59fe5bdde-768x269.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/2-3e672fea126e5d686daf49b59fe5bdde-1536x538.png 1536w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/2-3e672fea126e5d686daf49b59fe5bdde-500x175.png 500w\" sizes=\"auto, (max-width: 1901px) 100vw, 1901px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 2.<\/strong>\u00a0<em>\u5728 OPNsense \u4e2d\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u7ba1\u9053<\/em><\/p>\n<ol style=\"text-align: justify;\" start=\"2\">\n<li>\u5355\u51fb\u8868\u5355\u53f3\u4e0b\u89d2\u7684 <code> <\/code> \u521b\u5efaVoIP \u4e0a\u4f20\u7ba1\u9053\u3002<\/li>\n<li>\u5355\u51fb\u590d\u9009\u6846\u542f\u7528\u3002\u4ee5\u4fbf\u542f\u7528\u6b64\u7ba1\u9053\u53ca\u5176\u76f8\u5173\u7684\u961f\u5217\u548c\u89c4\u5219\u3002<\/li>\n<li><strong>\u5e26\u5bbd<\/strong>\u8bbe\u7f6e<code>640<\/code>\uff0c\u8be5\u7ba1\u9053\u7684\u603b\u5e26\u5bbd\u3002<\/li>\n<li><strong>\u5e26\u5bbd\u5355\u4f4d<\/strong>\u8bbe\u7f6e\u4e3a<code>kbit\/s<\/code>\u3002<\/li>\n<li><strong>\u63a9\u7801<\/strong>\u4fdd\u7559\u4e3a<code>none<\/code>\uff0c\u56e0\u4e3a\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u5177\u6709\u56fa\u5b9a\u5e26\u5bbd\u7684\u7ba1\u9053\u3002<\/li>\n<li>\u8f93\u5165<strong>\u63cf\u8ff0<\/strong>\uff0c\u4f8b\u5982<code>640Kbps_VoIP_upload<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/3-5cefdb49736a0104ca6a72cb6c6a6ea6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9974\" title=\"\u4e3a 640 Kbps VoIP \u4e0a\u4f20\u5e26\u5bbd\u9884\u7559\u521b\u5efa\u7ba1\u9053\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/3-5cefdb49736a0104ca6a72cb6c6a6ea6.png\" alt=\"\u4e3a 640 Kbps VoIP \u4e0a\u4f20\u5e26\u5bbd\u9884\u7559\u521b\u5efa\u7ba1\u9053\" width=\"1333\" height=\"741\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/3-5cefdb49736a0104ca6a72cb6c6a6ea6.png 1333w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/3-5cefdb49736a0104ca6a72cb6c6a6ea6-300x167.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/3-5cefdb49736a0104ca6a72cb6c6a6ea6-1024x569.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/3-5cefdb49736a0104ca6a72cb6c6a6ea6-768x427.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/3-5cefdb49736a0104ca6a72cb6c6a6ea6-500x278.png 500w\" sizes=\"auto, (max-width: 1333px) 100vw, 1333px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 3.<\/strong>\u00a0<em>\u4e3aVoIP \u4e0a\u4f20\u521b\u5efa\u9884\u7559\u7ba1\u9053<\/em><\/p>\n<h4 id=\"how-to-create-a-pipe-to-reserve-download-bandwidth-for-voip-traffic\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u521b\u5efaVoIP\u4e0b\u8f7d\u7ba1\u9053<\/h4>\n<p style=\"text-align: justify;\">\u6309\u7167\u4e0b\u9762\u7684\u6b65\u9aa4\u6dfb\u52a0\u7ba1\u9053\u6765\u4fdd\u7559 VoIP \u6d41\u91cf\u7684\u4e0b\u8f7d\u5e26\u5bbd\u3002<\/p>\n<ol>\n<li>\u5bfc\u822a\u81f3<code>Firewall<\/code>\u2192\u00a0<code>Shaper<\/code>\u2192 <code>Pipes<\/code>\u3002<\/li>\n<li>\u5355\u51fb\u8868\u5355\u53f3\u4e0b\u89d2<code> <\/code> \u4e3a VoIP \u521b\u5efa\u4e0b\u8f7d\u7ba1\u9053\u3002<\/li>\n<li>\u5355\u51fb\u590d\u9009\u6846\u542f\u7528\u5b83\u3002<\/li>\n<li><strong>\u5e26\u5bbd<\/strong>\u8bbe\u7f6e\u4e3a<code>640<\/code>\u3002<\/li>\n<li><strong>\u5e26\u5bbd\u5355\u4f4d<\/strong>\u8bbe\u7f6e\u4e3a<code>kbit\/s<\/code>\u3002<\/li>\n<li><strong>\u63a9\u7801<\/strong>\u4fdd\u7559\u4e3a<code>none<\/code>\u3002<\/li>\n<li>\u8f93\u5165<strong>\u63cf\u8ff0<\/strong>\uff0c\u4f8b\u5982<code>640Kbps_VoIP_download<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/4-d5fc11454d11b852f4c010ad55772b70.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9975\" title=\"\u4e3a 640 Kbps VoIP \u4e0b\u8f7d\u5e26\u5bbd\u9884\u7559\u521b\u5efa\u7ba1\u9053\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/4-d5fc11454d11b852f4c010ad55772b70.png\" alt=\"\u4e3a 640 Kbps VoIP \u4e0b\u8f7d\u5e26\u5bbd\u9884\u7559\u521b\u5efa\u7ba1\u9053\" width=\"1331\" height=\"728\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/4-d5fc11454d11b852f4c010ad55772b70.png 1331w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/4-d5fc11454d11b852f4c010ad55772b70-300x164.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/4-d5fc11454d11b852f4c010ad55772b70-1024x560.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/4-d5fc11454d11b852f4c010ad55772b70-768x420.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/4-d5fc11454d11b852f4c010ad55772b70-500x273.png 500w\" sizes=\"auto, (max-width: 1331px) 100vw, 1331px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 4.<\/strong>\u00a0<em>\u4e3a VoIP\u521b\u5efa\u4e0b\u8f7d\u7ba1\u9053<\/em><\/p>\n<h4 id=\"how-to-create-a-pipe-to-limit-upload-bandwidth-for-all-other-traffic-except-voip\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u521b\u5efa\u9664VoIP\u5916\u6240\u6709\u5176\u4ed6\u4e0a\u4f20\u6d41\u91cf\u7684\u9650\u5236\u7ba1\u9053<\/h4>\n<p style=\"text-align: justify;\">\u6309\u7167\u4e0b\u9762\u7684\u6b65\u9aa4\u6dfb\u52a0\u9664VoIP \u4e4b\u5916\u7684\u6240\u6709\u5176\u4ed6\u6d41\u91cf\u7684\u4e0a\u4f20\u9650\u5236\u7ba1\u9053\u3002<\/p>\n<ol style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u81f3<code>Firewall<\/code>\u2192\u00a0<code>Shaper<\/code>\u2192 <code>Pipes<\/code>\u3002<\/li>\n<li>\u5355\u51fb\u8868\u5355\u53f3\u4e0b\u89d2\u7684<code> <\/code>\u4e3a\u5176\u4ed6\u4e0a\u4f20\u6d41\u91cf\u521b\u5efa\u7ba1\u9053\u3002<\/li>\n<li>\u5355\u51fb\u590d\u9009\u6846\u542f\u7528\u5b83\u3002<\/li>\n<li><strong>\u5e26\u5bbd<\/strong>\u8bbe\u7f6e\u4e3a<code>1984<\/code>\u3002<\/li>\n<li><strong>\u5e26\u5bbd\u5355\u4f4d<\/strong>\u8bbe\u7f6e\u4e3a<code>kbit\/s<\/code>\u3002<\/li>\n<li><strong>\u63a9\u7801<\/strong>\u4fdd\u7559\u4e3a<code>none<\/code>\u3002<\/li>\n<li>\u8f93\u5165<strong>\u63cf\u8ff0<\/strong>\uff0c\u4f8b\u5982<code>1984Kbps_Other_upload<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/5-77746b4635accc96bfc81ed4412f9ef7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9976\" title=\"\u4e3a 1984 Kbps \u5176\u4ed6\u4e0a\u4f20\u6d41\u91cf\u5e26\u5bbd\u9650\u5236\u521b\u5efa\u7ba1\u9053\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/5-77746b4635accc96bfc81ed4412f9ef7.png\" alt=\"\u4e3a 1984 Kbps \u5176\u4ed6\u4e0a\u4f20\u6d41\u91cf\u5e26\u5bbd\u9650\u5236\u521b\u5efa\u7ba1\u9053\" width=\"1328\" height=\"722\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/5-77746b4635accc96bfc81ed4412f9ef7.png 1328w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/5-77746b4635accc96bfc81ed4412f9ef7-300x163.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/5-77746b4635accc96bfc81ed4412f9ef7-1024x557.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/5-77746b4635accc96bfc81ed4412f9ef7-768x418.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/5-77746b4635accc96bfc81ed4412f9ef7-500x272.png 500w\" sizes=\"auto, (max-width: 1328px) 100vw, 1328px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 5.<\/strong>\u00a0<em>\u521b\u5efa\u5176\u4ed6\u4e0a\u4f20\u6d41\u91cf\u9650\u5236\u7ba1\u9053<\/em><\/p>\n<h4 id=\"how-to-create-a-pipe-to-limit-upload-bandwidth-for-all-other-traffic-except-voip\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u521b\u5efa\u9664VoIP\u5916\u6240\u6709\u5176\u4ed6\u4e0b\u8f7d\u6d41\u91cf\u7684\u9650\u5236\u7ba1\u9053<\/h4>\n<p style=\"text-align: justify;\">\u6309\u7167\u4e0b\u9762\u7684\u6b65\u9aa4\u6dfb\u52a0\u9664 VoIP \u4e4b\u5916\u7684\u6240\u6709\u5176\u4ed6\u6d41\u91cf\u7684\u4e0b\u8f7d\u9650\u5236\u7ba1\u9053\u3002<\/p>\n<ol style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u81f3<code>Firewall<\/code>\u2192\u00a0<code>Shaper<\/code>\u2192 <code>Pipes<\/code>\u3002<\/li>\n<li>\u5355\u51fb\u8868\u5355\u53f3\u4e0b\u89d2\u7684<code> <\/code>\u4e3a\u5176\u4ed6\u4e0b\u8f7d\u6d41\u91cf\u521b\u5efa\u7ba1\u9053\u3002<\/li>\n<li>\u5355\u51fb\u590d\u9009\u6846\u542f\u7528\u5b83\u3002<\/li>\n<li><strong>\u5e26\u5bbd<\/strong>\u8bbe\u7f6e\u4e3a<code>19840<\/code>\u3002<\/li>\n<li><strong>\u5e26\u5bbd\u5355\u4f4d<\/strong>\u8bbe\u7f6e\u4e3a<code>kbit\/s<\/code>\u3002<\/li>\n<li><strong>\u63a9\u7801<\/strong>\u4fdd\u7559\u4e3a<code>none<\/code>\u3002<\/li>\n<li>\u8f93\u5165<strong>\u63cf\u8ff0<\/strong>\uff0c\u4f8b\u5982<code>19840Kbps_Other_download<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/6-5518d95c776e53f2da76c15929e77c5e.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9977\" title=\"\u4e3a 19840 Kbps VoIP \u4e0b\u8f7d\u5e26\u5bbd\u9650\u5236\u521b\u5efa\u7ba1\u9053\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/6-5518d95c776e53f2da76c15929e77c5e.png\" alt=\"\u4e3a 19840 Kbps VoIP \u4e0b\u8f7d\u5e26\u5bbd\u9650\u5236\u521b\u5efa\u7ba1\u9053\" width=\"1329\" height=\"718\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/6-5518d95c776e53f2da76c15929e77c5e.png 1329w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/6-5518d95c776e53f2da76c15929e77c5e-300x162.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/6-5518d95c776e53f2da76c15929e77c5e-1024x553.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/6-5518d95c776e53f2da76c15929e77c5e-768x415.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/6-5518d95c776e53f2da76c15929e77c5e-500x270.png 500w\" sizes=\"auto, (max-width: 1329px) 100vw, 1329px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 6.<\/strong>\u00a0<em>\u4e3a\u9664VoIP\u4e4b\u5916\u6240\u6709\u5176\u4ed6\u6d41\u91cf\u521b\u5efa\u4e0b\u8f7d\u9650\u5236\u7ba1\u9053<\/em><\/p>\n<p style=\"text-align: justify;\"><code>Pipes<\/code>\u9009\u9879\u5361\u53ef\u4ee5\u67e5\u770b\u521b\u5efa\u7684\u6240\u6709\u7ba1\u9053\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/7-150ae158a7228f28c7852c5cd9f37779.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9978\" title=\"\u4e3a\u5e26\u5bbd\u9884\u7559\u521b\u5efa\u7684\u7ba1\u9053\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/7-150ae158a7228f28c7852c5cd9f37779.png\" alt=\"\u4e3a\u5e26\u5bbd\u9884\u7559\u521b\u5efa\u7684\u7ba1\u9053\" width=\"1563\" height=\"799\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/7-150ae158a7228f28c7852c5cd9f37779.png 1563w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/7-150ae158a7228f28c7852c5cd9f37779-300x153.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/7-150ae158a7228f28c7852c5cd9f37779-1024x523.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/7-150ae158a7228f28c7852c5cd9f37779-768x393.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/7-150ae158a7228f28c7852c5cd9f37779-1536x785.png 1536w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/7-150ae158a7228f28c7852c5cd9f37779-500x256.png 500w\" sizes=\"auto, (max-width: 1563px) 100vw, 1563px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 7.<\/strong>\u00a0<em>\u4e3a\u5e26\u5bbd\u9884\u7559\u521b\u5efa\u7684\u7ba1\u9053<\/em><\/p>\n<ul style=\"text-align: justify;\">\n<li>\u5355\u51fb<code>Apply<\/code>\u5e94\u7528\u66f4\u6539\u3002<\/li>\n<\/ul>\n<h3 id=\"2-how-to-create-the-traffic-shaper-rules\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">2.\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u89c4\u5219<\/h3>\n<p style=\"text-align: justify;\">\u521b\u5efa\u4e0b\u9762 4 \u6761\u6d41\u91cf\u6574\u5f62\u89c4\u5219\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li>VoIP\u5230VoIP\/SIP \u670d\u52a1\u5668\u4e0a\u4f20\u7684\u6d41\u91cf\u89c4\u5219\u3002<\/li>\n<li>VoIP\u4eceVoIP\/SIP \u670d\u52a1\u5668\u4e0b\u8f7d\u7684\u6d41\u91cf\u89c4\u5219\u3002<\/li>\n<li>LAN \u4e2d\u6240\u6709\u5176\u4ed6\u4e0a\u4f20\u6d41\u91cf\u7684\u89c4\u5219\u3002<\/li>\n<li>LAN \u4e2d\u6240\u6709\u5176\u4ed6\u4e0b\u8f7d\u6d41\u91cf\u7684\u89c4\u5219\u3002<\/li>\n<\/ul>\n<h4 id=\"how-to-create-rule-for-voip-upload-traffic-directed-voipsip-server\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u4e3aVoIP\u4e0a\u4f20\u6d41\u91cf\u521b\u5efa\u89c4\u5219<\/h4>\n<p style=\"text-align: justify;\">\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u4e3aVoIP \u4e0a\u4f20\u6d41\u91cf\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\u3002<\/p>\n<ol style=\"text-align: justify;\">\n<li>\u5355\u51fb<code>Rules<\/code>\u9009\u9879\u5361\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/8-9bc0e73f7496d6c3790c0456ef3f65b0.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9979\" title=\"OPNsense \u4e2d\u7684\u6d41\u91cf\u6574\u5f62\u89c4\u5219\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/8-9bc0e73f7496d6c3790c0456ef3f65b0.png\" alt=\"OPNsense \u4e2d\u7684\u6d41\u91cf\u6574\u5f62\u89c4\u5219\" width=\"1902\" height=\"671\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/8-9bc0e73f7496d6c3790c0456ef3f65b0.png 1902w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/8-9bc0e73f7496d6c3790c0456ef3f65b0-300x106.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/8-9bc0e73f7496d6c3790c0456ef3f65b0-1024x361.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/8-9bc0e73f7496d6c3790c0456ef3f65b0-768x271.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/8-9bc0e73f7496d6c3790c0456ef3f65b0-1536x542.png 1536w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/8-9bc0e73f7496d6c3790c0456ef3f65b0-500x176.png 500w\" sizes=\"auto, (max-width: 1902px) 100vw, 1902px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 8.\u00a0<\/strong><em>OPNsense \u4e2d\u7684\u6d41\u91cf\u6574\u5f62\u89c4\u5219<\/em><\/p>\n<ol style=\"text-align: justify;\" start=\"2\">\n<li>\u5355\u51fb<code> <\/code>\u56fe\u6807\u3002<\/li>\n<li><strong>\u63a5\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>WAN<\/code>\u3002<\/li>\n<li><strong>\u534f\u8bae<\/strong>\u8bbe\u7f6e\u4e3a<code>ip<\/code>\u3002<\/li>\n<li><strong>\u6e90<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u6e90\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>22.33.44.55<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>640Kbps_VoIP_upload<\/code>\u3002<\/li>\n<li>\u8f93\u5165<strong>\u63cf\u8ff0<\/strong>\u00a0<code>Shape_VoIP_upload<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/9-19cb2516ba7e74aa9662990d10d23c85.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9980\" title=\"\u5728 OPNsense \u4e2d\u4e3a VoIP \u4e0a\u4f20\u5e26\u5bbd\u9884\u7559\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/9-19cb2516ba7e74aa9662990d10d23c85.png\" alt=\"\u5728 OPNsense \u4e2d\u4e3a VoIP \u4e0a\u4f20\u5e26\u5bbd\u9884\u7559\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\" width=\"1102\" height=\"880\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/9-19cb2516ba7e74aa9662990d10d23c85.png 1102w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/9-19cb2516ba7e74aa9662990d10d23c85-300x240.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/9-19cb2516ba7e74aa9662990d10d23c85-1024x818.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/9-19cb2516ba7e74aa9662990d10d23c85-768x613.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/9-19cb2516ba7e74aa9662990d10d23c85-376x300.png 376w\" sizes=\"auto, (max-width: 1102px) 100vw, 1102px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 9.<\/strong> <em>\u4e3a VoIP \u4e0a\u4f20\u5e26\u5bbd\u9884\u7559\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219<\/em><\/p>\n<h4 id=\"how-to-create-rule-for-voip-upload-traffic-directed-voipsip-server\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u4e3aVoIP\u4e0b\u8f7d\u6d41\u91cf\u521b\u5efa\u89c4\u5219<\/h4>\n<p style=\"text-align: justify;\">\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u4e3aVoIP \u4e0b\u8f7d\u6d41\u91cf\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\u3002<\/p>\n<ol style=\"text-align: justify;\">\n<li>\u5355\u51fb\u201c\u89c4\u5219\u201d\u9009\u9879\u5361\u3002<\/li>\n<li>\u5355\u51fb<code> <\/code>\u56fe\u6807\u3002<\/li>\n<li><strong>\u63a5\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>WAN<\/code>\u3002<\/li>\n<li><strong>\u534f\u8bae<\/strong>\u8bbe\u7f6e\u4e3a<code>ip<\/code>\u3002<\/li>\n<li><strong>\u6e90<\/strong>\u8bbe\u7f6e\u4e3a<code>22.33.44.55<\/code>\u3002<\/li>\n<li><strong>\u6e90\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>640Kbps_VoIP_download<\/code>\u3002<\/li>\n<li>\u8f93\u5165<strong>\u63cf\u8ff0<\/strong>\u00a0<code>Shape_VoIP_download<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/10-183e2cd4a8de15b2c8597665fc8da738.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9981\" title=\"\u5728 OPNsense \u4e2d\u4e3a VoIP \u4e0b\u8f7d\u5e26\u5bbd\u9884\u7559\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/10-183e2cd4a8de15b2c8597665fc8da738.png\" alt=\"\u5728 OPNsense \u4e2d\u4e3a VoIP \u4e0b\u8f7d\u5e26\u5bbd\u9884\u7559\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\" width=\"1103\" height=\"886\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/10-183e2cd4a8de15b2c8597665fc8da738.png 1103w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/10-183e2cd4a8de15b2c8597665fc8da738-300x241.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/10-183e2cd4a8de15b2c8597665fc8da738-1024x823.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/10-183e2cd4a8de15b2c8597665fc8da738-768x617.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/10-183e2cd4a8de15b2c8597665fc8da738-373x300.png 373w\" sizes=\"auto, (max-width: 1103px) 100vw, 1103px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 10.<\/strong> <em>\u4e3aVoIP\u4e0b\u8f7d\u5e26\u5bbd\u9884\u7559\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219<\/em><\/p>\n<h4 id=\"how-to-create-rule-for-all-other-wan-upload-traffic\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u4e3a\u5176\u4ed6\u6240\u6709\u4e0a\u4f20\u6d41\u91cf\u521b\u5efa\u89c4\u5219<\/h4>\n<p style=\"text-align: justify;\">\u6309\u7167\u4e0b\u9762\u7684\u6b65\u9aa4\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\uff0c\u6765\u9650\u5236\u7f51\u7edc\u4e0a\u6240\u6709\u5176\u4ed6\u7528\u6237\u7684\u4e0a\u4f20\u5e26\u5bbd\u3002<\/p>\n<ol style=\"text-align: justify;\">\n<li>\u5355\u51fb\u201c\u89c4\u5219\u201d\u9009\u9879\u5361\u3002<\/li>\n<li>\u5355\u51fb<code> <\/code>\u56fe\u6807\u3002<\/li>\n<li><strong>\u63a5\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>WAN<\/code>\u3002<\/li>\n<li><strong>\u534f\u8bae<\/strong>\u8bbe\u7f6e\u4e3a<code>ip<\/code>\u3002<\/li>\n<li><strong>\u6e90<\/strong>\u8bbe\u7f6e\u4e3a<code>10.10.10.0\/24<\/code>\u3002<\/li>\n<li><strong>\u6e90\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>1984Kbps_Other_upload<\/code>\u3002<\/li>\n<li>\u8f93\u5165<strong>\u63cf\u8ff0<\/strong>\u00a0<code>Shape_Other_upload<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/11-6acc615ee9f8d1d971ca32e759249f61.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9982\" title=\"\u5728 OPNsense \u4e2d\u4e3a\u6240\u6709\u5176\u4ed6 WAN \u4e0a\u4f20\u5e26\u5bbd\u9650\u5236\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/11-6acc615ee9f8d1d971ca32e759249f61.png\" alt=\"\u5728 OPNsense \u4e2d\u4e3a\u6240\u6709\u5176\u4ed6 WAN \u4e0a\u4f20\u5e26\u5bbd\u9650\u5236\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\" width=\"1100\" height=\"891\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/11-6acc615ee9f8d1d971ca32e759249f61.png 1100w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/11-6acc615ee9f8d1d971ca32e759249f61-300x243.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/11-6acc615ee9f8d1d971ca32e759249f61-1024x829.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/11-6acc615ee9f8d1d971ca32e759249f61-768x622.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/11-6acc615ee9f8d1d971ca32e759249f61-370x300.png 370w\" sizes=\"auto, (max-width: 1100px) 100vw, 1100px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 11.<\/strong> <em>\u4e3a\u5176\u4ed6\u6240\u6709 \u4e0a\u4f20\u5e26\u5bbd\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u89c4\u5219<\/em><\/p>\n<h4 id=\"how-to-create-rule-for-all-other-wan-upload-traffic\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u4e3a\u5176\u4ed6\u6240\u6709\u4e0b\u8f7d\u6d41\u91cf\u521b\u5efa\u89c4\u5219<\/h4>\n<p style=\"text-align: justify;\">\u6309\u7167\u4e0b\u9762\u7684\u6b65\u9aa4\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\uff0c\u6765\u9650\u5236\u7f51\u7edc\u4e0a\u6240\u6709\u5176\u4ed6\u7528\u6237\u7684\u4e0b\u8f7d\u5e26\u5bbd\u3002<\/p>\n<ol style=\"text-align: justify;\">\n<li>\u5355\u51fb\u201c\u89c4\u5219\u201d\u9009\u9879\u5361\u3002<\/li>\n<li>\u5355\u51fb<code> <\/code>\u56fe\u6807\u3002<\/li>\n<li><strong>\u63a5\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>WAN<\/code>\u3002<\/li>\n<li><strong>\u539f\u578b<\/strong>\u8bbe\u7f6e\u4e3a<code>ip<\/code>\u3002<\/li>\n<li><strong>\u6e90<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u6e90\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>10.10.10.0\/24<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>19840Kbps_Other_download<\/code>\u3002<\/li>\n<li>\u8f93\u5165<strong>\u63cf\u8ff0<\/strong>\u00a0<code>Shape_Other_download<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/12-39db1e9ffa42385a4a99449f70222ac1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9983\" title=\"\u5728 OPNsense \u4e2d\u4e3a\u6240\u6709\u5176\u4ed6 WAN \u4e0b\u8f7d\u5e26\u5bbd\u9650\u5236\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/12-39db1e9ffa42385a4a99449f70222ac1.png\" alt=\"\u5728 OPNsense \u4e2d\u4e3a\u6240\u6709\u5176\u4ed6 WAN \u4e0b\u8f7d\u5e26\u5bbd\u9650\u5236\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\" width=\"1102\" height=\"889\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/12-39db1e9ffa42385a4a99449f70222ac1.png 1102w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/12-39db1e9ffa42385a4a99449f70222ac1-300x242.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/12-39db1e9ffa42385a4a99449f70222ac1-1024x826.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/12-39db1e9ffa42385a4a99449f70222ac1-768x620.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/12-39db1e9ffa42385a4a99449f70222ac1-372x300.png 372w\" sizes=\"auto, (max-width: 1102px) 100vw, 1102px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 12.<\/strong> <em>\u4e3a\u5176\u4ed6\u6240\u6709\u4e0b\u8f7d\u5e26\u5bbd\u9650\u5236\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219<\/em><\/p>\n<p style=\"text-align: justify;\">\u5728<code>Rules<\/code>\u9009\u9879\u5361\u4e2d\u53ef\u4ee5\u67e5\u770b\u5e26\u5bbd\u9650\u5236\u548c\u9884\u7559\u521b\u5efa\u7684\u6240\u6709\u89c4\u5219\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/13-952cd74b8dcecc61d855b3e1e08cb946.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9984\" title=\"\u5728 OPNsense \u4e2d\u4e3a\u5e26\u5bbd\u9884\u7559\u548c\u9650\u5236\u521b\u5efa\u7684\u89c4\u5219\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/13-952cd74b8dcecc61d855b3e1e08cb946.png\" alt=\"\u5728 OPNsense \u4e2d\u4e3a\u5e26\u5bbd\u9884\u7559\u548c\u9650\u5236\u521b\u5efa\u7684\u89c4\u5219\" width=\"1571\" height=\"661\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/13-952cd74b8dcecc61d855b3e1e08cb946.png 1571w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/13-952cd74b8dcecc61d855b3e1e08cb946-300x126.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/13-952cd74b8dcecc61d855b3e1e08cb946-1024x431.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/13-952cd74b8dcecc61d855b3e1e08cb946-768x323.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/13-952cd74b8dcecc61d855b3e1e08cb946-1536x646.png 1536w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/13-952cd74b8dcecc61d855b3e1e08cb946-500x210.png 500w\" sizes=\"auto, (max-width: 1571px) 100vw, 1571px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 13.<\/strong>\u00a0<em>\u5728 OPNsense \u4e2d\u4e3a\u5e26\u5bbd\u9884\u7559\u548c\u9650\u5236\u521b\u5efa\u7684\u89c4\u5219<\/em><\/p>\n<ul style=\"text-align: justify;\">\n<li>\u5355\u51fb<code>Apply<\/code>\u4ee5\u5e94\u7528\u66f4\u6539\u3002<\/li>\n<\/ul>\n<h3 id=\"verifying-the-bandwidth-reservation-for-voipsip-traffic\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u9a8c\u8bc1VoIP\/SIP\u6d41\u91cf<\/h3>\n<p style=\"text-align: justify;\">\u5bfc\u822a\u5230<code>Firewall<\/code>\u00a0<strong>&gt;\u00a0<\/strong><code>Shaper<\/code>\u00a0<strong>&gt;<\/strong>\u00a0<code>Status<\/code>\u3002<\/p>\n<p style=\"text-align: justify;\">\u5728<code>Status<\/code>\u6d41\u91cf\u6574\u5f62\u5668\u7684\u9875\u9762\u4e2d\uff0c\u53ef\u4ee5\u67e5\u770b\u7c7b\u4f3c\u4e8e\u56fe 14 \u7684\u6d41\u91cf\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/14-9befbca4a274972d9b2fc4a8bcaa042d.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9985\" title=\"\u5728 OPNsense \u4e2d\u9a8c\u8bc1 VoIP\/SIP \u6d41\u91cf\u7684\u5e26\u5bbd\u9884\u7559\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/14-9befbca4a274972d9b2fc4a8bcaa042d.png\" alt=\"\u5728 OPNsense \u4e2d\u9a8c\u8bc1 VoIP\/SIP \u6d41\u91cf\u7684\u5e26\u5bbd\u9884\u7559\" width=\"1574\" height=\"893\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/14-9befbca4a274972d9b2fc4a8bcaa042d.png 1574w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/14-9befbca4a274972d9b2fc4a8bcaa042d-300x170.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/14-9befbca4a274972d9b2fc4a8bcaa042d-1024x581.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/14-9befbca4a274972d9b2fc4a8bcaa042d-768x436.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/14-9befbca4a274972d9b2fc4a8bcaa042d-1536x871.png 1536w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/14-9befbca4a274972d9b2fc4a8bcaa042d-500x284.png 500w\" sizes=\"auto, (max-width: 1574px) 100vw, 1574px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 14.<\/strong>\u00a0<em>\u5728 OPNsense\u4e2d\u9a8c\u8bc1 VoIP\/SIP \u6d41\u91cf\u7684\u5e26\u5bbd\u9884\u7559<\/em><\/p>\n<h2 id=\"how-to-share-internet-bandwidth-evenly-among-clients\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u5982\u4f55\u5728\u5ba2\u6237\u7aef\u4e4b\u95f4\u5e73\u5747\u5171\u4eab Internet \u5e26\u5bbd<\/h2>\n<p style=\"text-align: justify;\">\u67d0\u4e9b\u7528\u6237\u4ece FTP \u670d\u52a1\u5668\u4e0b\u8f7d\u5927\u6587\u4ef6\u8017\u5c3d\u4e86Internet\u5e26\u5bbd\uff0c\u4f46\u662f\u56e0\u4e3a\u6ca1\u6709\u8db3\u591f\u7684\u9884\u7b97\u6765\u589e\u52a0 \u5e26\u5bbd\uff0c\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u53ef\u4ee5\u5728\u6240\u6709\u7528\u6237\u4e4b\u95f4\u5e73\u5747\u5206\u914d\u5e26\u5bbd\u3002<\/p>\n<p style=\"text-align: justify;\">\u5047\u5b9a\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li>\u516c\u53f8\u4e92\u8054\u7f51\u6709<code>20 Mbps<\/code>\u4e0b\u8f7d\u548c<code>2 Mbps<\/code>\u4e0a\u4f20\u5e26\u5bbd\u3002<\/li>\n<li>\u516c\u53f8LAN \u7f51\u7edc\u4e3a<code>10.10.10.0\/24<\/code>\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u6267\u884c\u4e0b\u9762 3 \u4e2a\u6b65\u9aa4\uff0c\u5728\u6240\u6709\u7528\u6237\u4e4b\u95f4\u5e73\u5747\u5171\u4eab\u5e26\u5bbd\uff1a<\/p>\n<ol style=\"text-align: justify;\">\n<li>\u521b\u5efa\u4e0a\u4f20\u548c\u4e0b\u8f7d\u7ba1\u9053<\/li>\n<li>\u521b\u5efa\u961f\u5217<\/li>\n<li>\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u89c4\u5219<\/li>\n<\/ol>\n<h3 id=\"1-how-to-create-upload-and-download-pipes\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">1. \u521b\u5efa\u4e0a\u4f20\u548c\u4e0b\u8f7d\u7ba1\u9053<\/h3>\n<p style=\"text-align: justify;\">\u521b\u5efa\u4e0b\u97622\u4e2a\u7ba1\u9053\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li><code>2 Mbps<\/code>\u4e0a\u4f20\u6d41\u91cf\u7684\u7ba1\u9053\u3002<\/li>\n<li><code>20 Mbps<\/code>\u4e0b\u8f7d\u6d41\u91cf\u7ba1\u9053\u3002<\/li>\n<\/ul>\n<h4 id=\"how-to-create-a-pipe-for-internet-upload-traffic\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u521b\u5efa\u4e0a\u4f20\u7ba1\u9053<\/h4>\n<ol style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u81f3<code>Firewall<\/code>\u2192\u00a0<code>Shaper<\/code>\u2192 <code>Pipes<\/code>\u3002<\/li>\n<li>\u5355\u51fb\u8868\u5355\u53f3\u4e0b\u89d2\u7684<code> <\/code>\u6d41\u91cf\u521b\u5efa\u7ba1\u9053\u3002<\/li>\n<li>\u5355\u51fb\u590d\u9009\u6846\u542f\u7528\u3002<\/li>\n<li><strong>\u5e26\u5bbd<\/strong>\u8bbe\u7f6e\u4e3a<code>2<\/code>\u3002<\/li>\n<li><strong>\u5e26\u5bbd\u5355\u4f4d<\/strong>\u8bbe\u7f6e\u4e3a<code>Mbit\/s<\/code>\u3002<\/li>\n<li><strong>\u63a9\u7801<\/strong>\u4fdd\u7559\u4e3a<code>none<\/code>\u3002<\/li>\n<li>\u8f93\u5165<strong>\u63cf\u8ff0<\/strong>\uff0c\u4f8b\u5982<code>2Mbps_Internet_upload<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/15-6c30a59e2883032c6edff53984934506.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9986\" title=\"\u4e3a 2Mbps \u5176\u4ed6 Internet \u4e0a\u4f20\u6d41\u91cf\u521b\u5efa\u7ba1\u9053\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/15-6c30a59e2883032c6edff53984934506.png\" alt=\"\u4e3a 2Mbps \u5176\u4ed6 Internet \u4e0a\u4f20\u6d41\u91cf\u521b\u5efa\u7ba1\u9053\" width=\"1106\" height=\"602\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/15-6c30a59e2883032c6edff53984934506.png 1106w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/15-6c30a59e2883032c6edff53984934506-300x163.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/15-6c30a59e2883032c6edff53984934506-1024x557.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/15-6c30a59e2883032c6edff53984934506-768x418.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/15-6c30a59e2883032c6edff53984934506-500x272.png 500w\" sizes=\"auto, (max-width: 1106px) 100vw, 1106px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 15.<\/strong>\u00a0<em>\u521b\u5efa\u4e0a\u4f20\u6d41\u91cf\u7ba1\u9053<\/em><\/p>\n<h4 id=\"how-to-create-a-pipe-for-internet-download-traffic\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u521b\u5efa\u4e0b\u8f7d\u7ba1\u9053<\/h4>\n<ol>\n<li>\u5bfc\u822a\u81f3<code>Firewall<\/code>\u2192\u00a0<code>Shaper<\/code>\u2192 <code>Pipes<\/code>\u3002<\/li>\n<li>\u5355\u51fb\u8868\u5355\u53f3\u4e0b\u89d2\u00a0<code> <\/code> \u521b\u5efa\u7ba1\u9053\u3002<\/li>\n<li>\u5355\u51fb\u590d\u9009\u6846\u542f\u7528\u3002<\/li>\n<li><strong>\u5e26\u5bbd<\/strong>\u8bbe\u7f6e\u4e3a<code>20<\/code>\u3002<\/li>\n<li><strong>\u5e26\u5bbd\u5355\u4f4d<\/strong>\u8bbe\u7f6e\u4e3a<code>Mbit\/s<\/code>\u3002<\/li>\n<li><strong>\u63a9\u7801<\/strong>\u4fdd\u7559\u4e3a<code>none<\/code>\u3002<\/li>\n<li>\u8f93\u5165<strong>\u63cf\u8ff0<\/strong>\uff0c\u4f8b\u5982<code>20Mbps_Internet_download<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/16-ce40d1ce722048a06f82f2fc1c0442e4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9987\" title=\"\u5728 OPnsense \u4e2d\u4e3a 20 Mbps \u4e92\u8054\u7f51\u4e0b\u8f7d\u521b\u5efa\u7ba1\u9053\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/16-ce40d1ce722048a06f82f2fc1c0442e4.png\" alt=\"\u5728 OPnsense \u4e2d\u4e3a 20 Mbps \u4e92\u8054\u7f51\u4e0b\u8f7d\u521b\u5efa\u7ba1\u9053\" width=\"1111\" height=\"603\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/16-ce40d1ce722048a06f82f2fc1c0442e4.png 1111w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/16-ce40d1ce722048a06f82f2fc1c0442e4-300x163.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/16-ce40d1ce722048a06f82f2fc1c0442e4-1024x556.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/16-ce40d1ce722048a06f82f2fc1c0442e4-768x417.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/16-ce40d1ce722048a06f82f2fc1c0442e4-500x271.png 500w\" sizes=\"auto, (max-width: 1111px) 100vw, 1111px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 16.<\/strong>\u00a0<em>\u521b\u5efa\u4e0b\u8f7d\u6d41\u91cf\u7ba1\u9053<\/em><\/p>\n<p style=\"text-align: justify;\">\u53ef\u4ee5\u5728<code>Pipes<\/code>\u9009\u9879\u5361\u67e5\u770b\u521b\u5efa\u7684\u6240\u6709\u7ba1\u9053\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/17-1e5b5d1cf4f994700133f0ae8a0866df.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9988\" title=\"\u5728 OPNsense \u4e2d\u4e3a Internet \u5e26\u5bbd\u5206\u914d\u521b\u5efa\u7684\u7ba1\u9053\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/17-1e5b5d1cf4f994700133f0ae8a0866df.png\" alt=\"\u5728 OPNsense \u4e2d\u4e3a Internet \u5e26\u5bbd\u5206\u914d\u521b\u5efa\u7684\u7ba1\u9053\" width=\"1573\" height=\"598\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/17-1e5b5d1cf4f994700133f0ae8a0866df.png 1573w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/17-1e5b5d1cf4f994700133f0ae8a0866df-300x114.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/17-1e5b5d1cf4f994700133f0ae8a0866df-1024x389.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/17-1e5b5d1cf4f994700133f0ae8a0866df-768x292.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/17-1e5b5d1cf4f994700133f0ae8a0866df-1536x584.png 1536w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/17-1e5b5d1cf4f994700133f0ae8a0866df-500x190.png 500w\" sizes=\"auto, (max-width: 1573px) 100vw, 1573px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 17.<\/strong> <em>\u521b\u5efa\u7684\u7ba1\u9053<\/em><\/p>\n<ul style=\"text-align: justify;\">\n<li>\u5355\u51fb<code>Apply<\/code>\u4ee5\u5e94\u7528\u66f4\u6539\u3002<\/li>\n<\/ul>\n<h3 id=\"2--how-to-create-upload-and-download-queues\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">2. \u521b\u5efa\u4e0a\u4f20\u548c\u4e0b\u8f7d\u961f\u5217<\/h3>\n<p style=\"text-align: justify;\">\u521b\u5efa2\u4e2a\u961f\u5217\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li>\u6743\u91cd\u4e3a<code>100<\/code>\u7684\u4e0a\u4f20\u961f\u5217\u3002<\/li>\n<li>\u6743\u91cd\u4e3a<code>100<\/code>\u7684\u4e0b\u8f7d\u961f\u5217\u3002<\/li>\n<\/ul>\n<h4 id=\"how-to-create-a-queue-for-internet-upload-traffic\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u521b\u5efa\u4e0a\u4f20\u961f\u5217<\/h4>\n<ol style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u81f3<code>Firewall<\/code>\u2192\u00a0<code>Shaper<\/code>\u2192 <code>Queue<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/18-bdfa8f560d8381dd40c8521f9207c1a8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9989\" title=\"\u5728 OPNsense \u4e2d\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u961f\u5217\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/18-bdfa8f560d8381dd40c8521f9207c1a8.png\" alt=\"\u5728 OPNsense \u4e2d\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u961f\u5217\" width=\"1910\" height=\"623\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/18-bdfa8f560d8381dd40c8521f9207c1a8.png 1910w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/18-bdfa8f560d8381dd40c8521f9207c1a8-300x98.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/18-bdfa8f560d8381dd40c8521f9207c1a8-1024x334.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/18-bdfa8f560d8381dd40c8521f9207c1a8-768x251.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/18-bdfa8f560d8381dd40c8521f9207c1a8-1536x501.png 1536w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/18-bdfa8f560d8381dd40c8521f9207c1a8-500x163.png 500w\" sizes=\"auto, (max-width: 1910px) 100vw, 1910px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 18.<\/strong>\u00a0<em>\u5728 OPNsense \u4e2d\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u961f\u5217<\/em><\/p>\n<ol style=\"text-align: justify;\" start=\"2\">\n<li>\u5355\u51fb\u8868\u5355\u53f3\u4e0b\u89d2\u7684<code> <\/code>\u521b\u5efa\u961f\u5217\u3002<\/li>\n<li>\u5355\u51fb\u590d\u9009\u6846\u542f\u7528\u3002<\/li>\n<li>\u9009\u62e9<code>2Mbps_Internet_upload<\/code>\u7ba1\u9053\u3002<\/li>\n<li>\u5c06<strong>\u6743\u91cd<\/strong>\u8bbe\u7f6e\u4e3a<code>100<\/code>\u3002\uff081 \u6700\u4f4e\uff0c100 \u6700\u9ad8\uff09\u3002<\/li>\n<li>\u5c06<strong>\u63a9\u7801<\/strong>\u8bbe\u7f6e\u4e3a<code>source<\/code>\uff0c\u5728\u89c4\u5219\u7684\u6e90\u5b57\u6bb5\u4e2d\u7684\u6240\u6709 IP \u5730\u5740\u4e4b\u95f4\u5e73\u5747\u5171\u4eab\u6307\u5b9a\u7684\u5e26\u5bbd\u3002\u8fd9\u901a\u5e38\u7528\u4e8e\u4e0a\u4f20\u961f\u5217\u3002<\/li>\n<li>\u8f93\u5165<strong>\u63cf\u8ff0<\/strong>\uff0c\u4f8b\u5982<code>Queue_2Mbps_Internet_upload<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/19-458c67b9a938c1b83b4d944a896d8b15.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9990\" title=\"\u5728 OPNsense \u4e2d\u4e3a Internet \u4e0a\u4f20\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u961f\u5217\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/19-458c67b9a938c1b83b4d944a896d8b15.png\" alt=\"\u5728 OPNsense \u4e2d\u4e3a Internet \u4e0a\u4f20\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u961f\u5217\" width=\"1106\" height=\"607\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/19-458c67b9a938c1b83b4d944a896d8b15.png 1106w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/19-458c67b9a938c1b83b4d944a896d8b15-300x165.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/19-458c67b9a938c1b83b4d944a896d8b15-1024x562.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/19-458c67b9a938c1b83b4d944a896d8b15-768x421.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/19-458c67b9a938c1b83b4d944a896d8b15-500x274.png 500w\" sizes=\"auto, (max-width: 1106px) 100vw, 1106px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 19.<\/strong> <em>\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u4e0a\u4f20\u961f\u5217<\/em><\/p>\n<h4 id=\"how-to-create-a-queue-for-internet-download-traffic\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u521b\u5efa\u4e0b\u8f7d\u961f\u5217<\/h4>\n<ol>\n<li>\u5bfc\u822a\u81f3<code>Firewall<\/code>\u2192\u00a0<code>Shaper<\/code>\u2192 <code>Queue<\/code>\u3002<\/li>\n<li>\u5355\u51fb\u8868\u5355\u53f3\u4e0b\u89d2\u7684<code> <\/code>\u521b\u5efa\u961f\u5217\u3002<\/li>\n<li>\u5355\u51fb\u590d\u9009\u6846\u542f\u7528\u3002<\/li>\n<li>\u9009\u62e9<code>20Mbps_Internet_download<\/code>\u7ba1\u9053\u3002<\/li>\n<li><strong>\u6743\u91cd<\/strong>\u8bbe\u7f6e\u4e3a<code>100<\/code>\u3002\uff081 \u6700\u4f4e\uff0c100 \u6700\u9ad8\uff09\u3002<\/li>\n<li><strong>\u63a9\u7801<\/strong>\u8bbe\u7f6e\u4e3a<code>destination<\/code>\uff0c\u5728\u89c4\u5219\u7684\u76ee\u6807\u5b57\u6bb5\u4e2d\u7684\u6240\u6709 IP \u5730\u5740\u4e4b\u95f4\u5e73\u5747\u5171\u4eab\u6307\u5b9a\u7684\u5e26\u5bbd\u3002\u7ba1\u9053\u5c06<code>20Mbps<\/code>\u5141\u8bb8<code>10<\/code>\u5ba2\u6237\u501f\u51fa<code>2Mbps<\/code>\u6bcf\u4e2a\u3002\u8fd9\u901a\u5e38\u7528\u4e8e\u4e0b\u8f7d\u961f\u5217\u3002<\/li>\n<li>\u8f93\u5165<strong>\u63cf\u8ff0<\/strong>\uff0c\u4f8b\u5982<code>Queue_20Mbps_Internet_download<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/20-a1ef523603070a5330a79d0c1998a0b2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9991\" title=\"\u5728 OPNsense \u4e2d\u4e3a Internet \u4e0b\u8f7d\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u961f\u5217\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/20-a1ef523603070a5330a79d0c1998a0b2.png\" alt=\"\u5728 OPNsense \u4e2d\u4e3a Internet \u4e0b\u8f7d\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u961f\u5217\" width=\"1104\" height=\"609\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/20-a1ef523603070a5330a79d0c1998a0b2.png 1104w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/20-a1ef523603070a5330a79d0c1998a0b2-300x165.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/20-a1ef523603070a5330a79d0c1998a0b2-1024x565.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/20-a1ef523603070a5330a79d0c1998a0b2-768x424.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/20-a1ef523603070a5330a79d0c1998a0b2-500x276.png 500w\" sizes=\"auto, (max-width: 1104px) 100vw, 1104px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 20.<\/strong>\u00a0<em>\u521b\u5efa\u4e0b\u8f7d\u961f<\/em><\/p>\n<p style=\"text-align: justify;\">\u53ef\u4ee5\u5728<code>Queues<\/code>\u9009\u9879\u5361\u67e5\u770b\u521b\u5efa\u7684\u6240\u6709\u961f\u5217\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/21-be4068daad39a7fdd14edb386727f391.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9992\" title=\"\u5728 OPNsense \u4e2d\u4e3a Internet \u5e26\u5bbd\u5206\u914d\u521b\u5efa\u7684\u961f\u5217\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/21-be4068daad39a7fdd14edb386727f391.png\" alt=\"\u5728 OPNsense \u4e2d\u4e3a Internet \u5e26\u5bbd\u5206\u914d\u521b\u5efa\u7684\u961f\u5217\" width=\"1584\" height=\"595\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/21-be4068daad39a7fdd14edb386727f391.png 1584w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/21-be4068daad39a7fdd14edb386727f391-300x113.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/21-be4068daad39a7fdd14edb386727f391-1024x385.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/21-be4068daad39a7fdd14edb386727f391-768x288.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/21-be4068daad39a7fdd14edb386727f391-1536x577.png 1536w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/21-be4068daad39a7fdd14edb386727f391-500x188.png 500w\" sizes=\"auto, (max-width: 1584px) 100vw, 1584px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 21. <\/strong><em>\u4e3a Internet\u5e26\u5bbd\u5206\u914d\u521b\u5efa\u7684\u961f\u5217<\/em><\/p>\n<ul style=\"text-align: justify;\">\n<li>\u5355\u51fb<code>Apply<\/code>\u4ee5\u5e94\u7528\u66f4\u6539\u3002<\/li>\n<\/ul>\n<h3 id=\"3-how-to-create-traffic-shaper-rules\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">3. \u521b\u5efa\u6d41\u91cf\u6574\u5f62\u89c4\u5219<\/h3>\n<p style=\"text-align: justify;\">\u521b\u5efa 2 \u6761\u6d41\u91cf\u6574\u5f62\u89c4\u5219\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li>\u4e0a\u4f20\u6d41\u91cf\u89c4\u5219\u3002<\/li>\n<li>\u4e0b\u8f7d\u6d41\u91cf\u89c4\u5219\u3002<\/li>\n<\/ul>\n<h4 id=\"how-to-create-a-rule-for-internet-upload-traffic\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u521b\u5efa\u4e0a\u4f20\u6d41\u91cf\u6574\u5f62\u89c4\u5219<\/h4>\n<ol style=\"text-align: justify;\">\n<li>\u5355\u51fb\u201c\u89c4\u5219\u201d\u9009\u9879\u5361\u3002<\/li>\n<li>\u5355\u51fb<code> <\/code>\u56fe\u6807\u3002<\/li>\n<li><strong>\u63a5\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>WAN<\/code>\u3002<\/li>\n<li><strong>\u534f\u8bae<\/strong>\u8bbe\u7f6e\u4e3a<code>ip<\/code>\u3002<\/li>\n<li><strong>\u6e90<\/strong>\u8bbe\u7f6e\u4e3a<code>10.10.10.0\/24<\/code>\u3002<\/li>\n<li><strong>\u6e90\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>any\u3002<\/code><\/li>\n<li><strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li>\u5c06<strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>Queue_2Mbps_Internet_upload<\/code>\u3002<\/li>\n<li>\u8f93\u5165<strong>\u8bf4\u660e<\/strong>\u00a0<code>Shape_Internet_upload<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/22-b7c13afccddc55f3a59e341756c448a2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9993\" title=\"\u5728 OPNsense \u4e2d\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u89c4\u5219\u4ee5\u5728 LAN \u7528\u6237\u4e4b\u95f4\u5747\u5300\u5206\u914d Internet \u4e0a\u4f20\u6d41\u91cf\u5e26\u5bbd\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/22-b7c13afccddc55f3a59e341756c448a2.png\" alt=\"\u5728 OPNsense \u4e2d\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u89c4\u5219\u4ee5\u5728 LAN \u7528\u6237\u4e4b\u95f4\u5747\u5300\u5206\u914d Internet \u4e0a\u4f20\u6d41\u91cf\u5e26\u5bbd\" width=\"1108\" height=\"894\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/22-b7c13afccddc55f3a59e341756c448a2.png 1108w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/22-b7c13afccddc55f3a59e341756c448a2-300x242.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/22-b7c13afccddc55f3a59e341756c448a2-1024x826.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/22-b7c13afccddc55f3a59e341756c448a2-768x620.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/22-b7c13afccddc55f3a59e341756c448a2-372x300.png 372w\" sizes=\"auto, (max-width: 1108px) 100vw, 1108px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 22.<\/strong>\u00a0<em>\u5728 OPNsense \u4e2d\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u89c4\u5219\uff0c\u5728 LAN \u7528\u6237\u4e4b\u95f4\u5747\u5300\u5206\u914d Internet \u4e0a\u4f20\u5e26\u5bbd<\/em><\/p>\n<h4 id=\"how-to-create-a-rule-for-internet-upload-traffic\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u521b\u5efa\u4e0b\u8f7d\u6d41\u91cf\u6574\u5f62\u89c4\u5219<\/h4>\n<ol style=\"text-align: justify;\">\n<li>\u5355\u51fb\u201c\u89c4\u5219\u201d\u9009\u9879\u5361\u3002<\/li>\n<li>\u5355\u51fb<code> <\/code>\u56fe\u6807\u3002<\/li>\n<li><strong>\u63a5\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>WAN<\/code>\u3002<\/li>\n<li><strong>\u539f\u578b<\/strong>\u8bbe\u7f6e\u4e3a<code>ip<\/code>\u3002<\/li>\n<li><strong>\u6e90<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u6e90\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>10.10.10.0\/24<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li>\u5c06<strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>Queue_20Mbps_Internet_download<\/code>\u3002<\/li>\n<li>\u8f93\u5165<strong>\u63cf\u8ff0<\/strong>\u00a0<code>Shape_Internet_download<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/23-997a0cc2b447638447d73555e09c6972.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9994\" title=\"\u5728 OPNsense \u4e2d\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u89c4\u5219\u4ee5\u5728 LAN \u7528\u6237\u4e4b\u95f4\u5747\u5300\u5206\u914d Internet \u4e0b\u8f7d\u6d41\u91cf\u5e26\u5bbd\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/23-997a0cc2b447638447d73555e09c6972.png\" alt=\"\u5728 OPNsense \u4e2d\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u89c4\u5219\u4ee5\u5728 LAN \u7528\u6237\u4e4b\u95f4\u5747\u5300\u5206\u914d Internet \u4e0b\u8f7d\u6d41\u91cf\u5e26\u5bbd\" width=\"1111\" height=\"888\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/23-997a0cc2b447638447d73555e09c6972.png 1111w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/23-997a0cc2b447638447d73555e09c6972-300x240.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/23-997a0cc2b447638447d73555e09c6972-1024x818.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/23-997a0cc2b447638447d73555e09c6972-768x614.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/23-997a0cc2b447638447d73555e09c6972-375x300.png 375w\" sizes=\"auto, (max-width: 1111px) 100vw, 1111px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 23.<\/strong> <em>\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u89c4\u5219\uff0c\u5728 LAN\u7528\u6237\u4e4b\u95f4\u5e73\u5747\u5206\u914d Internet\u4e0b\u8f7d\u6d41\u91cf\u5e26\u5bbd<\/em><\/p>\n<p style=\"text-align: justify;\">\u53ef\u4ee5\u5728<code>Rules<\/code>\u9009\u9879\u5361\uff0c\u67e5\u770b\u6240\u6709\u521b\u5efa\u7684\u6d41\u91cf\u6574\u5f62\u89c4\u5219\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/24-8d468ac421de9d6a1ad1bd68dd19c891.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9995\" title=\"\u4e3a\u5728 OPNsense \u4e2d\u7684 LAN \u7528\u6237\u4e4b\u95f4\u5e73\u5747\u5206\u914d Internet \u4e0b\u8f7d\u6d41\u91cf\u5e26\u5bbd\u800c\u521b\u5efa\u7684\u89c4\u5219\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/24-8d468ac421de9d6a1ad1bd68dd19c891.png\" alt=\"\u4e3a\u5728 OPNsense \u4e2d\u7684 LAN \u7528\u6237\u4e4b\u95f4\u5e73\u5747\u5206\u914d Internet \u4e0b\u8f7d\u6d41\u91cf\u5e26\u5bbd\u800c\u521b\u5efa\u7684\u89c4\u5219\" width=\"1596\" height=\"590\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/24-8d468ac421de9d6a1ad1bd68dd19c891.png 1596w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/24-8d468ac421de9d6a1ad1bd68dd19c891-300x111.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/24-8d468ac421de9d6a1ad1bd68dd19c891-1024x379.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/24-8d468ac421de9d6a1ad1bd68dd19c891-768x284.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/24-8d468ac421de9d6a1ad1bd68dd19c891-1536x568.png 1536w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/24-8d468ac421de9d6a1ad1bd68dd19c891-500x185.png 500w\" sizes=\"auto, (max-width: 1596px) 100vw, 1596px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 24.<\/strong>\u00a0<em>\u4e3a LAN \u7528\u6237\u4e4b\u95f4\u5e73\u5747\u5206\u914d Internet \u4e0b\u8f7d\u6d41\u91cf\u5e26\u5bbd\u800c\u521b\u5efa\u7684\u89c4\u5219<\/em><\/p>\n<ul style=\"text-align: justify;\">\n<li>\u5355\u51fb<code>Apply<\/code>\u4ee5\u5e94\u7528\u66f4\u6539\u3002<\/li>\n<\/ul>\n<h3 id=\"verifying-the-sharing-internet-bandwidth-evenly\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u9a8c\u8bc1\u662f\u5426\u5e73\u5747\u5206\u914d<\/h3>\n<p style=\"text-align: justify;\">\u5bfc\u822a\u5230<code>Firewall<\/code>\u00a0<strong>&gt;\u00a0<\/strong><code>Shaper<\/code>\u00a0<strong>&gt;<\/strong>\u00a0<code>Status<\/code>\u3002<\/p>\n<p style=\"text-align: justify;\">\u5982\u679c\u5176\u4e2d\u4e00\u4e2a\u5ba2\u6237\u7aef\u5411\/\u4ece Internet \u4e0a\u4f20\u6216\u4e0b\u8f7d\u5927\u6587\u4ef6\uff0c\u53ef\u4ee5\u5728\u5ba2\u6237\u7aef IP \u5730\u5740\u7684 Current Activity\u4e2d\u770b\u5230\u4e22\u5f03\u7684\u6570\u636e\u5305\uff0c\u7c7b\u4f3c\u4e8e\u56fe 25\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/25-1d6c5fb945cb81027304ad76bb0d1c63.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9996\" title=\"\u5728 OPNsense \u4e2d\u9a8c\u8bc1 LAN \u7528\u6237\u4e4b\u95f4\u7684 Internet \u5e26\u5bbd\u5206\u5e03\u5747\u5300\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/25-1d6c5fb945cb81027304ad76bb0d1c63.png\" alt=\"\u5728 OPNsense \u4e2d\u9a8c\u8bc1 LAN \u7528\u6237\u4e4b\u95f4\u7684 Internet \u5e26\u5bbd\u5206\u5e03\u5747\u5300\" width=\"1569\" height=\"580\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/25-1d6c5fb945cb81027304ad76bb0d1c63.png 1569w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/25-1d6c5fb945cb81027304ad76bb0d1c63-300x111.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/25-1d6c5fb945cb81027304ad76bb0d1c63-1024x379.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/25-1d6c5fb945cb81027304ad76bb0d1c63-768x284.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/25-1d6c5fb945cb81027304ad76bb0d1c63-1536x568.png 1536w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/25-1d6c5fb945cb81027304ad76bb0d1c63-500x185.png 500w\" sizes=\"auto, (max-width: 1569px) 100vw, 1569px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 25.<\/strong> <em>\u9a8c\u8bc1 LAN \u7528\u6237\u4e4b\u95f4\u7684 Internet \u5e26\u5bbd\u5747\u5300\u5206\u5e03<\/em><\/p>\n<div class=\"theme-admonition theme-admonition-info alert alert--info admonition_LlT9\" style=\"text-align: justify;\">\n<div class=\"admonitionHeading_tbUL\">\u63d0\u793a\uff1aOPNsense\u6d41\u91cf\u6574\u5f62\u5668\u5141\u8bb8\u9650\u5236 LAN \u6216\u8bbf\u5ba2\u7f51\u7edc\u4e0a\u7684\u4e92\u8054\u7f51\u5e26\u5bbd\u4f7f\u7528\u3002\u90a3\u4e48\u7528\u6237\u4e0d\u80fd\u6d88\u8017\u6bd4\u5206\u914d\u66f4\u591a\u7684 Internet \u5e26\u5bbd\u3002<\/div>\n<\/div>\n<h2 id=\"how-to-prioritize-applications-using-queues\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u5982\u4f55\u4f7f\u7528\u961f\u5217<\/h2>\n<p style=\"text-align: justify;\">\u5047\u8bbe\u60a8\u7684\u8001\u677f\u62b1\u6028\u89c2\u770b\u8fdc\u7a0b\u529e\u516c\u5ba4\u6444\u50cf\u5934\u7ecf\u5e38\u51fa\u73b0\u5361\u987f\uff0c\u7ecf\u8fc7\u8c03\u67e5\u786e\u5b9a\u662f\u8fdc\u7a0b\u529e\u516c\u5ba4\u548c\u603b\u90e8\u529e\u516c\u5ba4\u4e4b\u95f4\u7684 WAN \u8fde\u63a5\u5b58\u5728\u5927\u91cf\u89c6\u9891\u6d41\u4e22\u5305\uff0c\u5e76\u4e14 HTTP(S) \u8fde\u63a5\u6b63\u5728\u6d88\u8017\u5927\u90e8\u5206\u5e26\u5bbd\u5bb9\u91cf\u3002\u4f46\u662f\u8001\u677f\u4e0d\u51fa\u94b1\u589e\u52a0 WAN \u5e26\u5bbd\u3002\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u53ef\u4ee5\u51b3\u5b9a\u4f18\u5148\u8003\u8651\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p style=\"text-align: justify;\">\u5047\u5b9a\uff1a<\/p>\n<ul>\n<li style=\"text-align: justify;\">WAN \u6709<code>10 Mbps<\/code>\u4e0b\u8f7d\u5e26\u5bbd\u3002<\/li>\n<li>\u516c\u53f8\u603b\u90e8 LAN \u7f51\u7edc\u4e3a<code>10.10.10.0\/24<\/code>\u3002<\/li>\n<li>\u6444\u50cf\u673a\u4f7f\u7528\u7aef\u53e3<code>TCP\/37777<\/code>\u8fdb\u884c\u89c6\u9891\u6d41\u7684\u4f20\u8f93\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u6d41\u91cf\u6574\u5f62\u5668\u5141\u8bb8\u901a\u8fc7\u4f7f\u7528\u961f\u5217\u6765\u5f71\u54cd\u7ba1\u9053\u5185\u7684\u5e26\u5bbd\uff0c\u5e76\u57fa\u4e8e\u52a0\u6743\u7b97\u6cd5\u4e3a\u67d0\u4e9b\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u6bd4\u5176\u4ed6\u5e94\u7528\u7a0b\u5e8f\u66f4\u591a\u7684\u5e26\u5bbd\u3002\u5728\u672c\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u53ea\u8003\u8651\u4e0b\u8f7d\u6d41\u91cf\uff0c\u5e76\u5c06\u89c6\u9891\u6d41\u5e94\u7528\u7684\u6743\u91cd\u53c2\u6570\u8bbe\u7f6e\u4e3a<code>9<\/code>\uff0cHTTP(S) \u8bbe\u7f6e<code>1<\/code>\u4e3aS) \u6d41\u91cf\uff0c\u90a3\u4e48 HTTP(S) \u9650\u5236\u4e3a 1 Mbps\u5e26\u5bbd\uff0c\u89c6\u9891\u6d41\u9650\u5236\u4e3a 9 Mbps\u5e26\u5bbd\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th align=\"center\">\u5e94\u7528<\/th>\n<th align=\"center\">\u6743\u91cf<\/th>\n<th align=\"center\">\u6700\u5c0f\u5e26\u5bbd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\"><em>\u89c6\u9891\u6d41\uff08\u7aef\u53e3 37777\uff09<\/em><\/td>\n<td align=\"center\">9<\/td>\n<td align=\"center\">9 Mbps<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><em>HTTP (80) \/ HTTPS (443)<\/em><\/td>\n<td align=\"center\">1<\/td>\n<td align=\"center\">1 Mbps<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><\/td>\n<td align=\"center\"><\/td>\n<td align=\"center\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u786e\u5b9a\u5e94\u7528\u7a0b\u5e8f\u7684\u5e26\u5bbd\u4f7f\u7528\u4f18\u5148\u7ea7\uff1a<\/p>\n<ol style=\"text-align: justify;\">\n<li><em>\u521b\u5efa\u4e0b\u8f7d\u7ba1\u9053<\/em><\/li>\n<li><em>\u521b\u5efa\u961f\u5217<\/em><\/li>\n<li><em>\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u89c4\u5219<\/em><\/li>\n<\/ol>\n<h3 id=\"1-how-to-create-download-pipe\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">1. \u521b\u5efa\u4e0b\u8f7d\u7ba1\u9053<\/h3>\n<ol style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u81f3<code>Firewall<\/code>\u2192\u00a0<code>Shaper<\/code>\u2192 <code>Pipes<\/code>\u3002<\/li>\n<li>\u5355\u51fb\u8868\u5355\u53f3\u4e0b\u89d2<code> <\/code> \u521b\u5efa\u4e0b\u8f7d\u7ba1\u9053\u3002<\/li>\n<li>\u5355\u51fb\u590d\u9009\u6846\u542f\u7528\u3002<\/li>\n<li><strong>\u5e26\u5bbd<\/strong>\u8bbe\u7f6e\u4e3a<code>10<\/code>\u3002<\/li>\n<li><strong>\u5e26\u5bbd\u5355\u4f4d<\/strong>\u8bbe\u7f6e\u4e3a<code>Mbit\/s<\/code>\u3002<\/li>\n<li><strong>\u63a9\u7801<\/strong>\u4fdd\u7559\u4e3a<code>none<\/code>\u3002<\/li>\n<li>\u8f93\u5165<strong>\u63cf\u8ff0<\/strong>\uff0c\u4f8b\u5982<code>10Mbps_download<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/26-ddc13ace510d5845084cc613aac55186.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9997\" title=\"\u5728 OPnsense \u4e2d\u4e3a 10 Mbps \u4e0b\u8f7d\u6d41\u91cf\u521b\u5efa\u7ba1\u9053\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/26-ddc13ace510d5845084cc613aac55186.png\" alt=\"\u5728 OPnsense \u4e2d\u4e3a 10 Mbps \u4e0b\u8f7d\u6d41\u91cf\u521b\u5efa\u7ba1\u9053\" width=\"1105\" height=\"611\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/26-ddc13ace510d5845084cc613aac55186.png 1105w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/26-ddc13ace510d5845084cc613aac55186-300x166.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/26-ddc13ace510d5845084cc613aac55186-1024x566.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/26-ddc13ace510d5845084cc613aac55186-768x425.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/26-ddc13ace510d5845084cc613aac55186-500x276.png 500w\" sizes=\"auto, (max-width: 1105px) 100vw, 1105px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 26.<\/strong>\u00a0<em>\u521b\u5efa10 Mbps\u4e0b\u8f7d\u7ba1\u9053<\/em><\/p>\n<h3 id=\"2-how-to-create-video-streaming-and-https-queues\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">2. \u521b\u5efa\u89c6\u9891\u6d41\u548c HTTP(S)\u961f\u5217<\/h3>\n<p style=\"text-align: justify;\">\u521b\u5efa2 \u4e2a\u961f\u5217\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li>\u6743\u91cd\u4e3a9\u7684\u89c6\u9891\u6d41\u6d41\u91cf\u961f\u5217\u3002<\/li>\n<li>\u6743\u91cd\u4e3a1\u7684 HTTP(S) \u6d41\u91cf\u961f\u5217\u3002<\/li>\n<\/ul>\n<h4 id=\"how-to-create-a-queue-for-video-streaming-traffic\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u8bbe\u7f6e\u89c6\u9891\u6d41\u961f\u5217<\/h4>\n<ol>\n<li>\u5bfc\u822a\u81f3<code>Firewall<\/code>\u2192\u00a0<code>Shaper<\/code>\u2192 <code>Queue<\/code><\/li>\n<li>\u5355\u51fb\u5355\u53f3\u4e0b\u89d2\u7684<code> <\/code>\u4e3a\u89c6\u9891\u6d41\u521b\u5efa\u961f\u5217\u3002<\/li>\n<li>\u5355\u51fb\u590d\u9009\u6846\u542f\u7528\u3002<\/li>\n<li>\u9009\u62e9<code>10Mbps_download<\/code>\u7ba1\u9053\u3002<\/li>\n<li>\u5c06<strong>\u6743\u91cd<\/strong>\u8bbe\u7f6e\u4e3a<code>9<\/code>\u3002<\/li>\n<li>\u5c06<strong>\u63a9\u7801<\/strong>\u8bbe\u7f6e\u4e3a<code>none<\/code>\u3002<\/li>\n<li>\u8f93\u5165<strong>\u63cf\u8ff0<\/strong>\uff0c\u4f8b\u5982<code>Queue_Video_Streaming<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/27-32886148f41ac2436a14d2fe7027d1d4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9998\" title=\"\u5728 OPNsense \u4e2d\u4e3a\u89c6\u9891\u6d41\u4e0b\u8f7d\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u961f\u5217\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/27-32886148f41ac2436a14d2fe7027d1d4.png\" alt=\"\u5728 OPNsense \u4e2d\u4e3a\u89c6\u9891\u6d41\u4e0b\u8f7d\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u961f\u5217\" width=\"1102\" height=\"607\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/27-32886148f41ac2436a14d2fe7027d1d4.png 1102w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/27-32886148f41ac2436a14d2fe7027d1d4-300x165.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/27-32886148f41ac2436a14d2fe7027d1d4-1024x564.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/27-32886148f41ac2436a14d2fe7027d1d4-768x423.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/27-32886148f41ac2436a14d2fe7027d1d4-500x275.png 500w\" sizes=\"auto, (max-width: 1102px) 100vw, 1102px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 27.<\/strong>\u00a0<em>\u521b\u5efa\u89c6\u9891\u6d41\u961f\u5217<\/em><\/p>\n<h4 id=\"how-to-create-a-queue-for-https-traffic\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u521b\u5efaHTTP(S)\u6d41\u91cf\u961f\u5217<\/h4>\n<ol>\n<li>\u5bfc\u822a\u81f3<code>Firewall<\/code>\u2192\u00a0<code>Shaper<\/code>\u2192 <code>Queue<\/code>\u3002<\/li>\n<li>\u5355\u51fb\u8868\u5355\u53f3\u4e0b\u89d2\u7684<code> <\/code>\u4e3a HTTP(S) \u6d41\u91cf\u521b\u5efa\u961f\u5217\u3002<\/li>\n<li>\u5355\u51fb\u590d\u9009\u6846\u542f\u7528\u3002<\/li>\n<li>\u9009\u62e9<code>10Mbps_download<\/code>\u7ba1\u9053\u3002<\/li>\n<li><strong>\u6743\u91cd<\/strong>\u8bbe\u7f6e\u4e3a<code>1<\/code>\u3002<\/li>\n<li><strong>\u63a9\u7801<\/strong>\u8bbe\u7f6e\u4e3a<code>none<\/code>\u3002<\/li>\n<li>\u8f93\u5165<strong>\u63cf\u8ff0<\/strong>\uff0c\u4f8b\u5982<code>Queue_HTTP<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/28-efa850bd646e0c16498961f7714d94c4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9999\" title=\"\u5728 OPNsense \u4e2d\u4e3a HTTP(S) \u6d41\u91cf\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u961f\u5217\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/28-efa850bd646e0c16498961f7714d94c4.png\" alt=\"\u5728 OPNsense \u4e2d\u4e3a HTTP(S) \u6d41\u91cf\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u961f\u5217\" width=\"1105\" height=\"606\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/28-efa850bd646e0c16498961f7714d94c4.png 1105w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/28-efa850bd646e0c16498961f7714d94c4-300x165.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/28-efa850bd646e0c16498961f7714d94c4-1024x562.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/28-efa850bd646e0c16498961f7714d94c4-768x421.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/28-efa850bd646e0c16498961f7714d94c4-500x274.png 500w\" sizes=\"auto, (max-width: 1105px) 100vw, 1105px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 28.<\/strong> <em>\u4e3a HTTP(S) \u6d41\u91cf\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u961f\u5217<\/em><\/p>\n<p style=\"text-align: justify;\">\u53ef\u4ee5\u5728<code>Queues<\/code>\u9009\u9879\u5361\u67e5\u770b\u521b\u5efa\u7684\u6240\u6709\u961f\u5217\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/29-8c2e6a73b8c7de83884f4836db042f80.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10000\" title=\"\u5728 OPNsense \u4e2d\u4e3a\u5e94\u7528\u7a0b\u5e8f\u4f18\u5148\u7ea7\u521b\u5efa\u7684\u961f\u5217\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/29-8c2e6a73b8c7de83884f4836db042f80.png\" alt=\"\u5728 OPNsense \u4e2d\u4e3a\u5e94\u7528\u7a0b\u5e8f\u4f18\u5148\u7ea7\u521b\u5efa\u7684\u961f\u5217\" width=\"1570\" height=\"580\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/29-8c2e6a73b8c7de83884f4836db042f80.png 1570w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/29-8c2e6a73b8c7de83884f4836db042f80-300x111.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/29-8c2e6a73b8c7de83884f4836db042f80-1024x378.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/29-8c2e6a73b8c7de83884f4836db042f80-768x284.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/29-8c2e6a73b8c7de83884f4836db042f80-1536x567.png 1536w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/29-8c2e6a73b8c7de83884f4836db042f80-500x185.png 500w\" sizes=\"auto, (max-width: 1570px) 100vw, 1570px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 29.<\/strong>\u00a0<em>\u5728 OPNsense \u4e2d\u4e3a\u5e94\u7528\u7a0b\u5e8f\u4f18\u5148\u7ea7\u521b\u5efa\u7684\u961f\u5217<\/em><\/p>\n<ul style=\"text-align: justify;\">\n<li>\u5355\u51fb<code>Apply<\/code>\u5e94\u7528\u66f4\u6539\u3002<\/li>\n<\/ul>\n<h3 id=\"3-how-to-create-traffic-shaper-rules-1\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">3. \u521b\u5efa\u6d41\u91cf\u6574\u5f62\u89c4\u5219<\/h3>\n<p style=\"text-align: justify;\">\u521b\u5efa\u4e0b\u9762 2 \u6761\u6d41\u91cf\u6574\u5f62\u89c4\u5219\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li>\u89c6\u9891\u6d41\u4e0b\u8f7d\u6d41\u91cf\u89c4\u5219\u3002<\/li>\n<li>HTTP\/WEB \u4e0b\u8f7d\u6d41\u91cf\u89c4\u5219\u3002<\/li>\n<li>HTTP(S)\/WEB \u4e0b\u8f7d\u6d41\u91cf\u89c4\u5219<\/li>\n<\/ul>\n<h4 id=\"how-to-create-a-rule-for-video-streaming-download-traffic\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u521b\u5efa\u89c6\u9891\u6d41\u4e0b\u8f7d\u89c4\u5219<\/h4>\n<ol style=\"text-align: justify;\">\n<li>\u5355\u51fb\u201c\u89c4\u5219\u201d\u9009\u9879\u5361\u3002<\/li>\n<li>\u5355\u51fb<code> <\/code>\u56fe\u6807\u3002<\/li>\n<li><strong>\u63a5\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>WAN<\/code>\u3002<\/li>\n<li><strong>\u534f\u8bae<\/strong>\u8bbe\u7f6e\u4e3a<code>tcp<\/code>\u3002<\/li>\n<li><strong>\u6e90<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u6e90\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>37777<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>Queue_Video_Streaming<\/code>\u3002<\/li>\n<li>\u8f93\u5165\u63cf\u8ff0\u00a0<code>Shape_Video_Streaming<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/30-e69e4ddf9cf264e8fecc7557649b25bb.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10001\" title=\"\u4e3a OPNsense \u4e2d\u7684\u89c6\u9891\u6d41\u6d41\u91cf\u4f18\u5148\u7ea7\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/30-e69e4ddf9cf264e8fecc7557649b25bb.png\" alt=\"\u4e3a OPNsense \u4e2d\u7684\u89c6\u9891\u6d41\u6d41\u91cf\u4f18\u5148\u7ea7\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\" width=\"1107\" height=\"888\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/30-e69e4ddf9cf264e8fecc7557649b25bb.png 1107w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/30-e69e4ddf9cf264e8fecc7557649b25bb-300x241.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/30-e69e4ddf9cf264e8fecc7557649b25bb-1024x821.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/30-e69e4ddf9cf264e8fecc7557649b25bb-768x616.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/30-e69e4ddf9cf264e8fecc7557649b25bb-374x300.png 374w\" sizes=\"auto, (max-width: 1107px) 100vw, 1107px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 30.<\/strong>\u00a0<em>\u4e3a\u89c6\u9891\u6d41\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u89c4\u5219<\/em><\/p>\n<h4 id=\"how-to-create-a-rule-for-http-traffic\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u521b\u5efaHTTP\u6d41\u91cf\u89c4\u5219<\/h4>\n<ol style=\"text-align: justify;\">\n<li>\u5355\u51fb\u201c\u89c4\u5219\u201d\u9009\u9879\u5361\u3002<\/li>\n<li>\u5355\u51fb<code> <\/code>\u56fe\u6807\u3002<\/li>\n<li><strong>\u63a5\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>WAN<\/code>\u3002<\/li>\n<li><strong>\u534f\u8bae<\/strong>\u8bbe\u7f6e\u4e3a<code>ip<\/code>\u3002<\/li>\n<li><strong>\u6e90<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u6e90\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>HTTP<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>Queue_HTTP<\/code>\u3002<\/li>\n<li>\u8f93\u5165\u63cf\u8ff0<code>Shape_HTTP<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/31-2a79bedd30e44354d3ca0929e63bd5e3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10002\" title=\"\u5728 OPNsense \u4e2d\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\u4ee5\u5bf9 HTTP \u6d41\u91cf\u8fdb\u884c\u4f18\u5148\u7ea7\u6392\u5e8f\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/31-2a79bedd30e44354d3ca0929e63bd5e3.png\" alt=\"\u5728 OPNsense \u4e2d\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\u4ee5\u5bf9 HTTP \u6d41\u91cf\u8fdb\u884c\u4f18\u5148\u7ea7\u6392\u5e8f\" width=\"1103\" height=\"892\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/31-2a79bedd30e44354d3ca0929e63bd5e3.png 1103w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/31-2a79bedd30e44354d3ca0929e63bd5e3-300x243.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/31-2a79bedd30e44354d3ca0929e63bd5e3-1024x828.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/31-2a79bedd30e44354d3ca0929e63bd5e3-768x621.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/31-2a79bedd30e44354d3ca0929e63bd5e3-371x300.png 371w\" sizes=\"auto, (max-width: 1103px) 100vw, 1103px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 31.<\/strong> <em>\u4e3a HTTP\u6d41\u91cf\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u89c4\u5219<\/em><\/p>\n<h4 id=\"how-to-create-a-rule-for-https-traffic\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u521b\u5efaHTTPS\u6d41\u91cf\u89c4\u5219<\/h4>\n<ol style=\"text-align: justify;\">\n<li>\u5355\u51fb\u201c\u89c4\u5219\u201d\u9009\u9879\u5361\u3002<\/li>\n<li>\u5355\u51fb<code> <\/code>\u56fe\u6807\u3002<\/li>\n<li><strong>\u63a5\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>WAN<\/code>\u3002<\/li>\n<li><strong>\u534f\u8bae<\/strong>\u8bbe\u7f6e\u4e3a<code>ip<\/code>\u3002<\/li>\n<li><strong>\u6e90<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u6e90\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>HTTPS<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>Queue_HTTPS<\/code>\u3002<\/li>\n<li>\u8bbe\u7f6e\u63cf\u8ff0\u00a0<code>Shape_HTTPS<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/32-f60d3fc7962676570148539115c1aa32.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10003\" title=\"\u4e3a OPNsense \u4e2d\u7684 HTTPS \u6d41\u91cf\u4f18\u5148\u7ea7\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/32-f60d3fc7962676570148539115c1aa32.png\" alt=\"\u4e3a OPNsense \u4e2d\u7684 HTTPS \u6d41\u91cf\u4f18\u5148\u7ea7\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\" width=\"1105\" height=\"895\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/32-f60d3fc7962676570148539115c1aa32.png 1105w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/32-f60d3fc7962676570148539115c1aa32-300x243.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/32-f60d3fc7962676570148539115c1aa32-1024x829.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/32-f60d3fc7962676570148539115c1aa32-768x622.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/32-f60d3fc7962676570148539115c1aa32-370x300.png 370w\" sizes=\"auto, (max-width: 1105px) 100vw, 1105px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 32.<\/strong> <em>\u4e3a HTTPS\u6d41\u91cf\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219<\/em><\/p>\n<p style=\"text-align: justify;\">\u53ef\u4ee5\u5728<code>Rules<\/code>\u9009\u9879\u5361\u67e5\u770b\u521b\u5efa\u7684\u6240\u6709\u89c4\u5219\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/33-6e84011665bf2fc1ded431e88e738df1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10004\" title=\"\u5728 OPNsense \u4e2d\u4e3a\u5e94\u7528\u7a0b\u5e8f\u4f18\u5148\u7ea7\u521b\u5efa\u7684\u89c4\u5219\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/33-6e84011665bf2fc1ded431e88e738df1.png\" alt=\"\u5728 OPNsense \u4e2d\u4e3a\u5e94\u7528\u7a0b\u5e8f\u4f18\u5148\u7ea7\u521b\u5efa\u7684\u89c4\u5219\" width=\"1576\" height=\"628\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/33-6e84011665bf2fc1ded431e88e738df1.png 1576w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/33-6e84011665bf2fc1ded431e88e738df1-300x120.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/33-6e84011665bf2fc1ded431e88e738df1-1024x408.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/33-6e84011665bf2fc1ded431e88e738df1-768x306.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/33-6e84011665bf2fc1ded431e88e738df1-1536x612.png 1536w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/33-6e84011665bf2fc1ded431e88e738df1-500x199.png 500w\" sizes=\"auto, (max-width: 1576px) 100vw, 1576px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 33.<\/strong>\u00a0<em>\u5728 OPNsense \u4e2d\u4e3a\u5e94\u7528\u7a0b\u5e8f\u4f18\u5148\u7ea7\u521b\u5efa\u7684\u89c4\u5219<\/em><\/p>\n<ul style=\"text-align: justify;\">\n<li>\u5355\u51fb<code>Apply<\/code>\u6fc0\u6d3b\u8bbe\u7f6e\u3002<\/li>\n<\/ul>\n<h2 id=\"how-to-shape-traffic-based-on-the-network-interface-in-opnsense\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u5982\u4f55\u5728OPNsense\u4e2d\u57fa\u4e8e\u7f51\u7edc\u63a5\u53e3\u5851\u9020\u6d41\u91cf<\/h2>\n<p style=\"text-align: justify;\">OPNsense \u6d41\u91cf\u6574\u5f62\u5668\u5141\u8bb8\u6839\u636e\u6d41\u91cf\u5728\u63a5\u53e3\u4e4b\u95f4\u79fb\u52a8\u7684\u65b9\u5411\u5bf9\u6d41\u91cf\u8fdb\u884c\u4e0d\u540c\u7684\u6574\u5f62\u3002\u6574\u5f62\u89c4\u5219\u53ef\u4ee5\u57fa\u4e8e\u4e24\u4e2a\u63a5\u53e3\u521b\u5efa\u3002<\/p>\n<p style=\"text-align: justify;\">\u5047\u8bbe OPNsense \u4e2d\u6709\u4e24\u4e2a\u672c\u5730\u7f51\u7edc\u63a5\u53e3\uff0c\u7b2c\u4e00\u4e2a LAN \u7528\u4e8e\u5458\u5de5\uff0c\u7b2c\u4e8c\u4e2a GUESTNET \u7528\u4e8e\u4e3a\u8bbf\u5ba2\u63d0\u4f9b\u514d\u8d39\u7684\u4e92\u8054\u7f51\u8fde\u63a5\u3002\u9700\u8981\u9650\u5236 GUESTNET \u7684\u4e92\u8054\u7f51\u4f7f\u7528\uff0c\u4ee5\u9632\u6b62\u5ba2\u4eba\u8017\u5c3d\u4e92\u8054\u7f51\u8fde\u63a5\u3002<\/p>\n<p style=\"text-align: justify;\">\u5047\u5b9a\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li>Internet \u6709<code>10 Mbps<\/code>\u4e0b\u8f7d\u5e26\u5bbd\u3002<\/li>\n<li>LAN \u7f51\u7edc\u53ef\u4ee5\u4e0d\u53d7\u9650\u5236\u3002<\/li>\n<li>\u8bbf\u5ba2\u7f51\u7edc\u5c06\u88ab\u9650\u5236\u4e3a\u603b\u5171 2 Mbps \u4e0b\u8f7d\u548c 1 Mbps \u4e0a\u4f20\u5e26\u5bbd\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u786e\u5b9a\u5e94\u7528\u7a0b\u5e8f\u7684\u5e26\u5bbd\u4f7f\u7528\u4f18\u5148\u7ea7\uff1a<\/p>\n<ol style=\"text-align: justify;\">\n<li><em>\u521b\u5efa\u4e0a\u4f20\u548c\u4e0b\u8f7d\u7ba1\u9053<\/em><\/li>\n<li><em>\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u89c4\u5219<\/em><\/li>\n<\/ol>\n<h3 id=\"1-how-to-create-upload-and-download-pipes-1\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">1. \u521b\u5efa\u4e0a\u4f20\u548c\u4e0b\u8f7d\u7ba1\u9053<\/h3>\n<p style=\"text-align: justify;\">\u521b\u5efa\u4e0b\u9762\u7ed9\u51fa\u7684 2 \u4e2a\u7ba1\u9053\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li>GUESTNET \u5177\u6709<code>1 Mbps<\/code>\u5e26\u5bbd\u4e0a\u4f20\u6d41\u91cf\u7ba1\u9053\u3002<\/li>\n<li>GUESTNET \u5177\u6709<code>2 Mbps<\/code>\u5e26\u5bbd\u4e0b\u8f7d\u6d41\u91cf\u7ba1\u9053\u3002<\/li>\n<\/ul>\n<h4 id=\"how-to-create-a-pipe-for-internet-upload-traffic-in-guestnet\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u4e3aGUESTNET\u521b\u5efa\u4e0a\u4f20\u7ba1\u9053<\/h4>\n<ol style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u81f3<code>Firewall<\/code>\u2192\u00a0<code>Shaper<\/code>\u2192 <code>Pipes<\/code>\u3002<\/li>\n<li>\u5355\u51fb\u8868\u5355\u53f3\u4e0b\u89d2\u7684<code> <\/code>\u521b\u5efa\u7ba1\u9053\u3002<\/li>\n<li>\u5355\u51fb\u590d\u9009\u6846\u542f\u7528\u3002<\/li>\n<li><strong>\u5e26\u5bbd<\/strong>\u8bbe\u7f6e\u4e3a<code>1<\/code>\u3002<\/li>\n<li><strong>\u5e26\u5bbd\u5355\u4f4d<\/strong>\u8bbe\u7f6e\u4e3a<code>Mbit\/s<\/code>\u3002<\/li>\n<li><strong>\u63a9\u7801<\/strong>\u4fdd\u7559\u4e3a<code>none<\/code>\u3002<\/li>\n<li>\u8f93\u5165<strong>\u63cf\u8ff0<\/strong>\uff0c\u4f8b\u5982<code>1Mbps_GUESTNET_upload<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/34-fc0d7e4e1edcaff1dc60eae0c8009a1c.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10005\" title=\"\u5728 OPnsense \u4e2d\u4e3a 1Mbps GUESTNET \u4e0a\u4f20\u6d41\u91cf\u521b\u5efa\u7ba1\u9053\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/34-fc0d7e4e1edcaff1dc60eae0c8009a1c.png\" alt=\"\u5728 OPnsense \u4e2d\u4e3a 1Mbps GUESTNET \u4e0a\u4f20\u6d41\u91cf\u521b\u5efa\u7ba1\u9053\" width=\"1108\" height=\"609\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/34-fc0d7e4e1edcaff1dc60eae0c8009a1c.png 1108w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/34-fc0d7e4e1edcaff1dc60eae0c8009a1c-300x165.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/34-fc0d7e4e1edcaff1dc60eae0c8009a1c-1024x563.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/34-fc0d7e4e1edcaff1dc60eae0c8009a1c-768x422.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/34-fc0d7e4e1edcaff1dc60eae0c8009a1c-500x275.png 500w\" sizes=\"auto, (max-width: 1108px) 100vw, 1108px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 34.<\/strong> <em>\u4e3a GUESTNET\u521b\u5efa \u4e0a\u4f20\u6d41\u91cf\u7ba1\u9053<\/em><\/p>\n<h4 id=\"how-to-create-a-pipe-for-internet-download-traffic-in-guestnet\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u4e3aGUESTNET\u521b\u5efa\u4e0b\u8f7d\u7ba1\u9053<\/h4>\n<ol style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u81f3<code>Firewall<\/code>\u2192\u00a0<code>Shaper<\/code>\u2192 <code>Pipes<\/code>\u3002<\/li>\n<li>\u5355\u51fb\u8868\u5355\u53f3\u4e0b\u89d2\u7684 <code> <\/code>\u521b\u5efa\u7ba1\u9053\u3002<\/li>\n<li>\u5355\u51fb\u590d\u9009\u6846\u542f\u7528\u3002<\/li>\n<li><strong>\u5e26\u5bbd<\/strong>\u8bbe\u7f6e\u4e3a<code>2<\/code>\u3002<\/li>\n<li><strong>\u5e26\u5bbd\u5355\u4f4d<\/strong>\u8bbe\u7f6e\u4e3a<code>Mbit\/s<\/code>\u3002<\/li>\n<li><strong>\u63a9\u7801<\/strong>\u4fdd\u7559\u4e3a<code>none<\/code>\u3002<\/li>\n<li>\u8f93\u5165<strong>\u63cf\u8ff0<\/strong>\uff0c\u4f8b\u5982<code>2Mbps_GUESTNET_download<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/35-65d0be0236c49771ac65f5304cfd1c9f.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10006\" title=\"\u5728 OPnsense \u4e2d\u4e3a 2 Mbps \u4e92\u8054\u7f51\u4e0b\u8f7d\u6d41\u91cf\u521b\u5efa\u7ba1\u9053\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/35-65d0be0236c49771ac65f5304cfd1c9f.png\" alt=\"\u5728 OPnsense \u4e2d\u4e3a 2 Mbps \u4e92\u8054\u7f51\u4e0b\u8f7d\u6d41\u91cf\u521b\u5efa\u7ba1\u9053\" width=\"1111\" height=\"612\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/35-65d0be0236c49771ac65f5304cfd1c9f.png 1111w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/35-65d0be0236c49771ac65f5304cfd1c9f-300x165.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/35-65d0be0236c49771ac65f5304cfd1c9f-1024x564.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/35-65d0be0236c49771ac65f5304cfd1c9f-768x423.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/35-65d0be0236c49771ac65f5304cfd1c9f-500x275.png 500w\" sizes=\"auto, (max-width: 1111px) 100vw, 1111px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 35.<\/strong> <em>\u4e3a GUESTNET\u521b\u5efa\u4e0b\u8f7d\u6d41\u91cf\u7ba1\u9053<\/em><\/p>\n<h3 id=\"2--how-to-create-traffic-shaper-rules\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">2.\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u89c4\u5219<\/h3>\n<p style=\"text-align: justify;\">\u521b\u5efa 2 \u6761\u6d41\u91cf\u6574\u5f62\u89c4\u5219\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li>GUESTNET\u4e0a\u4f20\u6d41\u91cf\u89c4\u5219\u3002<\/li>\n<li>GUESTNET \u4e0b\u8f7d\u6d41\u91cf\u89c4\u5219\u3002<\/li>\n<\/ul>\n<h4 id=\"how-to-create-a-rule-for-internet-upload-traffic-in-guestnet\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u4e3aGUESTNET\u521b\u5efa\u4e0a\u4f20\u89c4\u5219<\/h4>\n<ol style=\"text-align: justify;\">\n<li>\u5355\u51fb\u201c\u89c4\u5219\u201d\u9009\u9879\u5361\u3002<\/li>\n<li>\u5355\u51fb<code> <\/code>\u56fe\u6807\u3002<\/li>\n<li>\u5355\u51fb\u7a97\u53e3\u5de6\u4e0a\u89d2\u7684<code>\u9ad8\u7ea7\u6a21\u5f0f<\/code>\u5207\u6362\u6309\u94ae\u3002<\/li>\n<li><strong>\u63a5\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>GUESTNET<\/code>\u3002<\/li>\n<li><strong>\u63a5\u53e3<\/strong>2 \u8bbe\u7f6e\u4e3a<code>WAN<\/code>\u3002<\/li>\n<li><strong>\u534f\u8bae<\/strong>\u8bbe\u7f6e\u4e3a<code>ip<\/code>\u3002<\/li>\n<li><strong>\u6e90<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u6e90\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/36-8c9c9b6f0176ccbf81c9d5cc7dbabfa4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10007\" title=\"\u5728 GUESTNET-1 \u4e2d\u521b\u5efa\u7528\u4e8e\u9650\u5236 Internet \u4e0a\u4f20\u6d41\u91cf\u5e26\u5bbd\u7684\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/36-8c9c9b6f0176ccbf81c9d5cc7dbabfa4.png\" alt=\"\u5728 GUESTNET-1 \u4e2d\u521b\u5efa\u7528\u4e8e\u9650\u5236 Internet \u4e0a\u4f20\u6d41\u91cf\u5e26\u5bbd\u7684\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\" width=\"1103\" height=\"685\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/36-8c9c9b6f0176ccbf81c9d5cc7dbabfa4.png 1103w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/36-8c9c9b6f0176ccbf81c9d5cc7dbabfa4-300x186.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/36-8c9c9b6f0176ccbf81c9d5cc7dbabfa4-1024x636.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/36-8c9c9b6f0176ccbf81c9d5cc7dbabfa4-768x477.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/36-8c9c9b6f0176ccbf81c9d5cc7dbabfa4-483x300.png 483w\" sizes=\"auto, (max-width: 1103px) 100vw, 1103px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 36.<\/strong> <em>\u4e3a GUESTNET\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u52191<\/em><\/p>\n<ol style=\"text-align: justify;\" start=\"9\">\n<li><strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u65b9\u5411<\/strong>\u8bbe\u7f6e\u4e3a<code>out<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>1Mbps_GUESTNET_upload<\/code>\u3002<\/li>\n<li>\u8bbe\u7f6e<strong>\u8bf4\u660e<\/strong>\u00a0<code>Shape_GUESTNET_upload<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/37-2b55756e7727d493a84063451a04bf31.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10008\" title=\"\u5728 GUESTNET-2 \u4e2d\u521b\u5efa\u7528\u4e8e\u9650\u5236 Internet \u4e0a\u4f20\u6d41\u91cf\u5e26\u5bbd\u7684\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/37-2b55756e7727d493a84063451a04bf31.png\" alt=\"\u5728 GUESTNET-2 \u4e2d\u521b\u5efa\u7528\u4e8e\u9650\u5236 Internet \u4e0a\u4f20\u6d41\u91cf\u5e26\u5bbd\u7684\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\" width=\"1104\" height=\"575\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/37-2b55756e7727d493a84063451a04bf31.png 1104w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/37-2b55756e7727d493a84063451a04bf31-300x156.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/37-2b55756e7727d493a84063451a04bf31-1024x533.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/37-2b55756e7727d493a84063451a04bf31-768x400.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/37-2b55756e7727d493a84063451a04bf31-500x260.png 500w\" sizes=\"auto, (max-width: 1104px) 100vw, 1104px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 37.<\/strong>\u00a0<em>\u4e3a GUESTNET\u521b\u5efa\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u52192<\/em><\/p>\n<h4 id=\"how-to-create-rule-for-internet-download-traffic-1\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u521b\u5efa\u4e0b\u8f7d\u6d41\u91cf\u89c4\u5219<\/h4>\n<ol style=\"text-align: justify;\">\n<li>\u5355\u51fb\u201c\u89c4\u5219\u201d\u9009\u9879\u5361\u3002<\/li>\n<li>\u5355\u51fb<code> <\/code>\u56fe\u6807\u3002<\/li>\n<li>\u5355\u51fb\u7a97\u53e3\u5de6\u4e0a\u89d2\u7684<code>\u9ad8\u7ea7\u6a21\u5f0f<\/code>\u5207\u6362\u6309\u94ae\u3002<\/li>\n<li><strong>\u63a5\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>WAN<\/code>\u3002<\/li>\n<li><strong>\u63a5\u53e3 2<\/strong>\u8bbe\u7f6e\u4e3a<code>GUESTNET<\/code>\u3002<\/li>\n<li><strong>\u534f\u8bae<\/strong>\u8bbe\u7f6e\u4e3a<code>ip<\/code>\u3002<\/li>\n<li>\u5c06<strong>\u6e90<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li>\u5c06<strong>\u6e90\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/38-334c3014cc6f066a2eb27bd27bdb15ec.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10009\" title=\"\u5728 GUESTNET-1 \u4e2d\u521b\u5efa\u7528\u4e8e\u9650\u5236 Internet \u4e0b\u8f7d\u6d41\u91cf\u5e26\u5bbd\u7684\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/38-334c3014cc6f066a2eb27bd27bdb15ec.png\" alt=\"\u5728 GUESTNET-1 \u4e2d\u521b\u5efa\u7528\u4e8e\u9650\u5236 Internet \u4e0b\u8f7d\u6d41\u91cf\u5e26\u5bbd\u7684\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\" width=\"1103\" height=\"686\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/38-334c3014cc6f066a2eb27bd27bdb15ec.png 1103w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/38-334c3014cc6f066a2eb27bd27bdb15ec-300x187.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/38-334c3014cc6f066a2eb27bd27bdb15ec-1024x637.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/38-334c3014cc6f066a2eb27bd27bdb15ec-768x478.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/38-334c3014cc6f066a2eb27bd27bdb15ec-482x300.png 482w\" sizes=\"auto, (max-width: 1103px) 100vw, 1103px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 38.<\/strong>\u00a0<em>\u4e3aGUESTNET\u521b\u5efa\u4e0b\u8f7d\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u52191<\/em><\/p>\n<ol style=\"text-align: justify;\" start=\"9\">\n<li><strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807\u7aef\u53e3<\/strong>\u8bbe\u7f6e\u4e3a<code>any<\/code>\u3002<\/li>\n<li><strong>\u65b9\u5411<\/strong>\u8bbe\u7f6e\u4e3a<code>in<\/code>\u3002<\/li>\n<li><strong>\u76ee\u6807<\/strong>\u8bbe\u7f6e\u4e3a<code>2Mbps_GUESTNET_download<\/code>\u3002<\/li>\n<li>\u8bbe\u7f6e<strong>\u8bf4\u660e<\/strong>\u00a0<code>Shape_GUESTNET_download<\/code>\u3002<\/li>\n<li>\u5355\u51fb<code>Save<\/code>\u3002<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/39-f06d088d6086fd90048a8d9e840f6d0c.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10010\" title=\"\u5728 GUESTNET-2 \u4e2d\u521b\u5efa\u7528\u4e8e\u9650\u5236 Internet \u4e0b\u8f7d\u6d41\u91cf\u5e26\u5bbd\u7684\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/39-f06d088d6086fd90048a8d9e840f6d0c.png\" alt=\"\u5728 GUESTNET-2 \u4e2d\u521b\u5efa\u7528\u4e8e\u9650\u5236 Internet \u4e0b\u8f7d\u6d41\u91cf\u5e26\u5bbd\u7684\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u5219\" width=\"1109\" height=\"572\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/39-f06d088d6086fd90048a8d9e840f6d0c.png 1109w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/39-f06d088d6086fd90048a8d9e840f6d0c-300x155.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/39-f06d088d6086fd90048a8d9e840f6d0c-1024x528.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/39-f06d088d6086fd90048a8d9e840f6d0c-768x396.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/39-f06d088d6086fd90048a8d9e840f6d0c-500x258.png 500w\" sizes=\"auto, (max-width: 1109px) 100vw, 1109px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 39.<\/strong> <em>\u4e3aGUESTNET\u521b\u5efa\u4e0b\u8f7d\u6d41\u91cf\u6574\u5f62\u5668\u89c4\u52192<\/em><\/p>\n<p style=\"text-align: justify;\">\u53ef\u4ee5\u5728<code>Rules<\/code>\u9009\u9879\u5361\u67e5\u770b\u6d41\u91cf\u6574\u5f62\u89c4\u5219\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/40-bc7d1049bebd7d7e31611c0c0bae8a8f.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10011\" title=\"\u5728 OPNsense \u4e2d\u4e3a\u9650\u5236 GUESTNET \u7528\u6237\u7684 Internet \u4f7f\u7528\u800c\u521b\u5efa\u7684\u89c4\u5219\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/40-bc7d1049bebd7d7e31611c0c0bae8a8f.png\" alt=\"\u5728 OPNsense \u4e2d\u4e3a\u9650\u5236 GUESTNET \u7528\u6237\u7684 Internet \u4f7f\u7528\u800c\u521b\u5efa\u7684\u89c4\u5219\" width=\"1578\" height=\"582\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/40-bc7d1049bebd7d7e31611c0c0bae8a8f.png 1578w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/40-bc7d1049bebd7d7e31611c0c0bae8a8f-300x111.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/40-bc7d1049bebd7d7e31611c0c0bae8a8f-1024x378.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/40-bc7d1049bebd7d7e31611c0c0bae8a8f-768x283.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/40-bc7d1049bebd7d7e31611c0c0bae8a8f-1536x567.png 1536w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/40-bc7d1049bebd7d7e31611c0c0bae8a8f-500x184.png 500w\" sizes=\"auto, (max-width: 1578px) 100vw, 1578px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 40.<\/strong> <em>\u4e3a\u9650\u5236 GUESTNET\u7528\u6237\u4f7f\u7528\u800c\u521b\u5efa\u7684\u89c4\u5219<\/em><\/p>\n<ul style=\"text-align: justify;\">\n<li>\u5355\u51fb<code>Apply<\/code>\u5e94\u7528\u66f4\u6539\u3002<\/li>\n<\/ul>\n<h3 id=\"verifying-the-limiting-internet-bandwidth-for-guestnet\" class=\"anchor anchorWithStickyNavbar_LWe7\" style=\"text-align: justify;\">\u9a8c\u8bc1\u6d4b\u8bd5<\/h3>\n<p style=\"text-align: justify;\">\u53ef\u4ee5\u5bfc\u822a\u5230<code>Firewall<\/code>\u00a0<strong>&gt;\u00a0<\/strong><code>Shaper<\/code>\u00a0<strong>&gt;<\/strong>\u00a0<code>Status<\/code>\u3002<\/p>\n<p style=\"text-align: justify;\">\u5982\u679c\u5176\u4e2d\u4e00\u4e2a\u5ba2\u6237\u7aef\u8017\u5c3d\u4e86\u8bbe\u5b9a\u7684Internet \u5e26\u5bbd\u9650\u5236\uff0c\u53ef\u4ee5\u5728\u5ba2\u6237\u7aef IP \u5730\u5740\u7684<code>Current Activity<\/code>\u4e2d\u770b\u5230\u4e22\u5f03\u7684\u6570\u636e\u5305\uff0c\u5982\u56fe 41\u6240\u793a\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/41-d7eaecfcd152d3c9e48555d4b70d6bb2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10012\" title=\"\u5728 OPNsense \u4e2d\u9a8c\u8bc1 GUESTNET \u7528\u6237\u7684\u4e92\u8054\u7f51\u5e26\u5bbd\u9650\u5236\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/41-d7eaecfcd152d3c9e48555d4b70d6bb2.png\" alt=\"\u5728 OPNsense \u4e2d\u9a8c\u8bc1 GUESTNET \u7528\u6237\u7684\u4e92\u8054\u7f51\u5e26\u5bbd\u9650\u5236\" width=\"1587\" height=\"617\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/41-d7eaecfcd152d3c9e48555d4b70d6bb2.png 1587w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/41-d7eaecfcd152d3c9e48555d4b70d6bb2-300x117.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/41-d7eaecfcd152d3c9e48555d4b70d6bb2-1024x398.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/41-d7eaecfcd152d3c9e48555d4b70d6bb2-768x299.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/41-d7eaecfcd152d3c9e48555d4b70d6bb2-1536x597.png 1536w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/11\/41-d7eaecfcd152d3c9e48555d4b70d6bb2-500x194.png 500w\" sizes=\"auto, (max-width: 1587px) 100vw, 1587px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u56fe 41.<\/strong>\u00a0<em>\u5728 OPNsense \u4e2d\u9a8c\u8bc1 GUESTNET \u7528\u6237\u7684\u4e92\u8054\u7f51\u5e26\u5bbd\u9650\u5236<\/em><\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.sunnyvalley.io\/docs\/network-security-tutorials\/how-to-set-up-traffic-shaper-in-opnsense\">\u539f\u6587\u5730\u5740<\/a>\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6d41\u91cf\u6574\u5f62\uff0c\u4e5f\u79f0\u4e3apacket shaping\uff0c\u662f\u4e00\u79cd\u5e26\u5bbd\u7ba1\u7406\u7b56\u7565\uff0c\u5b83\u5ef6\u8fdf\u7279\u5b9a\u7f51\u7edc &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=9825\">\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":[4],"tags":[387],"class_list":["post-9825","post","type-post","status-publish","format-standard","hentry","category-opnsense","tag-387"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/9825","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=9825"}],"version-history":[{"count":0,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/9825\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}