{"id":621,"date":"2019-07-13T17:29:02","date_gmt":"2019-07-13T09:29:02","guid":{"rendered":"https:\/\/myoceane.fr\/?p=621"},"modified":"2020-05-08T07:29:54","modified_gmt":"2020-05-08T05:29:54","slug":"linux-%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e5%ae%9a-firewall-settings","status":"publish","type":"post","link":"https:\/\/myoceane.fr\/index.php\/linux-%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e5%ae%9a-firewall-settings\/","title":{"rendered":"[Linux] \u9632\u706b\u7246\u8a2d\u5b9a Firewall Settings"},"content":{"rendered":"<div id=\"fb-root\"><\/div>\n\n<p>\u4f7f\u7528 Linux\/Unix \u4f5c\u70ba\u67b6\u7ad9\u7684\u4e3b\u8981\u74b0\u5883\uff0c\u7576\u6709\u591a\u500b\u670d\u52d9\u540c\u6642\u8dd1\u5728\u540c\u4e00\u53f0\u4f3a\u670d\u5668\u4e0a\u7684\u6642\u5019\uff0c\u4e0d\u514d\u5c31\u6703\u9047\u5230\u9632\u706b\u7246\u7684\u8a2d\u5b9a\u7684\u554f\u984c\u3002\u5728 Linux \u7684\u74b0\u5883\u88e1\u4e0d\u8ad6\u662f CentOS \u9084\u662f RHEL \u7cfb\u5217\u90fd\u63d0\u4f9b\u4e86\u7c21\u55ae\u8ddf netfilter kernel (\u7ba1\u7406\u7db2\u8def\u7684\u6838\u5fc3\u5143\u4ef6) \u6e9d\u901a\u7684\u6307\u4ee4\u3002<\/p>\n\n\n\n<p>\u5c0d\u65bc\u521d\u5b78\u8005\uff0c\u9996\u5148\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u6307\u4ee4\u7c21\u6613\u4e86\u89e3\u76ee\u524d\u5728\u4f3a\u670d\u5668\u4e0a\u7684\u7db2\u8def\u8a2d\u5b9a\uff0c\u7531\u65bc\u8a2d\u5b9a\u901a\u5e38\u6703\u6709\u5f88\u591a\u8a0a\u606f\uff0c\u6240\u4ee5\u5efa\u8b70\u4f7f\u7528 | less \u6162\u6162\u89c0\u770b\uff1a<\/p>\n<pre class=\"lang:bash\">sudo iptables -L | less<\/pre>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"663\" height=\"145\" src=\"https:\/\/myoceane.fr\/wp-content\/uploads\/2019\/07\/\u87a2\u5e55\u5feb\u7167-2019-07-13-\u4e0a\u534811.30.16.png\" alt=\"\" class=\"wp-image-624\" srcset=\"https:\/\/myoceane.fr\/wp-content\/uploads\/2019\/07\/\u87a2\u5e55\u5feb\u7167-2019-07-13-\u4e0a\u534811.30.16.png 663w, https:\/\/myoceane.fr\/wp-content\/uploads\/2019\/07\/\u87a2\u5e55\u5feb\u7167-2019-07-13-\u4e0a\u534811.30.16-300x66.png 300w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><figcaption>iptables -L \u986f\u793a\u7684\u8f38\u51fa<\/figcaption><\/figure><\/div>\n\n\n\n<p>\u5927\u81f4\u4e0a\u986f\u793a\u51fa\u4f86\u7684\u8a0a\u606f\u53ef\u4ee5\u5206\u6210\u4ee5\u4e0b\u5e7e\u500b\u5206\u985e\uff1a<\/p>\n<ul>\n<li>Chain INPUT<\/li>\n<li>Chain FORWARD<\/li>\n<li>Chain OUTPUT<\/li>\n<li>Chain ALLOWIN<\/li>\n<li>Chain ALLOWOUT<\/li>\n<li>Chain DENYIN<\/li>\n<li>Chain DENYOUT<\/li>\n<\/ul>\n<p>\u5982\u679c\u4f60\u6709\u4f7f\u7528 Docker \u7684\u8a71\u4f60\u6703\u6709\u984d\u5916\u5e7e\u500b\u5206\u985e\uff1a<\/p>\n<ul>\n<li>Chain DOCKER<\/li>\n<li>Chain DOCKER-ISOLATION-STAGE<\/li>\n<li>Chain DOCKER-USER<\/li>\n<li>Chain INVALID<\/li>\n<\/ul>\n\n\n\n<p>\u60f3\u8981\u589e\u52a0\u958b\u555f\u7684 TCP, UDP port \u53ef\u4ee5\u4fee\u6539\u4ee5\u4e0b\u7684\u6587\u4ef6 \/etc\/csf\/csf.conf\uff0c\u6587\u4ef6\u88e1\u9762\u7684 UDP_IN, UDP_OUT, TCP_IN, TCP_OUT \u5206\u5225\u50cf\u662f\u4ee5\u4e0b\u65b9\u5f0f\u4fee\u6539\u3002<\/p>\n<pre class=\"lang:bash\">\/\/Allow incoming TCP ports\nTCP_IN = \"20,21,22,25,80,110,143,443,465,587,993,995\"\n\n\/\/Allow outgoing TCP ports\nTCP_OUT = \"20,21,22,25,80,110,113,443,587,993,995\"\n\n\/\/Allow incoming UDP ports\nUDP_IN = \"20,21,53\"\n\n\/\/Allow outgoing UDP ports\n\/\/To allow outgoing traceroute add 33434:33523 to this list \nUDP_OUT = \"20,21,53,113,123\"<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528 Linux\/Unix \u4f5c\u70ba\u67b6\u7ad9\u7684\u4e3b\u8981\u74b0\u5883\uff0c\u7576\u6709\u591a\u500b\u670d\u52d9\u540c\u6642\u8dd1\u5728\u540c\u4e00\u53f0\u4f3a\u670d\u5668\u4e0a\u7684\u6642\u5019\uff0c\u4e0d\u514d\u5c31\u6703\u9047\u5230\u9632\u706b\u7246\u7684\u8a2d\u5b9a\u7684\u554f\u984c\u3002\u5728 Linux \u7684\u74b0\u5883\u88e1\u4e0d\u8ad6\u662f CentOS \u9084\u662f RHEL \u7cfb\u5217\u90fd\u63d0\u4f9b\u4e86\u7c21\u55ae\u8ddf netfilter kernel (\u7ba1\u7406\u7db2\u8def\u7684\u6838\u5fc3\u5143\u4ef6) \u6e9d\u901a\u7684\u6307\u4ee4\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-621","post","type-post","status-publish","format-standard","hentry","category-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Linux] \u9632\u706b\u7246\u8a2d\u5b9a Firewall Settings - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane<\/title>\n<meta name=\"description\" content=\"\u4f7f\u7528 Linux\/Unix \u4f5c\u70ba\u67b6\u7ad9\u7684\u4e3b\u8981\u74b0\u5883\uff0c\u7576\u6709\u591a\u500b\u670d\u52d9\u540c\u6642\u8dd1\u5728\u540c\u4e00\u53f0\u4f3a\u670d\u5668\u4e0a\u7684\u6642\u5019\uff0c\u4e0d\u514d\u5c31\u6703\u9047\u5230\u9632\u706b\u7246\u7684\u8a2d\u5b9a\u7684\u554f\u984c\u3002\u5728 Linux \u7684\u74b0\u5883\u88e1\u4e0d\u8ad6\u662f CentOS \u9084\u662f RHEL \u7cfb\u5217\u90fd\u63d0\u4f9b\u4e86\u7c21\u55ae\u8ddf netfilter kernel (\u7ba1\u7406\u7db2\u8def\u7684\u6838\u5fc3\u5143\u4ef6) \u6e9d\u901a\u7684\u6307\u4ee4\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/myoceane.fr\/index.php\/linux-\u9632\u706b\u7246\u8a2d\u5b9a-firewall-settings\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Linux] \u9632\u706b\u7246\u8a2d\u5b9a Firewall Settings - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane\" \/>\n<meta property=\"og:description\" content=\"\u4f7f\u7528 Linux\/Unix \u4f5c\u70ba\u67b6\u7ad9\u7684\u4e3b\u8981\u74b0\u5883\uff0c\u7576\u6709\u591a\u500b\u670d\u52d9\u540c\u6642\u8dd1\u5728\u540c\u4e00\u53f0\u4f3a\u670d\u5668\u4e0a\u7684\u6642\u5019\uff0c\u4e0d\u514d\u5c31\u6703\u9047\u5230\u9632\u706b\u7246\u7684\u8a2d\u5b9a\u7684\u554f\u984c\u3002\u5728 Linux \u7684\u74b0\u5883\u88e1\u4e0d\u8ad6\u662f CentOS \u9084\u662f RHEL \u7cfb\u5217\u90fd\u63d0\u4f9b\u4e86\u7c21\u55ae\u8ddf netfilter kernel (\u7ba1\u7406\u7db2\u8def\u7684\u6838\u5fc3\u5143\u4ef6) \u6e9d\u901a\u7684\u6307\u4ee4\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/myoceane.fr\/index.php\/linux-\u9632\u706b\u7246\u8a2d\u5b9a-firewall-settings\/\" \/>\n<meta property=\"og:site_name\" content=\"\u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-13T09:29:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-08T05:29:54+00:00\" \/>\n<meta name=\"author\" content=\"\u6ab8\u6aac\u7238\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6ab8\u6aac\u7238\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/linux-%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e5%ae%9a-firewall-settings\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/linux-%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e5%ae%9a-firewall-settings\/\"},\"author\":{\"name\":\"\u6ab8\u6aac\u7238\",\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\"},\"headline\":\"[Linux] \u9632\u706b\u7246\u8a2d\u5b9a Firewall Settings\",\"datePublished\":\"2019-07-13T09:29:02+00:00\",\"dateModified\":\"2020-05-08T05:29:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/linux-%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e5%ae%9a-firewall-settings\/\"},\"wordCount\":51,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\"},\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/myoceane.fr\/index.php\/linux-%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e5%ae%9a-firewall-settings\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/linux-%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e5%ae%9a-firewall-settings\/\",\"url\":\"https:\/\/myoceane.fr\/index.php\/linux-%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e5%ae%9a-firewall-settings\/\",\"name\":\"[Linux] \u9632\u706b\u7246\u8a2d\u5b9a Firewall Settings - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane\",\"isPartOf\":{\"@id\":\"https:\/\/myoceane.fr\/#website\"},\"datePublished\":\"2019-07-13T09:29:02+00:00\",\"dateModified\":\"2020-05-08T05:29:54+00:00\",\"description\":\"\u4f7f\u7528 Linux\/Unix \u4f5c\u70ba\u67b6\u7ad9\u7684\u4e3b\u8981\u74b0\u5883\uff0c\u7576\u6709\u591a\u500b\u670d\u52d9\u540c\u6642\u8dd1\u5728\u540c\u4e00\u53f0\u4f3a\u670d\u5668\u4e0a\u7684\u6642\u5019\uff0c\u4e0d\u514d\u5c31\u6703\u9047\u5230\u9632\u706b\u7246\u7684\u8a2d\u5b9a\u7684\u554f\u984c\u3002\u5728 Linux \u7684\u74b0\u5883\u88e1\u4e0d\u8ad6\u662f CentOS \u9084\u662f RHEL \u7cfb\u5217\u90fd\u63d0\u4f9b\u4e86\u7c21\u55ae\u8ddf netfilter kernel (\u7ba1\u7406\u7db2\u8def\u7684\u6838\u5fc3\u5143\u4ef6) \u6e9d\u901a\u7684\u6307\u4ee4\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/linux-%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e5%ae%9a-firewall-settings\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/myoceane.fr\/index.php\/linux-%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e5%ae%9a-firewall-settings\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/linux-%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e5%ae%9a-firewall-settings\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/myoceane.fr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Linux] \u9632\u706b\u7246\u8a2d\u5b9a Firewall Settings\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/myoceane.fr\/#website\",\"url\":\"https:\/\/myoceane.fr\/\",\"name\":\"M-Y-Oceane \u60f3\u65b9\u6d89\u6cd5\u3002\u91cf\u74f6\u5916\u7684\u5929\u7a7a\",\"description\":\"\u60f3\u65b9\u6d89\u6cd5, France, Taiwan, Health, Information Technology\",\"publisher\":{\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/myoceane.fr\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\",\"name\":\"\u6ab8\u6aac\u7238\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g\",\"caption\":\"\u6ab8\u6aac\u7238\"},\"logo\":{\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/myoceane.fr\/index.php\/author\/johnny5584767gmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Linux] \u9632\u706b\u7246\u8a2d\u5b9a Firewall Settings - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","description":"\u4f7f\u7528 Linux\/Unix \u4f5c\u70ba\u67b6\u7ad9\u7684\u4e3b\u8981\u74b0\u5883\uff0c\u7576\u6709\u591a\u500b\u670d\u52d9\u540c\u6642\u8dd1\u5728\u540c\u4e00\u53f0\u4f3a\u670d\u5668\u4e0a\u7684\u6642\u5019\uff0c\u4e0d\u514d\u5c31\u6703\u9047\u5230\u9632\u706b\u7246\u7684\u8a2d\u5b9a\u7684\u554f\u984c\u3002\u5728 Linux \u7684\u74b0\u5883\u88e1\u4e0d\u8ad6\u662f CentOS \u9084\u662f RHEL \u7cfb\u5217\u90fd\u63d0\u4f9b\u4e86\u7c21\u55ae\u8ddf netfilter kernel (\u7ba1\u7406\u7db2\u8def\u7684\u6838\u5fc3\u5143\u4ef6) \u6e9d\u901a\u7684\u6307\u4ee4\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/myoceane.fr\/index.php\/linux-\u9632\u706b\u7246\u8a2d\u5b9a-firewall-settings\/","og_locale":"en_US","og_type":"article","og_title":"[Linux] \u9632\u706b\u7246\u8a2d\u5b9a Firewall Settings - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","og_description":"\u4f7f\u7528 Linux\/Unix \u4f5c\u70ba\u67b6\u7ad9\u7684\u4e3b\u8981\u74b0\u5883\uff0c\u7576\u6709\u591a\u500b\u670d\u52d9\u540c\u6642\u8dd1\u5728\u540c\u4e00\u53f0\u4f3a\u670d\u5668\u4e0a\u7684\u6642\u5019\uff0c\u4e0d\u514d\u5c31\u6703\u9047\u5230\u9632\u706b\u7246\u7684\u8a2d\u5b9a\u7684\u554f\u984c\u3002\u5728 Linux \u7684\u74b0\u5883\u88e1\u4e0d\u8ad6\u662f CentOS \u9084\u662f RHEL \u7cfb\u5217\u90fd\u63d0\u4f9b\u4e86\u7c21\u55ae\u8ddf netfilter kernel (\u7ba1\u7406\u7db2\u8def\u7684\u6838\u5fc3\u5143\u4ef6) \u6e9d\u901a\u7684\u6307\u4ee4\u3002","og_url":"https:\/\/myoceane.fr\/index.php\/linux-\u9632\u706b\u7246\u8a2d\u5b9a-firewall-settings\/","og_site_name":"\u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","article_published_time":"2019-07-13T09:29:02+00:00","article_modified_time":"2020-05-08T05:29:54+00:00","author":"\u6ab8\u6aac\u7238","twitter_card":"summary_large_image","twitter_misc":{"Written by":"\u6ab8\u6aac\u7238"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/myoceane.fr\/index.php\/linux-%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e5%ae%9a-firewall-settings\/#article","isPartOf":{"@id":"https:\/\/myoceane.fr\/index.php\/linux-%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e5%ae%9a-firewall-settings\/"},"author":{"name":"\u6ab8\u6aac\u7238","@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b"},"headline":"[Linux] \u9632\u706b\u7246\u8a2d\u5b9a Firewall Settings","datePublished":"2019-07-13T09:29:02+00:00","dateModified":"2020-05-08T05:29:54+00:00","mainEntityOfPage":{"@id":"https:\/\/myoceane.fr\/index.php\/linux-%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e5%ae%9a-firewall-settings\/"},"wordCount":51,"commentCount":0,"publisher":{"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b"},"articleSection":["Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/myoceane.fr\/index.php\/linux-%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e5%ae%9a-firewall-settings\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/myoceane.fr\/index.php\/linux-%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e5%ae%9a-firewall-settings\/","url":"https:\/\/myoceane.fr\/index.php\/linux-%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e5%ae%9a-firewall-settings\/","name":"[Linux] \u9632\u706b\u7246\u8a2d\u5b9a Firewall Settings - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","isPartOf":{"@id":"https:\/\/myoceane.fr\/#website"},"datePublished":"2019-07-13T09:29:02+00:00","dateModified":"2020-05-08T05:29:54+00:00","description":"\u4f7f\u7528 Linux\/Unix \u4f5c\u70ba\u67b6\u7ad9\u7684\u4e3b\u8981\u74b0\u5883\uff0c\u7576\u6709\u591a\u500b\u670d\u52d9\u540c\u6642\u8dd1\u5728\u540c\u4e00\u53f0\u4f3a\u670d\u5668\u4e0a\u7684\u6642\u5019\uff0c\u4e0d\u514d\u5c31\u6703\u9047\u5230\u9632\u706b\u7246\u7684\u8a2d\u5b9a\u7684\u554f\u984c\u3002\u5728 Linux \u7684\u74b0\u5883\u88e1\u4e0d\u8ad6\u662f CentOS \u9084\u662f RHEL \u7cfb\u5217\u90fd\u63d0\u4f9b\u4e86\u7c21\u55ae\u8ddf netfilter kernel (\u7ba1\u7406\u7db2\u8def\u7684\u6838\u5fc3\u5143\u4ef6) \u6e9d\u901a\u7684\u6307\u4ee4\u3002","breadcrumb":{"@id":"https:\/\/myoceane.fr\/index.php\/linux-%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e5%ae%9a-firewall-settings\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/myoceane.fr\/index.php\/linux-%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e5%ae%9a-firewall-settings\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/myoceane.fr\/index.php\/linux-%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e5%ae%9a-firewall-settings\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/myoceane.fr\/"},{"@type":"ListItem","position":2,"name":"[Linux] \u9632\u706b\u7246\u8a2d\u5b9a Firewall Settings"}]},{"@type":"WebSite","@id":"https:\/\/myoceane.fr\/#website","url":"https:\/\/myoceane.fr\/","name":"M-Y-Oceane \u60f3\u65b9\u6d89\u6cd5\u3002\u91cf\u74f6\u5916\u7684\u5929\u7a7a","description":"\u60f3\u65b9\u6d89\u6cd5, France, Taiwan, Health, Information Technology","publisher":{"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/myoceane.fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b","name":"\u6ab8\u6aac\u7238","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/myoceane.fr\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g","caption":"\u6ab8\u6aac\u7238"},"logo":{"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/image\/"},"url":"https:\/\/myoceane.fr\/index.php\/author\/johnny5584767gmail-com\/"}]}},"amp_enabled":false,"_links":{"self":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts\/621","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/comments?post=621"}],"version-history":[{"count":24,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts\/621\/revisions"}],"predecessor-version":[{"id":4947,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts\/621\/revisions\/4947"}],"wp:attachment":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/media?parent=621"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/categories?post=621"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/tags?post=621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}