{"id":1425,"date":"2021-01-29T18:40:29","date_gmt":"2021-01-29T09:40:29","guid":{"rendered":"https:\/\/clouds.tokyo\/blog\/?p=1425"},"modified":"2023-02-07T12:28:10","modified_gmt":"2023-02-07T03:28:10","slug":"linux-firewalld","status":"publish","type":"post","link":"https:\/\/clouds.tokyo\/blog\/linux-firewalld\/","title":{"rendered":"\u3010Linux\u3011firewalld\u3092\u6709\u52b9\u306b\u3057\u3066\u5fc5\u8981\u306a\u30dd\u30fc\u30c8\u3060\u3051\u958b\u653e\u3059\u308b"},"content":{"rendered":"<p>\u307e\u305a\u306f\u8d77\u52d5<\/p>\n<pre>\r\nsystemctl start firewalld\r\n<\/pre>\n<p>\u73fe\u5728\u89e3\u653e\u3055\u308c\u3066\u3044\u308b\u30dd\u30fc\u30c8\u3092\u78ba\u8a8d<\/p>\n<pre>\r\nfirewall-cmd --list-port\r\n<\/pre>\n<p>\u4f8b\uff09\u30dd\u30fc\u30c880\u3092\u89e3\u653e<\/p>\n<pre>\r\nfirewall-cmd --add-port=80\/tcp --zone=public --permanent\r\n<\/pre>\n<p>\u4f8b\uff09\u30dd\u30fc\u30c880\u3092\u9589\u3058\u308b<\/p>\n<pre>\r\nfirewall-cmd --remove-port=80\/tcp --zone=public --permanent\r\n<\/pre>\n<p>\u8a2d\u5b9a\u3092\u9069\u7528<\/p>\n<pre>\r\nfirewall-cmd --reload\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u307e\u305a\u306f\u8d77\u52d5 systemctl start firewalld \u73fe\u5728\u89e3\u653e\u3055\u308c\u3066\u3044\u308b\u30dd\u30fc\u30c8\u3092\u78ba\u8a8d firewall-cmd &#8211;list-port \u4f8b\uff09\u30dd\u30fc\u30c880\u3092\u89e3\u653e firewall-cmd &#8211;add-port=80 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/clouds.tokyo\/blog\/linux-firewalld\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u3010Linux\u3011firewalld\u3092\u6709\u52b9\u306b\u3057\u3066\u5fc5\u8981\u306a\u30dd\u30fc\u30c8\u3060\u3051\u958b\u653e\u3059\u308b&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":""},"categories":[2],"tags":[95,557,558],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pezW3u-mZ","jetpack-related-posts":[{"id":772,"url":"https:\/\/clouds.tokyo\/blog\/linux_scp_port\/","url_meta":{"origin":1425,"position":0},"title":"\u3010Linux\u3011\u30dd\u30fc\u30c8\u3092\u6307\u5b9a\u3057\u3066scp","author":"yamamoto","date":"2017\u5e747\u67086\u65e5","format":false,"excerpt":"\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\u3067\u3001\u53ef\u80fd\u306a\u9650\u308assh\u306e\u30dd\u30fc\u30c8\u306f\u5909\u66f4\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002 \u306a\u306e\u3067\u3001\u30b5\u30fc\u30d0\u30fc\u9593\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":71,"url":"https:\/\/clouds.tokyo\/blog\/mysql_export_import\/","url_meta":{"origin":1425,"position":1},"title":"\u3010Linux\u3011MySQL\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3001\u30a4\u30f3\u30dd\u30fc\u30c8","author":"yamamoto","date":"2005\u5e7411\u670818\u65e5","format":false,"excerpt":"MySQL\u306e\u5168\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3059\u308b\u306b\u306f mysqldump -u root -p(\u30d1\u30b9\u30ef\u30fc\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1867,"url":"https:\/\/clouds.tokyo\/blog\/mysql_dump_split\/","url_meta":{"origin":1425,"position":2},"title":"[Linux]MySQL\u306e\u30c0\u30f3\u30d7\u30d5\u30a1\u30a4\u30eb\u304c\u5927\u304d\u3059\u304e\u308b\u306e\u3067\u30c6\u30fc\u30d6\u30eb\u3054\u3068\u306b\u5206\u5272\u3059\u308b","author":"yamamoto","date":"2025\u5e749\u670816\u65e5","format":false,"excerpt":"\u30b7\u30b9\u30c6\u30e0\u30c8\u30e9\u30d6\u30eb\u306e\u539f\u56e0\u3092\u63a2\u308b\u305f\u3081\u306b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u78ba\u8a8d\u3057\u305f\u3044\u3002 \u30c0\u30f3\u30d7\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u7279\u5b9a\u306e\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":69,"url":"https:\/\/clouds.tokyo\/blog\/rsync_ssh\/","url_meta":{"origin":1425,"position":3},"title":"\u3010Linux\u3011rsync\u3067\u30b5\u30fc\u30d0\u9593\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u540c\u671f","author":"yamamoto","date":"2005\u5e7410\u670826\u65e5","format":false,"excerpt":"\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306a\u3069\u306e\u76ee\u7684\u3067\u3001rsync\u3092\u4f7f\u3063\u3066\u30b5\u30fc\u30d0\u9593\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u540c\u671f\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002 \u5b9a\u671f\u7684\u306b\u81ea\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":123,"url":"https:\/\/clouds.tokyo\/blog\/sql_insert_import\/","url_meta":{"origin":1425,"position":4},"title":"\u3010\u30c4\u30fc\u30eb\u3011INSERT\u6587 \u5927\u91cf\u751f\u6210\u30c4\u30fc\u30eb","author":"yamamoto","date":"2010\u5e743\u670828\u65e5","format":false,"excerpt":"\u8907\u6570\u884c\u306e\u30c7\u30fc\u30bf\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u3068\u304d\u306b\u3001INSERT\u6587\u3092\u5927\u91cf\u306b\u4f5c\u3063\u3066\u6d41\u3059\u3002 \u539f\u59cb\u7684\u306a\u3084\u308a\u65b9\u3067\u3059\u304c\u3001\u30c7\u30fc\u2026","rel":"","context":"\u30c4\u30fc\u30eb","block_context":{"text":"\u30c4\u30fc\u30eb","link":"https:\/\/clouds.tokyo\/blog\/category\/%e3%83%84%e3%83%bc%e3%83%ab\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":183,"url":"https:\/\/clouds.tokyo\/blog\/yayoi_import\/","url_meta":{"origin":1425,"position":5},"title":"\u3084\u3088\u3044\u306e\u9752\u8272\u7533\u544a\u30aa\u30f3\u30e9\u30a4\u30f3\u306e\u4e00\u62ec\u30a4\u30f3\u30dd\u30fc\u30c8","author":"yamamoto","date":"2016\u5e741\u670810\u65e5","format":false,"excerpt":"\u78ba\u5b9a\u7533\u544a\u7528\u306b\u300c\u3084\u3088\u3044\u306e\u9752\u8272\u7533\u544a\u30aa\u30f3\u30e9\u30a4\u30f3\u300d\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002 \u3084\u3088\u3044\u306e\u9752\u8272\u7533\u544a\u30aa\u30f3\u30e9\u30a4\u30f3 \u7d4c\u8cbb\u3082\u3067\u304d\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/1425"}],"collection":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/comments?post=1425"}],"version-history":[{"count":1,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/1425\/revisions"}],"predecessor-version":[{"id":1426,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/1425\/revisions\/1426"}],"wp:attachment":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/media?parent=1425"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/categories?post=1425"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/tags?post=1425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}