{"id":56,"date":"2023-08-21T09:39:11","date_gmt":"2023-06-24T05:54:11","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/linux%e3%81%a7%e3%83%9d%e3%83%bc%e3%83%88%e3%82%92%e9%96%8b%e3%81%8f%e6%96%b9%e6%b3%95\/"},"modified":"2025-07-31T13:42:41","modified_gmt":"2025-07-31T04:42:41","slug":"linux%e3%81%a7%e3%83%9d%e3%83%bc%e3%83%88%e3%82%92%e9%96%8b%e3%81%8f%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/linux%e3%81%a7%e3%83%9d%e3%83%bc%e3%83%88%e3%82%92%e9%96%8b%e3%81%8f%e6%96%b9%e6%b3%95\/","title":{"rendered":"Linux\u3067\u30dd\u30fc\u30c8\u3092\u958b\u304f\u65b9\u6cd5"},"content":{"rendered":"<h3>\u30a4\u30f3\u30c8\u30ed\u30c0\u30af\u30b7\u30e7\u30f3<\/h3>\n<p>\u30dd\u30fc\u30c8\u306f\u901a\u4fe1\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u5185\u3067\u306f\u3001\u30dd\u30fc\u30c8\u306f\u7279\u5b9a\u306e\u30d7\u30ed\u30bb\u30b9\u3084\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b5\u30fc\u30d3\u30b9\u306b\u5bfe\u3057\u3066\u30c7\u30fc\u30bf\u30d1\u30b1\u30c3\u30c8\u3092\u958b\u653e\u307e\u305f\u306f\u9589\u3058\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u901a\u5e38\u3001\u30dd\u30fc\u30c8\u306f\u305d\u308c\u3089\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u305f\u7279\u5b9a\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b5\u30fc\u30d3\u30b9\u3092\u8b58\u5225\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u30b5\u30fc\u30d3\u30b9\u3092\u5225\u306e\u30dd\u30fc\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u624b\u52d5\u3067\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u5909\u66f4\u3067\u304d\u307e\u3059\u304c\u3001\u4e00\u822c\u7684\u306b\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8a2d\u5b9a\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306e1024\u30dd\u30fc\u30c8\uff080\u304b\u30891023\u306e\u30dd\u30fc\u30c8\u756a\u53f7\uff09\u306f\u3001\u3088\u304f\u77e5\u3089\u308c\u305f\u30dd\u30fc\u30c8\u756a\u53f7\u3068\u547c\u3070\u308c\u3001\u6700\u3082\u4e00\u822c\u7684\u306b\u4f7f\u7528\u3055\u308c\u308b\u30b5\u30fc\u30d3\u30b9\u306e\u305f\u3081\u306b\u4e88\u7d04\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u306fSSH\uff08\u30dd\u30fc\u30c822\uff09\u3001HTTP\uff08\u30dd\u30fc\u30c880\uff09\u3001HTTPS\uff08\u30dd\u30fc\u30c8443\uff09\u306a\u3069\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/p>\n<p>1024\u4ee5\u4e0a\u306e\u30dd\u30fc\u30c8\u756a\u53f7\u306f\u30a8\u30d5\u30a7\u30e1\u30e9\u30eb\u30dd\u30fc\u30c8\u3068\u547c\u3070\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>Port numbers 1024 to 49151 are called the registered\/user ports.<\/li>\n<li>Port numbers 49152 to 65535 are called the dynamic\/private ports.<\/li>\n<\/ul>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u4e00\u822c\u7684\u306a\u30b5\u30fc\u30d3\u30b9\u304c\u3088\u304f\u4f7f\u3046\u3088\u304f\u77e5\u3089\u308c\u305f\u30dd\u30fc\u30c8\u3067\u306f\u306a\u304f\u3001Linux\u4e0a\u3067\u30a8\u30d5\u30a7\u30e1\u30e9\u30eb\u30dd\u30fc\u30c8\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n<div class=\"post-conf-info\">\n<p class=\"post-conf-desc\">Info<\/p>\n<div>GitHub\u304b\u3089\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30c7\u30b8\u30bf\u30eb\u30aa\u30fc\u30b7\u30e3\u30f3\u30a2\u30d7\u30ea\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3092\u4f7f\u7528\u3057\u3066\u5c55\u958b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30c7\u30b8\u30bf\u30eb\u30aa\u30fc\u30b7\u30e3\u30f3\u304c\u30a2\u30d7\u30ea\u306e\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u306b\u6ce8\u529b\u3057\u307e\u3059\u3002<\/div>\n<\/div>\n<h2>\u524d\u63d0\u6761\u4ef6<\/h2>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u5b8c\u4e86\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u304c\u5fc5\u8981\u3067\u3059\uff1a<\/p>\n<ul class=\"post-ul\">\n<li>Familiarity with using the terminal.<\/li>\n<\/ul>\n<h2>\u3059\u3079\u3066\u306e\u30aa\u30fc\u30d7\u30f3\u30dd\u30fc\u30c8\u3092\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/h2>\n<p>Linux\u3067\u30dd\u30fc\u30c8\u3092\u958b\u304f\u524d\u306b\u3001\u5168\u3066\u306e\u30aa\u30fc\u30d7\u30f3\u30dd\u30fc\u30c8\u306e\u30ea\u30b9\u30c8\u3092\u78ba\u8a8d\u3057\u3001\u305d\u306e\u30ea\u30b9\u30c8\u306b\u306a\u3044\u30a8\u30d5\u30a7\u30e1\u30e9\u30eb\u30dd\u30fc\u30c8\u3092\u9078\u629e\u3057\u3066\u958b\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5c64\u306b\u304a\u3051\u308b\u30d1\u30b1\u30c3\u30c8\u8ee2\u9001\u306e\u6700\u3082\u4e00\u822c\u7684\u306a\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u3042\u308bTCP\u3068UDP\u3092\u542b\u3080\u3059\u3079\u3066\u306e\u30aa\u30fc\u30d7\u30f3\u30dd\u30fc\u30c8\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306b\u3001netstat\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">netstat<\/span> <span class=\"token parameter variable\">-lntu<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u308c\u306f\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>all listening sockets (-l)<\/li>\n<li>the port number (-n)<\/li>\n<li>TCP ports (-t)<\/li>\n<li>UDP ports (-u)<\/li>\n<\/ul>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:27017 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp6 0 0 ::1:5432 :::* LISTEN tcp6 0 0 ::1:6379 :::* LISTEN tcp6 0 0 :::22 :::* LISTEN udp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"post-conf-note\">\n<p class=\"post-conf-desc\">Note<\/p>\n<div>\u6ce8\u610f\uff1a\u3082\u3057\u3042\u306a\u305f\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306bnetstat\u304c\u306a\u3044\u5834\u5408\u3001listening\u30bd\u30b1\u30c3\u30c8\u3092\u78ba\u8a8d\u3057\u3066\u30aa\u30fc\u30d7\u30f3\u30dd\u30fc\u30c8\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306bss\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/div>\n<\/div>\n<p>\u30aa\u30fc\u30d7\u30f3\u30dd\u30fc\u30c8\u3092\u6301\u3064\u30ea\u30b9\u30cb\u30f3\u30b0\u30bd\u30b1\u30c3\u30c8\u3092\u30ea\u30b9\u30c8\u3059\u308b\u305f\u3081\u306b\u3001ss\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u4e00\u8cab\u3057\u305f\u51fa\u529b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">ss <span class=\"token parameter variable\">-lntu<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u308c\u306f\u5370\u5237\u3055\u308c\u307e\u3059\u3002 (Kore wa insatsu saremasu.)<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port udp UNCONN 0 0 127.0.0.53%lo:53 0.0.0.0:* tcp LISTEN 0 128 127.0.0.1:5432 0.0.0.0:* tcp LISTEN 0 128 127.0.0.1:27017 0.0.0.0:* tcp LISTEN 0 128 127.0.0.1:6379 0.0.0.0:* tcp LISTEN 0 128 127.0.0.53%lo:53 0.0.0.0:* tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:* tcp LISTEN 0 128 [::1]:5432 0.0.0.0:* tcp LISTEN 0 128 [::1]:6379 0.0.0.0:* tcp LISTEN 0 128 [::]:22 0.0.0.0:*<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u308c\u306f\u3001\u304a\u304a\u3088\u305dnetstat\u3068\u540c\u3058\u30aa\u30fc\u30d7\u30f3\u30dd\u30fc\u30c8\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<h2>Linux\u3067TCP\u63a5\u7d9a\u3092\u8a31\u53ef\u3059\u308b\u305f\u3081\u306e\u30dd\u30fc\u30c8\u3092\u958b\u653e\u3059\u308b<\/h2>\n<p>\u4eca\u3001\u9589\u3058\u3089\u308c\u305f\u30dd\u30fc\u30c8\u3092\u958b\u3044\u3066\u3001TCP\u63a5\u7d9a\u3092\u53d7\u3051\u5165\u308c\u308b\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u30dd\u30fc\u30c8\u756a\u53f74000\u3092\u958b\u3051\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u3082\u3057\u30b7\u30b9\u30c6\u30e0\u3067\u305d\u306e\u30dd\u30fc\u30c8\u304c\u958b\u3044\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u5225\u306e\u9589\u3058\u3089\u308c\u305f\u30dd\u30fc\u30c8\u3092\u9078\u3093\u3067\u69cb\u3044\u307e\u305b\u3093\u3002\u305f\u3060\u3057\u3001\u30dd\u30fc\u30c8\u756a\u53f7\u306f1023\u3088\u308a\u5927\u304d\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30cd\u30c3\u30c8\u30b9\u30bf\u30c3\u30c8\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u30dd\u30fc\u30c84000\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">netstat<\/span> <span class=\"token parameter variable\">-na<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <mark>:4000<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u307e\u305f\u306fss\u30b3\u30de\u30f3\u30c9\uff1a<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">ss <span class=\"token parameter variable\">-na<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <mark>:4000<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u51fa\u529b\u306f\u7a7a\u767d\u306e\u307e\u307e\u3067\u306a\u3051\u308c\u3070\u306a\u3089\u305a\u3001\u73fe\u5728\u4f7f\u7528\u3055\u308c\u3066\u3044\u306a\u3044\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u3001\u30dd\u30fc\u30c8\u306e\u30eb\u30fc\u30eb\u3092\u624b\u52d5\u3067\u30b7\u30b9\u30c6\u30e0\u306eiptables\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306b\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>Ubuntu\u30e6\u30fc\u30b6\u30fc\u3068ufw\u30d9\u30fc\u30b9\u306e\u30b7\u30b9\u30c6\u30e0\u306b\u5bfe\u3057\u3066<\/h3>\n<p>UncomplicatedFirewall\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u3042\u308bufw\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3042\u306a\u305f\u306e\u6307\u793a\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> ufw allow <mark><span class=\"token number\">4000<\/span><\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3042\u306a\u305f\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306b\u9069\u3057\u305fufw\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"post-conf-note\">\n<p class=\"post-conf-desc\">Note<\/p>\n<div>\n<p>\u30ce\u30fc\u30c8\uff1a<\/p>\n<p>Ubuntu 14.0.4\uff1a\u300c\u7279\u5b9a\u306e\u30dd\u30fc\u30c8\u7bc4\u56f2\u3092\u8a31\u53ef\u300d<br \/>\nUbuntu 16.0.4\/18.0.4\/20.0.4\/22.0.4\uff1a\u300c\u4ed6\u306e\u63a5\u7d9a\/\u7279\u5b9a\u306e\u30dd\u30fc\u30c8\u7bc4\u56f2\u3092\u8a31\u53ef\u300d<br \/>\nDebian 9\/10\/11\uff1a\u300c\u4ed6\u306e\u63a5\u7d9a\/\u7279\u5b9a\u306e\u30dd\u30fc\u30c8\u7bc4\u56f2\u3092\u8a31\u53ef\u300d<\/p>\n<\/div>\n<\/div>\n<h3>CentOS\u3068firewalld\u30d9\u30fc\u30b9\u306e\u30b7\u30b9\u30c6\u30e0\u306b\u3064\u3044\u3066<\/h3>\n<p>\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30ebD\u30c7\u30fc\u30e2\u30f3\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u3042\u308bfirewall-cmd\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3042\u306a\u305f\u306e\u6307\u793a\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3082\u306e\u306b\u306a\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">firewall-cmd &#8211;add-port<span class=\"token operator\">=<\/span><mark><span class=\"token number\">4000<\/span><\/mark>\/tcp<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u7279\u5b9a\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306b\u304a\u3044\u3066\u3001firewalld \u306e\u8a2d\u5b9a\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3001\u300cHow to Set Up firewalld\u300d\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"post-conf-note\">\n<p class=\"post-conf-desc\">Note<\/p>\n<div>\n<p>\u6ce8\u610f\uff1a<\/p>\n<p>CentOS 7\/8: &#8220;\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30eb\u30fc\u30eb\u8a2d\u5b9a \/ \u30be\u30fc\u30f3\u306e\u30dd\u30fc\u30c8\u306e\u958b\u653e&#8221;<br \/>\nRocky Linux 8\/9: &#8220;\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30eb\u30fc\u30eb\u8a2d\u5b9a \/ \u30be\u30fc\u30f3\u306e\u30dd\u30fc\u30c8\u306e\u958b\u653e&#8221;<\/p>\n<\/div>\n<\/div>\n<h3>\u4ed6\u306eLinux\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u7528<\/h3>\n<p>\u30b7\u30b9\u30c6\u30e0\u306eIPv4\u30d1\u30b1\u30c3\u30c8\u30d5\u30a3\u30eb\u30bf\u898f\u5247\u3092\u5909\u66f4\u3059\u308b\u305f\u3081\u306biptables\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">iptables <span class=\"token parameter variable\">-A<\/span> INPUT <span class=\"token parameter variable\">-p<\/span> tcp <span class=\"token parameter variable\">&#8211;dport<\/span> <mark><span class=\"token number\">4000<\/span><\/mark> <span class=\"token parameter variable\">-j<\/span> ACCEPT<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u300c\u3042\u306a\u305f\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306b\u304a\u3044\u3066\u3001iptables\u3092\u4f7f\u7528\u3057\u3066\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3001\u300eHow To Set Up A Firewall Using iptables\u300f\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u300d<\/p>\n<div class=\"post-conf-note\">\n<p class=\"post-conf-desc\">Note<\/p>\n<div>\u6ce8\u610f\uff1a<br \/>\nUbuntu 12.04:\u300c\u57fa\u672c\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u300d<br \/>\nUbuntu 14.04:\u300c\u4ed6\u306e\u5fc5\u8981\u306a\u63a5\u7d9a\u3092\u8a31\u53ef\u300d<\/div>\n<\/div>\n<h2>TCP\u63a5\u7d9a\u3092\u30c6\u30b9\u30c8\u3059\u308b\u305f\u3081\u306b\u65b0\u3057\u304f\u958b\u304b\u308c\u305f\u30dd\u30fc\u30c8\u3092\u8a66\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/h2>\n<p>\u65b0\u3057\u3044TCP\u30dd\u30fc\u30c8\u3092\u6b63\u5e38\u306b\u958b\u3044\u305f\u306e\u3067\u3001\u30c6\u30b9\u30c8\u306e\u6642\u9593\u3067\u3059\u3002<\/p>\n<p>\u6700\u521d\u306b\u3001netcat\uff08nc\uff09\u3092\u8d77\u52d5\u3057\u3001\u30dd\u30fc\u30c8\uff08-p\uff094000\u3067\u30ea\u30c3\u30b9\u30f3\u3059\u308b\u304c\u3001ls\u306e\u51fa\u529b\u3092\u63a5\u7d9a\u3055\u308c\u305f\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u9001\u4fe1\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">ls<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">nc<\/span> <span class=\"token parameter variable\">-l<\/span> <span class=\"token parameter variable\">-p<\/span> <mark><span class=\"token number\">4000<\/span><\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4eca\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u30dd\u30fc\u30c84000\u3067TCP\u63a5\u7d9a\u3092\u958b\u3044\u305f\u5f8c\u3001\u5f7c\u3089\u306fls\u306e\u51fa\u529b\u3092\u53d7\u3051\u53d6\u308b\u3067\u3057\u3087\u3046\u3002\u4eca\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u306f\u305d\u306e\u307e\u307e\u306b\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u540c\u3058\u30de\u30b7\u30f3\u3067\u5225\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u958b\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>TCP\u30dd\u30fc\u30c8\u3092\u958b\u3044\u305f\u306e\u3067\u3001TCP\u63a5\u7d9a\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306btelnet\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30b3\u30de\u30f3\u30c9\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306f\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3092\u4f7f\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30b5\u30fc\u30d0\u30fc\u306eIP\u3068\u30dd\u30fc\u30c8\u756a\u53f7\uff08\u4f8b\u3048\u30704000\uff09\u3092\u5165\u529b\u3057\u3001\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">telnet <mark>localhost<\/mark> <mark><span class=\"token number\">4000<\/span><\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001\u30dd\u30fc\u30c84000\u3067localhost\u4e0a\u306eTCP\u63a5\u7d9a\u3092\u8a66\u307f\u307e\u3059\u3002<\/p>\n<p>&#8220;\u3053\u306e\u3088\u3046\u306a\u51fa\u529b\u304c\u8868\u793a\u3055\u308c\u308b\u3068\u3001\u30ea\u30b9\u30cb\u30f3\u30b0\u30d7\u30ed\u30b0\u30e9\u30e0\uff08nc\uff09\u3068\u306e\u63a5\u7d9a\u304c\u78ba\u7acb\u3055\u308c\u307e\u3057\u305f\u3002&#8221;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Trying ::1&#8230; Trying 127.0.0.1&#8230; Connected to localhost. Escape character is &#8216;^]&#8217;. while.sh<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>ls\u30b3\u30de\u30f3\u30c9\u306e\u51fa\u529b\uff08\u3053\u306e\u4f8b\u3067\u306fwhile.sh\uff09\u3082\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u9001\u4fe1\u3055\u308c\u3066\u304a\u308a\u3001\u6210\u529f\u3057\u305fTCP\u63a5\u7d9a\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30dd\u30fc\u30c8\u304c\u958b\u3044\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001nmap\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">nmap <mark>localhost<\/mark> <span class=\"token parameter variable\">-p<\/span> <mark><span class=\"token number\">4000<\/span><\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u3063\u3066\u30aa\u30fc\u30d7\u30f3\u30dd\u30fc\u30c8\u304c\u30c1\u30a7\u30c3\u30af\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Starting Nmap 7.60 ( https:\/\/nmap.org ) at 2020-01-18 21:51 UTC Nmap scan report for localhost (127.0.0.1) Host is up (0.00010s latency). Other addresses for localhost (not scanned): ::1 PORT STATE SERVICE 4000\/tcp open remoteanything Nmap done: 1 IP address (1 host up) scanned in 0.25 seconds<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30dd\u30fc\u30c8\u304c\u958b\u304b\u308c\u307e\u3057\u305f\u3002\u3042\u306a\u305f\u306fLinux\u30b7\u30b9\u30c6\u30e0\u4e0a\u3067\u65b0\u3057\u3044\u30dd\u30fc\u30c8\u3092\u6210\u529f\u88cf\u306b\u958b\u304d\u307e\u3057\u305f\u3002<\/p>\n<div class=\"post-conf-note\">\n<p class=\"post-conf-desc\">Note<\/p>\n<div>\u6ce8\u610f\uff1anmap\u306f\u3001\u73fe\u5728\u30ea\u30c3\u30b9\u30f3\u3057\u3066\u3044\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u6301\u3064\u958b\u3044\u3066\u3044\u308b\u30dd\u30fc\u30c8\u306e\u307f\u3092\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u3057\u307e\u3059\u3002Netcat\u306a\u3069\u306e\u30ea\u30c3\u30b9\u30f3\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u306a\u3044\u5834\u5408\u306f\u3001\u30dd\u30fc\u30c84000\u306f\u9589\u3058\u3066\u3044\u308b\u3068\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u306a\u305c\u306a\u3089\u3001\u305d\u306e\u30dd\u30fc\u30c8\u306b\u30ea\u30c3\u30b9\u30f3\u3057\u3066\u3044\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u5b58\u5728\u3057\u306a\u3044\u304b\u3089\u3067\u3059\u3002\u540c\u69d8\u306b\u3001telnet\u3082\u30ea\u30c3\u30b9\u30f3\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u30d0\u30a4\u30f3\u30c9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081\u6a5f\u80fd\u3057\u307e\u305b\u3093\u3002\u3053\u308c\u304cnc\u304c\u975e\u5e38\u306b\u4fbf\u5229\u306a\u30c4\u30fc\u30eb\u3067\u3042\u308b\u7406\u7531\u3067\u3059\u3002\u3053\u308c\u306f\u3001\u30b7\u30f3\u30d7\u30eb\u306a\u30b3\u30de\u30f3\u30c9\u3067\u3053\u306e\u3088\u3046\u306a\u74b0\u5883\u3092\u30b7\u30df\u30e5\u30ec\u30fc\u30c8\u3057\u307e\u3059\u3002<\/div>\n<\/div>\n<p>\u305f\u3060\u3057\u3053\u308c\u306f\u4e00\u6642\u7684\u3067\u3059\u3002\u5909\u66f4\u306f\u30b7\u30b9\u30c6\u30e0\u3092\u518d\u8d77\u52d5\u3059\u308b\u305f\u3073\u306b\u30ea\u30bb\u30c3\u30c8\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u6301\u7d9a\u3059\u308b\u30eb\u30fc\u30eb<\/h2>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u63d0\u6848\u3055\u308c\u3066\u3044\u308b\u65b9\u6cd5\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u304c\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u307e\u305f\u306f\u518d\u8d77\u52d5\u3055\u308c\u308b\u307e\u3067\u3001\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u30eb\u30fc\u30eb\u3092\u4e00\u6642\u7684\u306b\u66f4\u65b0\u3059\u308b\u3060\u3051\u3067\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u540c\u3058\u30dd\u30fc\u30c8\u3092\u518d\u5ea6\u958b\u304f\u305f\u3081\u306b\u306f\u3001\u540c\u69d8\u306e\u624b\u9806\u3092\u518d\u5ea6\u7e70\u308a\u8fd4\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>ufw\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306b\u3064\u3044\u3066<\/h3>\n<p>UFW\u306e\u30eb\u30fc\u30eb\u306f\u518d\u8d77\u52d5\u3057\u3066\u3082\u30ea\u30bb\u30c3\u30c8\u3055\u308c\u307e\u305b\u3093\u3002\u3053\u308c\u306f\u3001\u30d6\u30fc\u30c8\u30d7\u30ed\u30bb\u30b9\u306b\u7d44\u307f\u8fbc\u307e\u308c\u3066\u304a\u308a\u3001\u30ab\u30fc\u30cd\u30eb\u304c\u9069\u5207\u306a\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u9069\u7528\u3059\u308b\u3053\u3068\u3067\u3001ufw\u3092\u4f7f\u7528\u3057\u3066\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u30eb\u30fc\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u3044\u308b\u305f\u3081\u3067\u3059\u3002<\/p>\n<h3>\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u30c7\u30a3<\/h3>\n<p>\u300c&#8211;permanent\u300d\u30d5\u30e9\u30b0\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u81ea\u5206\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306b\u304a\u3051\u308bfirewalld\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u65b9\u6cd5\u306b\u3064\u3044\u3066\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"post-conf-note\">\n<p class=\"post-conf-desc\">Note<\/p>\n<div>\n<p>\u6ce8\u91c8\uff1a<\/p>\n<p>CentOS 7\/8\uff1a\u300c\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30eb\u30fc\u30eb\u8a2d\u5b9a\u300d<br \/>\nRocky Linux 8\/9\uff1a\u300c\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30eb\u30fc\u30eb\u8a2d\u5b9a\u300d<\/p>\n<\/div>\n<\/div>\n<h3>iptables\u306b\u95a2\u3057\u3066\u306e\u307f\u3001\u30cd\u30a4\u30c6\u30a3\u30d6\u306a\u65e5\u672c\u8a9e\u3067\u8a00\u3044\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002 \u4e00\u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u5341\u5206\u3067\u3059\u3002<\/h3>\n<p>\u30a2\u30a4\u30d7\u30c6\u30fc\u30d6\u30eb\u30ba\u306b\u3064\u3044\u3066<\/p>\n<p>\u8a2d\u5b9a\u30eb\u30fc\u30eb\u3092\u4fdd\u5b58\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306fiptables-persistent\u3092\u63a8\u5968\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u3082\u306e\u3092\u53c2\u7167\u3057\u3066\u3001iptables\u3092\u4f7f\u7528\u3057\u3066\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3001\u3042\u306a\u305f\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306b\u5408\u3063\u305f\u3082\u306e\u3092\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"post-conf-note\">\n<p class=\"post-conf-desc\">Note<\/p>\n<div>\n<p>\u6ce8\u610f\uff1a<\/p>\n<p>Ubuntu 12.04\uff1a\u300cIptables\u306e\u30eb\u30fc\u30eb\u306e\u4fdd\u5b58\u300d<br \/>\nUbuntu 14.04\uff1a\u300cIptables\u306e\u8a2d\u5b9a\u306e\u4fdd\u5b58\u300d<\/p>\n<\/div>\n<\/div>\n<h2>\u7d50\u8ad6<\/h2>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Linux\u4e0a\u3067\u65b0\u3057\u3044\u30dd\u30fc\u30c8\u3092\u958b\u304d\u3001\u53d7\u4fe1\u63a5\u7d9a\u306e\u305f\u3081\u306b\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u5b66\u3073\u307e\u3057\u305f\u3002\u307e\u305f\u3001netstat\u3001ss\u3001telnet\u3001nc\u3001nmap\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u300cIptables\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u52d5\u4f5c\u65b9\u6cd5\u300d\u3001\u300cIptables\u3068Netfilter\u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306b\u3064\u3044\u3066\u306e\u8a73\u7d30\u306a\u63a2\u6c42\u300d\u3001\u300c\u30bd\u30b1\u30c3\u30c8\u306e\u7406\u89e3\u300d\u3001\u300c\u30b5\u30fc\u30d0\u30fc\u30ea\u30bd\u30fc\u30b9\u306e\u76e3\u8996\u306b\u3064\u3044\u3066\u306eTop\u3001Netstat\u3001Du\u306a\u3069\u306e\u30c4\u30fc\u30eb\u306e\u4f7f\u7528\u65b9\u6cd5\u300d\u306a\u3069\u3001\u3055\u307e\u3056\u307e\u306a\u30c8\u30d4\u30c3\u30af\u3092\u5b66\u3073\u7d9a\u3051\u307e\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30a4\u30f3\u30c8\u30ed\u30c0\u30af\u30b7\u30e7\u30f3 \u30dd\u30fc\u30c8\u306f\u901a\u4fe1\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u5185\u3067\u306f\u3001\u30dd\u30fc\u30c8\u306f\u7279\u5b9a\u306e\u30d7\u30ed\u30bb\u30b9\u3084\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b5\u30fc\u30d3\u30b9\u306b\u5bfe\u3057\u3066\u30c7\u30fc\u30bf\u30d1\u30b1\u30c3\u30c8\u3092\u958b\u653e\u307e\u305f\u306f\u9589\u3058\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002 \u901a\u5e38\u3001\u30dd\u30fc\u30c8\u306f\u305d\u308c\u3089\u306b\u5272\u308a\u5f53 [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[26,61],"class_list":["post-56","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-26","tag-61"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Linux\u3067\u30dd\u30fc\u30c8\u3092\u958b\u304f\u65b9\u6cd5 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Linux\u3067\u30dd\u30fc\u30c8\u3092\u958b\u304f\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\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:\/\/www.silicloud.com\/ja\/blog\/linux\u3067\u30dd\u30fc\u30c8\u3092\u958b\u304f\u65b9\u6cd5\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux\u3067\u30dd\u30fc\u30c8\u3092\u958b\u304f\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"Linux\u3067\u30dd\u30fc\u30c8\u3092\u958b\u304f\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/linux\u3067\u30dd\u30fc\u30c8\u3092\u958b\u304f\u65b9\u6cd5\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-24T05:54:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T04:42:41+00:00\" \/>\n<meta name=\"author\" content=\"\u84ee, \u7ffc\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u84ee, \u7ffc\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"14\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/linux%e3%81%a7%e3%83%9d%e3%83%bc%e3%83%88%e3%82%92%e9%96%8b%e3%81%8f%e6%96%b9%e6%b3%95\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/linux%e3%81%a7%e3%83%9d%e3%83%bc%e3%83%88%e3%82%92%e9%96%8b%e3%81%8f%e6%96%b9%e6%b3%95\/\",\"name\":\"Linux\u3067\u30dd\u30fc\u30c8\u3092\u958b\u304f\u65b9\u6cd5 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2023-06-24T05:54:11+00:00\",\"dateModified\":\"2025-07-31T04:42:41+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cdc124a0aaebf26393d8d591183ca413\"},\"description\":\"Linux\u3067\u30dd\u30fc\u30c8\u3092\u958b\u304f\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/linux%e3%81%a7%e3%83%9d%e3%83%bc%e3%83%88%e3%82%92%e9%96%8b%e3%81%8f%e6%96%b9%e6%b3%95\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/linux%e3%81%a7%e3%83%9d%e3%83%bc%e3%83%88%e3%82%92%e9%96%8b%e3%81%8f%e6%96%b9%e6%b3%95\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/linux%e3%81%a7%e3%83%9d%e3%83%bc%e3%83%88%e3%82%92%e9%96%8b%e3%81%8f%e6%96%b9%e6%b3%95\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux\u3067\u30dd\u30fc\u30c8\u3092\u958b\u304f\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cdc124a0aaebf26393d8d591183ca413\",\"name\":\"\u84ee, \u7ffc\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/27308f733c7fcdac8617926a0100c77213339c4e501310a08c0baf946bf823bc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/27308f733c7fcdac8617926a0100c77213339c4e501310a08c0baf946bf823bc?s=96&d=mm&r=g\",\"caption\":\"\u84ee, \u7ffc\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/rentsubasa\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/linux%e3%81%a7%e3%83%9d%e3%83%bc%e3%83%88%e3%82%92%e9%96%8b%e3%81%8f%e6%96%b9%e6%b3%95\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Linux\u3067\u30dd\u30fc\u30c8\u3092\u958b\u304f\u65b9\u6cd5 - Blog - Silicon Cloud","description":"Linux\u3067\u30dd\u30fc\u30c8\u3092\u958b\u304f\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\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:\/\/www.silicloud.com\/ja\/blog\/linux\u3067\u30dd\u30fc\u30c8\u3092\u958b\u304f\u65b9\u6cd5\/","og_locale":"ja_JP","og_type":"article","og_title":"Linux\u3067\u30dd\u30fc\u30c8\u3092\u958b\u304f\u65b9\u6cd5","og_description":"Linux\u3067\u30dd\u30fc\u30c8\u3092\u958b\u304f\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/linux\u3067\u30dd\u30fc\u30c8\u3092\u958b\u304f\u65b9\u6cd5\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-06-24T05:54:11+00:00","article_modified_time":"2025-07-31T04:42:41+00:00","author":"\u84ee, \u7ffc","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u84ee, \u7ffc","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"14\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/linux%e3%81%a7%e3%83%9d%e3%83%bc%e3%83%88%e3%82%92%e9%96%8b%e3%81%8f%e6%96%b9%e6%b3%95\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/linux%e3%81%a7%e3%83%9d%e3%83%bc%e3%83%88%e3%82%92%e9%96%8b%e3%81%8f%e6%96%b9%e6%b3%95\/","name":"Linux\u3067\u30dd\u30fc\u30c8\u3092\u958b\u304f\u65b9\u6cd5 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2023-06-24T05:54:11+00:00","dateModified":"2025-07-31T04:42:41+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cdc124a0aaebf26393d8d591183ca413"},"description":"Linux\u3067\u30dd\u30fc\u30c8\u3092\u958b\u304f\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/linux%e3%81%a7%e3%83%9d%e3%83%bc%e3%83%88%e3%82%92%e9%96%8b%e3%81%8f%e6%96%b9%e6%b3%95\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/linux%e3%81%a7%e3%83%9d%e3%83%bc%e3%83%88%e3%82%92%e9%96%8b%e3%81%8f%e6%96%b9%e6%b3%95\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/linux%e3%81%a7%e3%83%9d%e3%83%bc%e3%83%88%e3%82%92%e9%96%8b%e3%81%8f%e6%96%b9%e6%b3%95\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Linux\u3067\u30dd\u30fc\u30c8\u3092\u958b\u304f\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cdc124a0aaebf26393d8d591183ca413","name":"\u84ee, \u7ffc","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/27308f733c7fcdac8617926a0100c77213339c4e501310a08c0baf946bf823bc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/27308f733c7fcdac8617926a0100c77213339c4e501310a08c0baf946bf823bc?s=96&d=mm&r=g","caption":"\u84ee, \u7ffc"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/rentsubasa\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/linux%e3%81%a7%e3%83%9d%e3%83%bc%e3%83%88%e3%82%92%e9%96%8b%e3%81%8f%e6%96%b9%e6%b3%95\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/56","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=56"}],"version-history":[{"count":1,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/56\/revisions"}],"predecessor-version":[{"id":35868,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/56\/revisions\/35868"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=56"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=56"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}