{"id":7763,"date":"2021-10-07T17:09:55","date_gmt":"2021-10-07T09:09:55","guid":{"rendered":"https:\/\/blog.pfchina.org\/?p=7763"},"modified":"2021-10-07T17:15:26","modified_gmt":"2021-10-07T09:15:26","slug":"opnsense%e9%85%8d%e7%bd%aewifi%e6%a8%a1%e5%9d%97","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=7763","title":{"rendered":"OPNsense\u914d\u7f6eWiFi\u6a21\u5757"},"content":{"rendered":"<p style=\"text-align: justify;\">\u672c\u6587\u4ecb\u7ecd\u4e86\u5728\u63a5\u5165\u70b9\u6a21\u5f0f\u4e0b\u4e3a OPNsense\u914d\u7f6e<a href=\"https:\/\/protectli.com\/product\/wap01k\/\" target=\"_blank\" rel=\"noopener noreferrer\">Protectli WiFi \u5957\u4ef6<\/a>\u3002\u8fd9\u5305\u62ec\u63a5\u53e3\u5206\u914d\u3001\u63a5\u53e3\u914d\u7f6e\u3001DHCP \u670d\u52a1\u5668\u548c\u9632\u706b\u5899\u89c4\u5219\u3002<\/p>\n<h1 style=\"text-align: justify;\" data-id=\"articleTOC_1\">\u524d\u63d0\u6761\u4ef6<\/h1>\n<ul style=\"text-align: justify;\">\n<li>\u5b89\u88c5\u4e86OPNsense\u652f\u6301\u7684WiFi \u5957\u4ef6<\/li>\n<li>\u5b89\u88c5\u4e86 OPNsense\u3002\u672c\u6587\u4f7f\u7528\u7684\u662f 20.7 \u7248\u672c<\/li>\n<\/ul>\n<h1 style=\"text-align: justify;\" data-id=\"articleTOC_2\">\u6dfb\u52a0\u8bbe\u5907\u5e76\u5206\u914d\u63a5\u53e3<\/h1>\n<p style=\"text-align: justify;\">\u8fdb\u5165OPNsense Web\u7ba1\u7406\u754c\u9762\uff0c\u9009\u62e9\u5de6\u4fa7\u5217\u4e2d\u7684<strong>\u63a5\u53e3 \u3002<\/strong><\/p>\n<ul style=\"text-align: justify;\">\n<li>\u5728\u63a5\u53e3\u5217\u4e0b\uff0c\u9009\u62e9<strong>Wireless<\/strong>\uff0c\u7136\u540e\u9009\u62e9<strong>\u8bbe\u5907\u3002<\/strong><\/li>\n<li>\u5728\u8bbe\u5907\u83dc\u5355\u4e2d\uff0c\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684<strong>\u6dfb\u52a0 \u3002<\/strong><\/li>\n<\/ul>\n<figure id=\"attachment_51525\" class=\"wp-caption aligncenter\" style=\"text-align: justify;\" aria-describedby=\"caption-attachment-51525\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7766\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Add_WiFi_Interface-1024x498-1.jpg\" alt=\"\" width=\"1024\" height=\"498\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Add_WiFi_Interface-1024x498-1.jpg 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Add_WiFi_Interface-1024x498-1-300x146.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Add_WiFi_Interface-1024x498-1-768x374.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Add_WiFi_Interface-1024x498-1-500x243.jpg 500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<ul style=\"text-align: justify;\">\n<li>\u9009\u62e9\u00a0<strong>run0()\u00a0<\/strong>\u4f5c\u4e3a<strong>\u7236\u63a5\u53e3<\/strong>\u5e76\u4fdd\u5b58\u3002<\/li>\n<li>\u63a5\u53e3 <strong>run0_wlan1 <\/strong>\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/li>\n<\/ul>\n<figure id=\"attachment_51538\" class=\"wp-caption aligncenter\" style=\"text-align: justify;\" aria-describedby=\"caption-attachment-51538\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7767\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Interface_Added-1024x467-1.jpg\" alt=\"\" width=\"1024\" height=\"467\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Interface_Added-1024x467-1.jpg 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Interface_Added-1024x467-1-300x137.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Interface_Added-1024x467-1-768x350.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Interface_Added-1024x467-1-500x228.jpg 500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<ul style=\"text-align: justify;\">\n<li>\u8fd4\u56de<strong>\u63a5\u53e3<\/strong>\u83dc\u5355\uff0c\u9009\u62e9<strong>\u5206\u914d<\/strong><\/li>\n<li>\u5728\u7f51\u7edc\u7aef\u53e3\u91cc\u627e\u5230<strong>run0_wlan1<\/strong>\u8bbe\u5907\u3002\u9009\u62e9<strong>\u201c+ \u201d <\/strong>\u6309\u94ae\u8fdb\u884c\u5206\u914d\uff0c\u7136\u540e\u4fdd\u5b58\u3002<\/li>\n<\/ul>\n<figure id=\"attachment_51545\" class=\"wp-caption aligncenter\" style=\"text-align: justify;\" aria-describedby=\"caption-attachment-51545\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7768\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Assign_Interface-1024x409-1.jpg\" alt=\"\" width=\"1024\" height=\"409\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Assign_Interface-1024x409-1.jpg 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Assign_Interface-1024x409-1-300x120.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Assign_Interface-1024x409-1-768x307.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Assign_Interface-1024x409-1-500x200.jpg 500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<p>\u5206\u914d\u63a5\u53e3\u540e\uff0c\u9009\u62e9\u65e0\u7ebf\u8bbe\u5907\u5206\u914d\u5230\u7684\u63a5\u53e3\uff0c\u5728\u672c\u4f8b\u4e2d\u4e3aOPT3\u3002\u70b9\u51fb\u8be5\u63a5\u53e3\uff0c\u9009\u4e2d<strong>\u542f\u7528\u63a5\u53e3<\/strong>\u540e\uff0c\u5c06\u4f1a\u663e\u793a\u5176\u4ed6\u9009\u9879\u3002<\/p>\n<p>\u586b\u5165\u9759\u6001 IPv4\u5730\u5740\uff1a192.168.10.1\uff0c\u5b50\u7f51\u63a9\u7801\u4e3a24\u3002\u5728\u5e38\u89c4\u65e0\u7ebf\u914d\u7f6e\u4e0b\uff0c\u9009\u62e9\u8981\u4f7f\u7528\u7684\u65e0\u7ebf\u6807\u51c6\u3002\u672c\u793a\u4f8bWiFi \u5957\u4ef6\u5728 OPNsense \u4e2d\u63d0\u4f9b B\/G\u652f\u6301\u3002\u5728\u672c\u4f8b\u4e2d\u4f7f\u7528 G\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Interface_Configuration_1-1024x732-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7769\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Interface_Configuration_1-1024x732-1.jpg\" alt=\"\" width=\"1024\" height=\"732\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Interface_Configuration_1-1024x732-1.jpg 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Interface_Configuration_1-1024x732-1-300x214.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Interface_Configuration_1-1024x732-1-768x549.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Interface_Configuration_1-1024x732-1-420x300.jpg 420w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<ul style=\"text-align: justify;\">\n<li><strong>\u6a21\u5f0f<\/strong>\u9009\u62e9\u00a0<strong>\u63a5\u5165\u70b9<\/strong><\/li>\n<li>\u8f93\u5165\u60a8\u9009\u62e9\u7684 SSID<\/li>\n<li><strong>WPA <\/strong>\u52fe\u9009\u00a0<strong>\u542f\u7528<\/strong><\/li>\n<li>\u5728<strong>WPA \u9884\u5171\u4eab\u5bc6\u94a5<\/strong>\u5b57\u6bb5\u4e2d\u8f93\u5165\u5b89\u5168\u5bc6\u7801<\/li>\n<li>WPA \u6a21\u5f0f\uff0c\u5efa\u8bae\u9009\u62e9<strong>WPA2<\/strong><\/li>\n<li>\u5c06\u201c\u8eab\u4efd\u9a8c\u8bc1\u201d\u66f4\u6539\u4e3a\u00a0<strong>\u5171\u4eab\u5bc6\u94a5\u8eab\u4efd\u9a8c\u8bc1<\/strong><\/li>\n<li>\u201cWPA Pairwise\u201d\u6539\u4e3a\u63a8\u8350\u7684<strong>AES<\/strong><\/li>\n<li>\u9009\u62e9\u5e95\u90e8\u7684<strong>\u4fdd\u5b58\u00a0<\/strong>\uff0c\u7136\u540e\u9009\u62e9\u53f3\u4e0a\u89d2\u7684<strong>\u5e94\u7528\u66f4\u6539<\/strong><\/li>\n<\/ul>\n<figure id=\"attachment_51552\" class=\"wp-caption aligncenter\" style=\"text-align: justify;\" aria-describedby=\"caption-attachment-51552\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7770\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Interface_Configuration_2-1024x759-1.jpg\" alt=\"\" width=\"1024\" height=\"759\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Interface_Configuration_2-1024x759-1.jpg 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Interface_Configuration_2-1024x759-1-300x222.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Interface_Configuration_2-1024x759-1-768x569.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Interface_Configuration_2-1024x759-1-405x300.jpg 405w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<h1 style=\"text-align: justify;\" data-id=\"articleTOC_3\">\u914d\u7f6eDHCP\u548c\u9632\u706b\u5899\u89c4\u5219<\/h1>\n<p style=\"text-align: justify;\">\u73b0\u5728 WiFi \u5df2\u542f\u52a8\u5e76\u8fd0\u884c\u4e86\uff0c\u4f46\u8fd8\u9700\u8981\u914d\u7f6eDHCP\u670d\u52a1\u5668\u6765\u5206\u53d1 IP \u5730\u5740\u5e76\u5141\u8bb8\u5916\u8bbf\u95eeInternet\uff01<\/p>\n<ul style=\"text-align: justify;\">\n<li>\u5728\u5de6\u680f\u83dc\u5355\u4e2d\u9009\u62e9 <strong>\u670d\u52a1<\/strong><strong>&gt;DHCPv4&gt;\uff08WiFi \u63a5\u53e3\uff09\u3002<\/strong><\/li>\n<li>\u9009\u4e2d<strong>\u542f\u7528<\/strong>\uff0c\u5e76\u586b\u5199\u597d<strong>\u8303\u56f4<\/strong>\u3002<\/li>\n<li>\u5355\u51fb<strong>\u4fdd\u5b58\u3002<\/strong><\/li>\n<\/ul>\n<figure id=\"attachment_51557\" class=\"wp-caption aligncenter\" style=\"text-align: justify;\" aria-describedby=\"caption-attachment-51557\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/WiFi_DHCP_OPNsense-1024x812-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7771\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/WiFi_DHCP_OPNsense-1024x812-1.jpg\" alt=\"\" width=\"1024\" height=\"812\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/WiFi_DHCP_OPNsense-1024x812-1.jpg 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/WiFi_DHCP_OPNsense-1024x812-1-300x238.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/WiFi_DHCP_OPNsense-1024x812-1-768x609.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/WiFi_DHCP_OPNsense-1024x812-1-378x300.jpg 378w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption id=\"caption-attachment-51557\" class=\"wp-caption-text\"><\/figcaption><\/figure>\n<ul style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u5230<strong>\u9632\u706b\u5899\u00a0<\/strong>&gt; <strong>\u89c4\u5219&gt;\uff08WiFi \u63a5\u53e3\uff09<\/strong><\/li>\n<li>\u9009\u62e9\u53f3\u4e0a\u89d2\u7684<strong>\u6dfb\u52a0<\/strong><\/li>\n<\/ul>\n<figure id=\"attachment_51563\" class=\"wp-caption aligncenter\" style=\"text-align: justify;\" aria-describedby=\"caption-attachment-51563\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/WiFI_Firewall_Rule_OPNsense-1024x448-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7772\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/WiFI_Firewall_Rule_OPNsense-1024x448-1.jpg\" alt=\"\" width=\"1024\" height=\"448\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/WiFI_Firewall_Rule_OPNsense-1024x448-1.jpg 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/WiFI_Firewall_Rule_OPNsense-1024x448-1-300x131.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/WiFI_Firewall_Rule_OPNsense-1024x448-1-768x336.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/WiFI_Firewall_Rule_OPNsense-1024x448-1-500x219.jpg 500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<ul style=\"text-align: justify;\">\n<li>\u6dfb\u52a0\u4ee5\u4e0b\u89c4\u5219\uff1a\n<ul>\n<li><strong>\u52a8\u4f5c\uff1a\u901a\u8fc7<\/strong><\/li>\n<li><strong>\u63a5\u53e3\uff1a\uff08WiFi\u63a5\u53e3\uff09<\/strong><\/li>\n<li><strong>\u65b9\u5411\uff1a\u8fdb<\/strong><\/li>\n<li><strong>TCP\/IP \u7248\u672c\uff1aIPv4<\/strong><\/li>\n<li><strong>\u534f\u8bae\uff1aany<\/strong><\/li>\n<li><strong>\u6e90\uff1a\uff08WiFi\u63a5\u53e3\uff09NET\u00a0<\/strong><\/li>\n<li><strong>\u76ee\u6807\uff1aany<\/strong><\/li>\n<\/ul>\n<\/li>\n<li>\u5355\u51fb<strong>\u4fdd\u5b58\uff0c\u00a0<\/strong>\u7136\u540e\u5355\u51fb\u53f3\u4e0a\u89d2\u7684<strong>\u5e94\u7528\u66f4\u6539 \u3002<\/strong><\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Firewall_Rules_WiFi-1024x811-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-7773 aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Firewall_Rules_WiFi-1024x811-1.jpg\" alt=\"\" width=\"1024\" height=\"811\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Firewall_Rules_WiFi-1024x811-1.jpg 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Firewall_Rules_WiFi-1024x811-1-300x238.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Firewall_Rules_WiFi-1024x811-1-768x608.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/10\/Firewall_Rules_WiFi-1024x811-1-379x300.jpg 379w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u73b0\u5728\uff0c\u4f7f\u7528WIFI\u7684\u8bbe\u5907\u5e94\u8be5\u80fd\u591f\u8fde\u63a5\u5230SSID\uff0c\u81ea\u52a8\u83b7\u53d6IP\u5730\u5740\u5e76\u8bbf\u95ee Internet\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u4ecb\u7ecd\u4e86\u5728\u63a5\u5165\u70b9\u6a21\u5f0f\u4e0b\u4e3a OPNsense\u914d\u7f6eProtectli WiFi \u5957 &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=7763\">\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":[171],"class_list":["post-7763","post","type-post","status-publish","format-standard","hentry","category-opnsense","tag-wifi"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/7763","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=7763"}],"version-history":[{"count":0,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/7763\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}