{"id":239,"date":"2022-12-12T16:58:54","date_gmt":"2022-12-12T07:58:54","guid":{"rendered":"http:\/\/daimaru-tech-blog.com\/?p=239"},"modified":"2025-11-08T09:43:07","modified_gmt":"2025-11-08T00:43:07","slug":"%e3%80%90wordpress%e3%80%91%e8%87%aa%e5%ae%85%e3%81%abwordpress%e7%92%b0%e5%a2%83%e3%82%92%e6%a7%8b%e7%af%89%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e2%91%a1-2-2-2-2-2-2","status":"publish","type":"post","link":"https:\/\/daimaru-tech-blog.com\/?p=239","title":{"rendered":"\u3010\u306f\u3058\u3081\u3066\u306e\u30d6\u30ed\u30b0\u904b\u7528\u3011\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3068VPN\u74b0\u5883\u306e\u69cb\u7bc9"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u306f\u3058\u3081\u306b<\/h2>\n\n\n\n<p>\u3053\u3093\u306b\u3061\u306f\u3002<strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-swl-deep-02-color\"><span class=\"swl-marker mark_blue\">\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u300c\u3060\u3044\u307e\u308b\u300d<\/span><\/mark><\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u524d\u56de\u306f\u300c<a href=\"https:\/\/daimaru-tech-blog.com\/?p=235\">\u3010\u306f\u3058\u3081\u3066\u306e\u30d6\u30ed\u30b0\u904b\u7528\u3011\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fb\u81ea\u524d\u74b0\u5883\u3069\u3063\u3061\u304c\u3044\u3044\uff1f<\/a>\u300d\u3067<strong>\u69cb\u6210\u3068\u30b3\u30b9\u30c8<\/strong>\u306b\u3064\u3044\u3066\u89e6\u308c\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u306f<strong>EC2\u3092\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3068\u3057\u3066\u5229\u7528\u3059\u308b\u65b9\u6cd5<\/strong>\u3092\u307e\u3068\u3081\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -external -noimg\" data-type=\"type3\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/daimaru-tech-blog.com\/?p=235\" target=\"_blank\" rel=\"noopener noreferrer\">\u3010\u306f\u3058\u3081\u3066\u306e\u30d6\u30ed\u30b0\u904b\u7528\u3011\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fb\u81ea\u524d\u74b0\u5883\u3069\u3063\u3061\u304c\u3044\u3044\uff1f \u2013 \u3060\u3044\u307e\u308b\u30d6\u30ed\u30b0<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\"><\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\n<center><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-2776062481390161\"\n     crossorigin=\"anonymous\"><\/script>\n<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-format=\"autorelaxed\"\n     data-ad-client=\"ca-pub-2776062481390161\"\n     data-ad-slot=\"3964253637\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/center>\n\n\n\n<h2 class=\"wp-block-heading\">\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3063\u3066\u306a\u306b\uff1f<\/h2>\n\n\n\n<p><strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3068\u306f\u3001\u300c\u5916\u90e8\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u306b\u5bfe\u3059\u308b\u30d7\u30ed\u30ad\u30b7\u30b5\u30fc\u30d0\u300d\u3068\u306a\u308a\u307e\u3059\u3002<\/span><\/strong><\/p>\n\n\n\n<p>\u30d7\u30ed\u30ad\u30b7\u30b5\u30fc\u30d0\u3068\u306f\u3001\u300c<strong>\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u304b\u3089\u306e\u901a\u4fe1<\/strong>\u3084<strong>\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u5411\u3051\u306e\u901a\u4fe1<\/strong>\u306e<strong>\u4ee3\u7406\u30b5\u30fc\u30d0<\/strong>\u300d\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3092\u5229\u7528\u3057\u306a\u3044\u5834\u5408<\/strong>\u3001<strong>\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u304b\u3089\u81ea\u5b85LAN\u5185\u306eWeb\u30b5\u30fc\u30d0\u306b\u76f4\u63a5\u30a2\u30af\u30bb\u30b9\u3055\u308c\u308b<\/strong>\u305f\u3081\u3001<strong><span style=\"color:#ff0000\" class=\"swl-inline-color\"><span class=\"swl-marker mark_orange\">\u4e0d\u6b63\u30a2\u30af\u30bb\u30b9\u306e\u53ef\u80fd\u6027<\/span><\/span><\/strong>\u304c\u9ad8\u307e\u308a\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-image is-style-photo_frame u-lb-on\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" width=\"1920\" height=\"1080\" src=\"http:\/\/daimaru-tech-blog.com\/wp-content\/uploads\/2024\/01\/\u4e0d\u6b63\u30a2\u30af\u30bb\u30b9_\u30a4\u30e1\u30fc\u30b8\u56f3.jpg\" alt=\"\" class=\"wp-image-2105\" style=\"width:789px;height:auto\"\/><\/figure>\n<\/div>\n\n\n<p>\u4e00\u65b9\u3001\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3092\u5229\u7528\u3057\u305f\u5834\u5408\u3001<strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u81ea\u5b85\u306eLAN\u5185\u306b\u76f4\u63a5\u30a2\u30af\u30bb\u30b9\u3055\u308c\u308b\u53ef\u80fd\u6027\u306f\u4f4e\u304f\u306a\u308b<\/span><\/strong>\u305f\u3081\u3001<strong><span style=\"color:#0000ff\" class=\"swl-inline-color\"><span class=\"swl-marker mark_blue\">\u4e0d\u6b63\u30a2\u30af\u30bb\u30b9\u306e\u88ab\u5bb3\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u308b<\/span><\/span><\/strong>\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"red\"><div class=\"c-balloon__icon -circle\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/daimaru-tech-blog.com\/wp-content\/uploads\/2022\/12\/cropped-\u3060\u3044\u307e\u308b.webp\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><\/div><div class=\"c-balloon__body -speaking -border-on\"><div class=\"c-balloon__text\">\n<p><strong><span style=\"color:#ff0000\" class=\"swl-inline-color\">\u5fc5\u305a\u9632\u3052\u308b\u308f\u3051\u3067\u306f\u306a\u3044\u306e\u306f\u982d\u306b\u5165\u308c\u3066\u304a\u3053\u3046\uff01<\/span><\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n<div class=\"wp-block-image is-style-photo_frame u-lb-on\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1920\" height=\"1080\" src=\"http:\/\/daimaru-tech-blog.com\/wp-content\/uploads\/2024\/01\/\u4e0d\u6b63\u30a2\u30af\u30bb\u30b9NG_\u30a4\u30e1\u30fc\u30b8.jpg\" alt=\"\" class=\"wp-image-2106\"\/><\/figure>\n<\/div>\n\n\n<p><strong>\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u5229\u7528\u306e\u7406\u7531<\/strong>\u306f\u3001<strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5411\u4e0a\u3092\u76ee\u7684\u3068\u3057\u305f\u7406\u7531\u304c\u591a\u3044\u300d<\/span><\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057\u3001\u4eca\u56de\u306f<strong><span style=\"color:#008000\" class=\"swl-inline-color\">\u300c\u30b0\u30ed\u30fc\u30d0\u30ebIP\u30a2\u30c9\u30ec\u30b9\u3092\u78ba\u4fdd\u3057\u3001\u81ea\u5b85LAN\u306e\u30b5\u30fc\u30d0\u3068\u901a\u4fe1\u3092\u884c\u3046\u3053\u3068\u300d\u3092\u4e3b\u306a\u76ee\u7684<\/span><\/strong>\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-left\" data-col=\"blue\"><div class=\"c-balloon__icon -circle\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/daimaru-tech-blog.com\/wp-content\/uploads\/2022\/12\/cropped-\u3060\u3044\u307e\u308b.webp\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">AWS\u4ee5\u5916\u306e\u4ed6\u306e\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u3067\u3082\u4ee3\u7528\u53ef\u80fd\u3067\u3059\uff01<\/span><\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<center><a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=3THM1R+BYGF5E+50+4YSGYP\" target=\"_blank\" rel=\"nofollow noopener\">\n<img decoding=\"async\" border=\"0\" width=\"728\" height=\"90\" alt=\"\" src=\"https:\/\/www25.a8.net\/svt\/bgt?aid=230929119723&#038;wid=001&#038;eno=01&#038;mid=s00000000018030030000&#038;mc=1\"><\/a>\n<img decoding=\"async\" border=\"0\" width=\"1\" height=\"1\" src=\"https:\/\/www13.a8.net\/0.gif?a8mat=3THM1R+BYGF5E+50+4YSGYP\" alt=\"\"><\/center>\n\n\n\n<div class=\"swell-block-button blue_ is-style-btn_solid\" data-id=\"209f8687\"><a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=3THM1R+BYGF5E+50+4YSGYP\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"swell-block-button__link\"><span>Conoha\u30b5\u30fc\u30d0\u3067\u4ee3\u7528\u3057\u3066\u307f\u3088\u3046\uff01<\/span><\/a><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u30ea\u30d0\u30d7\u30ed\u8cbb\u7528\uff08EC2\uff09<\/h2>\n\n\n\n<p>\u6700\u521d\u306b\u8aac\u660e\u3057\u305f\u901a\u308a\u3001AWS EC2\u3092\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3068\u3057\u3066\u69cb\u7bc9\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u9078\u3093\u3060\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30bf\u30a4\u30d7\u306f<strong>\u300cT2.nano\u300d<\/strong>\u3001\u5951\u7d04\u306f<span style=\"color:#0000ff\" class=\"swl-inline-color\">\u300c<\/span><strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">3\u5e74\u5168\u984d\u524d\u6255\u3044<\/span><\/strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u306e\u30ea\u30b6\u30fc\u30d6\u30c9\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u300d<\/span>\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u5168\u984d\u524d\u6255\u3044\u306b\u3088\u308b\u5272\u5f15\u7387\u306f\u975e\u5e38\u306b\u9ad8\u3044<\/span><\/strong>\u305f\u3081\u3001<strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u8cbb\u7528\u3092\u6700\u5927\u9650\u6291\u3048\u305f\u4e0a\u3067\u30d6\u30ed\u30b0\u904b\u7528\u304c\u53ef\u80fd<\/span><\/strong>\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table has-small-font-size\"><table><tbody><tr><td data-has-cell-bg=\"1\" data-text-color=\"white\"><strong><span style=\"--the-cell-bg: #0000ff\" data-text-color=\"white\" aria-hidden=\"true\" class=\"swl-cell-bg\">&nbsp;<\/span><\/strong><span class=\"swl-inline-color has-white-color\">\u9805\u76ee<\/span><\/td><td data-has-cell-bg=\"1\" data-text-color=\"white\"><span style=\"--the-cell-bg: #0000ff\" data-text-color=\"white\" aria-hidden=\"true\" class=\"swl-cell-bg\">&nbsp;<\/span><span class=\"swl-inline-color has-white-color\">\u4e00\u6642\u91d1<\/span><\/td><td data-has-cell-bg=\"1\" data-text-color=\"white\"><span class=\"swl-inline-color has-white-color\">\u6708\u984d<\/span><span style=\"--the-cell-bg: #0000ff\" data-text-color=\"white\" aria-hidden=\"true\" class=\"swl-cell-bg\">&nbsp;<\/span><\/td><\/tr><tr><td data-has-cell-bg=\"1\" data-text-color=\"black\"><strong><span style=\"--the-cell-bg: #fffacd\" data-text-color=\"black\" aria-hidden=\"true\" class=\"swl-cell-bg\">&nbsp;<\/span>T2.nano<\/strong><br><strong><span class=\"swl-fz u-fz-xs\">1\u30b3\u30a2\/0.5GB<\/span><\/strong><\/td><td data-has-cell-bg=\"1\" data-text-color=\"black\"><strong><span style=\"color:#ff0000\" class=\"swl-inline-color\"><span style=\"--the-cell-bg: #fffacd\" data-text-color=\"black\" aria-hidden=\"true\" class=\"swl-cell-bg\">&nbsp;<\/span>$86<\/span><\/strong><br><span class=\"swl-fz u-fz-s\"><span style=\"color:#ff0000\" class=\"swl-inline-color\">*<strong>\u00a512,040<\/strong><\/span><\/span><\/td><td data-has-cell-bg=\"1\" data-text-color=\"black\"><strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u00a50<\/span><\/strong><span style=\"color:#ff0000\" class=\"swl-inline-color\"><strong><span style=\"--the-cell-bg: #fffacd\" data-icon-size=\"l\" data-icon-type=\"bg\" data-text-color=\"black\" aria-hidden=\"true\" class=\"swl-cell-bg\">&nbsp;<\/span><\/strong><\/span><\/td><\/tr><tr><td data-has-cell-bg=\"1\" data-text-color=\"black\"><span style=\"--the-cell-bg: #fffacd\" data-text-color=\"black\" aria-hidden=\"true\" class=\"swl-cell-bg\">&nbsp;<\/span><strong>EBS\uff08\u30b9\u30c8\u30ec\u30fc\u30b8\uff09<\/strong><\/td><td data-has-cell-bg=\"1\" data-text-color=\"black\"><span style=\"--the-cell-bg: #fffacd\" data-text-color=\"black\" aria-hidden=\"true\" class=\"swl-cell-bg\"><strong>&nbsp;<\/strong><\/span><strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u00a50<\/span><\/strong><\/td><td data-has-cell-bg=\"1\" data-text-color=\"black\"><span style=\"--the-cell-bg: #fffacd\" data-text-color=\"black\" aria-hidden=\"true\" class=\"swl-cell-bg\"><strong>&nbsp;<\/strong><\/span><span style=\"color:#ff0000\" class=\"swl-inline-color\"><strong>$0.8<\/strong><\/span><br><span style=\"color:#ff0000\" class=\"swl-inline-color\"><strong><span class=\"swl-fz u-fz-s\">\u00a5120<\/span><\/strong><\/span><\/td><\/tr><tr><td data-has-cell-bg=\"1\" data-text-color=\"black\"><strong><span style=\"--the-cell-bg: #fffacd\" data-text-color=\"black\" aria-hidden=\"true\" class=\"swl-cell-bg\">&nbsp;<\/span>Global IP\u5229\u7528\u6599<\/strong><\/td><td data-has-cell-bg=\"1\" data-text-color=\"black\"><span style=\"--the-cell-bg: #fffacd\" data-text-color=\"black\" aria-hidden=\"true\" class=\"swl-cell-bg\">&nbsp;<\/span><strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u00a50<\/span><\/strong><\/td><td data-has-cell-bg=\"1\" data-text-color=\"black\"><span style=\"--the-cell-bg: #fffacd\" data-text-color=\"black\" aria-hidden=\"true\" class=\"swl-cell-bg\">&nbsp;<\/span><strong><span style=\"color:#ff0000\" class=\"swl-inline-color\">$3.72<\/span><\/strong><br><strong><span style=\"color:#ff0000\" class=\"swl-inline-color\"><span class=\"swl-fz u-fz-s\">\u00a5450<\/span><\/span><\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u3053\u306e<strong>T2.nano<\/strong>\u306f<strong>\u300cvCPU\u304c1\u3064\u30fb\u30e1\u30e2\u30ea\u304c0.5GB\u300d\u306e\u6027\u80fd<\/strong>\u3092\u6301\u3061\u3001<span style=\"color:#0000ff\" class=\"swl-inline-color\"><strong>30\u4ee5\u4e0a\u306e\u540c\u6642\u30a2\u30af\u30bb\u30b9\u6570\u304c\u306a\u3051\u308c\u3070<\/strong>\u3001<strong>\u5feb\u9069\u306a\u30ec\u30b9\u30dd\u30f3\u30b9\u6027\u80fd\u3092\u767a\u63ee<\/strong><\/span>\u3057\u307e\u3059\u3002\uff08\u5b9f\u8a3c\u3067\u78ba\u8a8d\u6e08\uff09<\/p>\n\n\n\n<p>\u30d6\u30ed\u30b0\u958b\u59cb\u521d\u671f\u306f\u300130\u4ee5\u4e0a\u306e\u540c\u6642\u30a2\u30af\u30bb\u30b9\u306f\u8003\u3048\u306b\u304f\u3044\u305f\u3081\u3001\u3053\u306e\u6027\u80fd\u3067\u5341\u5206\u3067\u3059\u3002<\/p>\n\n\n\n<center><a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=3T061I+D5X2B6+CO4+15Z25D\" target=\"_blank\" rel=\"nofollow noopener\">\n<img decoding=\"async\" border=\"0\" width=\"350\" height=\"240\" alt=\"\" src=\"https:\/\/www21.a8.net\/svt\/bgt?aid=230115222796&#038;wid=001&#038;eno=01&#038;mid=s00000001642007050000&#038;mc=1\"><\/a>\n<img decoding=\"async\" border=\"0\" width=\"1\" height=\"1\" src=\"https:\/\/www12.a8.net\/0.gif?a8mat=3T061I+D5X2B6+CO4+15Z25D\" alt=\"\"><\/center>\n\n\n\n<div class=\"swell-block-button red_ is-style-btn_solid\" data-id=\"4c9b805b\"><a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=3T061I+D5X2B6+CO4+15Z25D\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"swell-block-button__link\"><span>EC2\u306e\u4ee3\u308f\u308a\u306bXserver\u3092\u5229\u7528<\/span><\/a><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u2460\uff1a\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306e\u69cb\u7bc9\u65b9\u6cd5\uff08AWS EC2\u7de8\uff09<\/h2>\n\n\n\n<p>AWS EC2\u306e\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u30b5\u30fc\u30d0\u306e\u69cb\u7bc9\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step1\uff1aNginx\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n\n\n\n<p>\u6700\u521d\u306b\u3084\u308b\u3053\u3068\u306f\u3001<strong>\u300cNginx\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300d<\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306bNginx\u3092\u63a1\u7528\u3057\u305f\u7406\u7531<\/span><\/strong>\u306f\u3001<strong><span style=\"color:#0000ff\" class=\"swl-inline-color\"><span class=\"swl-marker mark_blue\">\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3067\u3082\u3088\u304f\u5229\u7528\u3055\u308c\u3066\u304a\u308a\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3082\u591a\u304f\u3001\u8a2d\u5b9a\u3082\u7c21\u6f54\u306e\u305f\u3081<\/span><\/span><\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u30b5\u30fc\u30d0\u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30b3\u30de\u30f3\u30c9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3068\u306a\u308a\u307e\u3059\u3002*OS\u306b\u3088\u3063\u3066\u30b3\u30de\u30f3\u30c9\u306f\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code><span style=\"color:#00ff00\" class=\"swl-inline-color\">sudo apt install nginx<\/span><\/code><\/pre>\n\n\n\n<p>\u203bDebian\u7cfb\u4ee5\u5916\u306e\u30b5\u30fc\u30d0\u306e\u5834\u5408\uff1ayum\u7b49\u3092\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"p-blogParts post_content\" data-partsID=\"3904\">\n<center>\n    <div class=\"product-banner-container\">\n        <div class=\"image-section\">\n            <img decoding=\"async\" src=\"https:\/\/m.media-amazon.com\/images\/I\/61LbDMjddRL._SY425_.jpg\"  class=\"product-main-image\">\n        <\/div>\n        <div class=\"content-section\">\n            <div class=\"product-title\">nginx\u5b9f\u8df5\u5165\u9580 (WEB+DB PRESS plus) <\/div>\n            <div class=\"product-subtitle\">Web\u30b5\u30fc\u30d0\u306e\u5b66\u7fd2\u306b\u6700\u9069\u306a\u53c2\u8003\u66f8<\/div>\n            <div class=\"button-row\">            \n                <a href=\"https:\/\/amzn.to\/3Lz9suC\" target=\"_blank\" class=\"buy-button amazon\">\n                    Amazon\u3067\u898b\u308b\n                <\/a>\n                <a href=\"\/\/af.moshimo.com\/af\/c\/click?a_id=3735106&#038;p_id=54&#038;pc_id=54&#038;pl_id=616&#038;url=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F13530382%2F%3Fl-id%3Ditem-c-pbook-n\" target=\"_blank\" class=\"buy-button rakuten\">\n                    \u697d\u5929\u3067\u898b\u308b\n                <\/a>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/center>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Step2\uff1aNginx\u306e\u8a2d\u5b9a\u65b9\u6cd5<\/h3>\n\n\n\n<p><strong>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb<\/strong>\u306f\u3001<strong>\u300c\/etc\/nginx\/nginx.conf\u300d<\/strong>\u306b\u4fdd\u5b58\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"red\"><div class=\"c-balloon__icon -circle\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/daimaru-tech-blog.com\/wp-content\/uploads\/2022\/12\/cropped-\u3060\u3044\u307e\u308b.webp\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><\/div><div class=\"c-balloon__body -speaking -border-on\"><div class=\"c-balloon__text\">\n<p><strong><span style=\"color:#ff0000\" class=\"swl-inline-color\">OS\u306b\u3088\u3063\u3066\u306f\u7570\u306a\u308b\u5834\u5408\u3082\u3042\u308a\u307e\u3059<\/span><\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<p>\u7570\u306a\u308b\u5834\u5408\u306f\u3001find\u30b3\u30de\u30f3\u30c9\u3067\u691c\u7d22\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code><span style=\"color:#00ff00\" class=\"swl-inline-color\">sudo find \/ -name \"nginx.conf\"<\/span><\/code><\/pre>\n\n\n\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u3042\u308a\u304b\u3092\u78ba\u8a8d\u5f8c\u306f\u3001\u30d6\u30ed\u30b0\u3092\u904b\u7528\u3059\u308bWeb\u30b5\u30fc\u30d0\u3078\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a\u3092\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u8a2d\u5b9a\u5f8c\u306f\u3001Nginx\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u304c\u91cd\u8981\u306b\u306a\u3063\u3066\u304f\u308b\u305f\u3081\u3001\u4e8b\u524d\u306b\u77e5\u8b58\u3092\u30a4\u30f3\u30d7\u30c3\u30c8\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u5909\u66f4\u70b9\u2460\uff1aCPU\u30b3\u30a2\u6570<\/h4>\n\n\n\n<p><strong>\u30b0\u30ed\u30fc\u30d0\u30eb\u90e8\u5206\u306e\u7de8\u96c6\u306e1\u70b9\u76ee\u306f\u3001CPU\u30b3\u30a2\u6570\u3084\u30ed\u30b0\u4fdd\u7ba1\u5834\u6240\u306e\u6307\u5b9a\u3067\u3059\u3002<\/strong><\/p>\n\n\n\n<p>CPU\u30b3\u30a2\u6570\u306f\u3001\u305d\u306e\u30b5\u30fc\u30d0\u306b\u9069\u3057\u305f\u5024\u3092\u8a2d\u5b9a\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code><span style=\"color:#ffff00\" class=\"swl-inline-color\">##CPU\u30b3\u30a2\u6570\u306e\u6307\u5b9a##<\/span>\nworker_processes  1;<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u5909\u66f4\u70b9\u2461\uff1a\u30a8\u30e9\u30fc\u30ed\u30b0<\/h4>\n\n\n\n<p>2\u70b9\u76ee\u306f\u3001\u30a8\u30e9\u30fc\u30ed\u30b0\u306e\u4fdd\u5b58\u5148\u3068\u51fa\u529b\u30ec\u30d9\u30eb\u306e\u6307\u5b9a\u306f\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code><span style=\"color:#ffff00\" class=\"swl-inline-color\">##\u30ed\u30b0\u4fdd\u7ba1\u5834\u6240 \u51fa\u529b\u30ec\u30d9\u30eb##<\/span>\nerror_log  logs\/error.log  notice; <\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u5909\u66f4\u70b9\u2462\uff1a\u30bb\u30c3\u30b7\u30e7\u30f3\u6570<\/h4>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code>events {\n<span style=\"color:#ffff00\" class=\"swl-inline-color\">    ##\u540c\u6642\u30a2\u30af\u30bb\u30b9\u304c\u53ef\u80fd\u3068\u306a\u308b\u30bb\u30c3\u30b7\u30e7\u30f3\u6570<\/span>\n    worker_connections  40; \n}<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u5024\u304c\u5927\u304d\u3059\u304e\u308b\u5834\u5408\u3001<strong><span style=\"color:#ff0000\" class=\"swl-inline-color\">DDOS\u306b\u3088\u308b\u5f71\u97ff\u3092\u53d7\u3051\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3001\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u304c\u5fc5\u8981<\/span><\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u5909\u66f4\u70b9\u2463\uff1aHTTP<\/h4>\n\n\n\n<p>HTTP\u306f\u3001<strong>\u300cserver\u914d\u4e0b\u306e\u90e8\u5206\u300d\u304c\u5404\u30b5\u30fc\u30d0\u306b\u632f\u308a\u5206\u3051\u308b\u969b\u306e\u8a2d\u5b9a<\/strong>\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code>http {\n    include       mime.types;\n    default_type  application\/octet-stream;\n    sendfile        on;\n    server_names_hash_bucket_size 128;\n    keepalive_timeout  65;\n\u3000\u3000server {\n           server_name daimaru-tech-blog.com; <strong><span style=\"color:#ffff00\" class=\"swl-inline-color\">#\u30b5\u30fc\u30d0\u540d\uff08\u4e00\u822c\u7684\u306bURL\uff09<\/span><\/strong>\n          <strong><span style=\"color:#ffff00\" class=\"swl-inline-color\"> #\u30d7\u30ed\u30ad\u30b7\u30d8\u30c3\u30c0\u306e\u5404\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5024\u8ffd\u52a0\u30fb\u5909\u66f4\u306e\u8a2d\u5b9a<\/span><\/strong>\n\t   proxy_set_header X-Forwarded-Proto $scheme; <strong><span style=\"color:#ffff00\" class=\"swl-inline-color\">#\u30a2\u30af\u30bb\u30b9\u30e1\u30bd\u30c3\u30c9\uff08HTTP or HTTPS\uff09<\/span><\/strong>\n           proxy_set_header X-Real-IP $remote_addr;  <strong><span style=\"color:#ffff00\" class=\"swl-inline-color\">#\u9001\u4fe1\u5143\u30a2\u30c9\u30ec\u30b9\u30921\u3064\u683c\u7d0d<\/span><\/strong>\n           proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; <strong><span style=\"color:#ffff00\" class=\"swl-inline-color\">#\u9001\u4fe1\u5143\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u8907\u6570\u683c\u7d0d<\/span><\/strong>\n           proxy_set_header Host $host; <strong><span style=\"color:#ffff00\" class=\"swl-inline-color\">#\u30db\u30b9\u30c8\u540d<\/span><\/strong>\n           proxy_redirect off;\n           proxy_max_temp_file_size 0;\n\t   location \/ {\n             resolver 8.8.8.8; <strong><span style=\"color:#ffff00\" class=\"swl-inline-color\">#DNS\u30b5\u30fc\u30d0\uff08Google\uff09<\/span><\/strong>\n             proxy_pass http:<strong>&lt;\u30a2\u30af\u30bb\u30b9\u5148\u30a2\u30c9\u30ec\u30b9 or URL&gt;<\/strong>;\n           }\n     }\n}\n<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u90e8\u5206\u306f<strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3068\u3057\u3066\u6a5f\u80fd\u3055\u305b\u308b\u969b\u306e\u632f\u308a\u5206\u3051\u5148\u3092\u6307\u5b9a\u3059\u308bConfig<\/span><\/strong>\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>Nginx\u3092\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3067\u306f\u306a\u304f\u3001<strong>Web\u30b5\u30fc\u30d0\u3068\u3057\u3066\u5229\u7528\u3059\u308b\u5834\u5408\u306f\u8a2d\u5b9a\u4e0d\u8981<\/strong>\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n<div class=\"p-blogParts post_content\" data-partsID=\"3907\">\n<center>\n    <div class=\"product-banner-container\">\n        <div class=\"image-section\">\n            <img decoding=\"async\" src=\"https:\/\/m.media-amazon.com\/images\/I\/61vx6nq9bKL._SY385_.jpg\"  class=\"product-main-image\">\n        <\/div>\n        <div class=\"content-section\">\n            <div class=\"product-title\">\u9054\u4eba\u304c\u6559\u3048\u308bWeb\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0<\/div>\n            <div class=\"product-subtitle\">\u301cISUCON\u304b\u3089\u5b66\u3076\u9ad8\u901f\u5316\u306e\u5b9f\u8df5\u301c<\/div>\n            <div class=\"button-row\">            \n                <a href=\"https:\/\/amzn.to\/49rfsQj\" target=\"_blank\" class=\"buy-button amazon\">\n                    Amazon\u3067\u898b\u308b\n                <\/a>\n                <a href=\"\/\/af.moshimo.com\/af\/c\/click?a_id=3735106&#038;p_id=54&#038;pc_id=54&#038;pl_id=616&#038;url=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17157152%2F%3Fl-id%3Dsearch-c-item-img-01\" target=\"_blank\" class=\"buy-button rakuten\">\n                    \u697d\u5929\u3067\u898b\u308b\n                <\/a>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/center>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Step3\uff1aNginx\u306e\u518d\u8d77\u52d5\u5b9f\u65bd<\/h3>\n\n\n\n<p>Step2\u306e\u8a2d\u5b9a\u5b8c\u4e86\u5f8c\u306f\u3001\u8a2d\u5b9a\u53cd\u6620\u306e\u305f\u3081\u306e<strong>\u300c\u518d\u8d77\u52d5\uff08\u8a2d\u5b9a\u518d\u8aad\u307f\u8fbc\u307f\uff09\u300d\u3092\u5b9f\u65bd<\/strong>\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-icon_announce\"><strong><span style=\"color:#ff0000\" class=\"swl-inline-color\">\u518d\u8d77\u52d5\u306e\u5b9f\u65bd\u306b\u3088\u308b\u30a8\u30e9\u30fc\u767a\u751f\u306e\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3001\u30d6\u30ed\u30b0\u904b\u55b6\u4e2d\u306e\u5834\u5408\u306f\u5341\u5206\u306b\u6ce8\u610f\u3057\u3088\u3046\uff01<\/span><\/strong><\/p>\n\n\n\n<p>\u518d\u8d77\u52d5\u524d\u306bConfig\u30d5\u30a1\u30a4\u30eb\u306e\u6b63\u5e38\u6027\u78ba\u8a8d\u3092\u884c\u3044\u305f\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u30b3\u30de\u30f3\u30c9\u3092\u53e9\u304f\u3053\u3068\u3067\u5404\u51fa\u529b\u7d50\u679c\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code><strong><span style=\"color:#00ff00\" class=\"swl-inline-color\">\u30b3\u30de\u30f3\u30c9\uff1asudo nginx -t<\/span><\/strong>\n\n<span style=\"color:#00ffff\" class=\"swl-inline-color\">\uff08\u6210\u529f\u6642\u306e\u51fa\u529b\u7d50\u679c\uff09\nnginx: the configuration file ~~~~ syntax is ok\nnginx: configuration file ~~~~~ test is successful<\/span>\n\n<span style=\"color:#fa8072\" class=\"swl-inline-color\">\uff08\u5931\u6557\u6642\u306e\u51fa\u529b\u7d50\u679c\uff08\u4f8b\uff09\uff09\nnginx: &#91;emerg] location \"\/50x.html\" is outside location \"\/serverA_blog\/\" in nginx.conf:66\nnginx: configuration file nginx.conf test failed<\/span><\/code><\/pre>\n\n\n\n<p class=\"is-style-icon_good\"><strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u30a8\u30e9\u30fc\u304c\u51fa\u529b\u3055\u308c\u305f\u5834\u5408\u306f\u3001\u51fa\u529b\u3055\u308c\u308b\u30ed\u30b0\u3092\u3088\u304f\u8aad\u307f\u307e\u3057\u3087\u3046\uff01<\/span><\/strong><\/p>\n\n\n\n<p>\u300c<a href=\"https:\/\/amzn.to\/4datxQ1\" target=\"_blank\" rel=\"noreferrer noopener\">\u4e16\u754c\u4e00\u6d41\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u601d\u8003\u6cd5<\/a>\u300d\u306e\u8457\u8005 \u725b\u5c3e \u525b\u3055\u3093\u306e\u672c\u3067\u3082\u540c\u3058\u3053\u3068\u3092\u8a00\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u57fa\u672c\u7684\u3067\u3059\u304c\u3001\u5927\u5909\u91cd\u8981\u306a\u3053\u3068\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n<div class=\"p-blogParts post_content\" data-partsID=\"3910\">\n<center>\n    <div class=\"product-banner-container\">\n        <div class=\"image-section\">\n            <img decoding=\"async\" src=\"https:\/\/m.media-amazon.com\/images\/I\/81RO+wECc0L._SY425_.jpg\"  class=\"product-main-image\">\n        <\/div>\n        <div class=\"content-section\">\n            <div class=\"product-title\">\u4e16\u754c\u4e00\u6d41\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u601d\u8003\u6cd5<\/div>\n            <div class=\"product-subtitle\">\u301cMicrosoft\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u8a9e\u308b\u4e00\u6d41\u30a8\u30f3\u30b8\u30cb\u30a2\u3068\u306f\uff1f\u301c<\/div>\n            <div class=\"button-row\">            \n                <a href=\"https:\/\/amzn.to\/4qPQH6e\" target=\"_blank\" class=\"buy-button amazon\">\n                    Amazon\u3067\u898b\u308b\n                <\/a>\n                <a href=\"\/\/af.moshimo.com\/af\/c\/click?a_id=3735106&#038;p_id=54&#038;pc_id=54&#038;pl_id=616&#038;url=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17649922%2F%3Fl-id%3Dsearch-c-item-text-01\" target=\"_blank\" class=\"buy-button rakuten\">\n                    \u697d\u5929\u3067\u898b\u308b\n                <\/a>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/center>\n\n<\/div>\n\n\n<p>Config\u306e\u6b63\u5e38\u6027\u78ba\u8a8d\u306b\u554f\u984c\u304c\u306a\u3051\u308c\u3070\u3001\u518d\u8d77\u52d5\u3092\u5b9f\u65bd\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code>&#91;\u518d\u8d77\u52d5\u30b3\u30de\u30f3\u30c9]\n<span style=\"color:#00ff00\" class=\"swl-inline-color\"><strong>sudo systemctl restart nginx<\/strong><\/span><\/code><\/pre>\n\n\n\n<p>\u3053\u308c\u3067<strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u30a8\u30e9\u30fc\u304c\u306a\u3051\u308c\u3070\u518d\u8d77\u52d5\u5b8c\u4e86<\/span><\/strong>\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-icon_good\"><strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u30a8\u30e9\u30fc\u304c\u51fa\u529b\u3055\u308c\u305f\u5834\u5408\u306f\u3001\u51fa\u529b\u3055\u308c\u308b\u30ed\u30b0\u3092\u3088\u304f\u8aad\u307f\u307e\u3057\u3087\u3046\uff01<\/span><\/strong><\/p>\n\n\n\n<center><a href=\"\/\/af.moshimo.com\/af\/c\/click?a_id=4432788&#038;p_id=5816&#038;pc_id=16120&#038;pl_id=74570\" rel=\"nofollow noopener\" target=\"_blank\" referrerpolicy=\"no-referrer-when-downgrade\"><img decoding=\"async\" src=\"\/\/image.moshimo.com\/af-img\/5518\/000000074570.png\" width=\"300\" height=\"250\" style=\"border:none;\"><\/a><img decoding=\"async\" src=\"\/\/i.moshimo.com\/af\/i\/impression?a_id=4432788&#038;p_id=5816&#038;pc_id=16120&#038;pl_id=74570\" width=\"1\" height=\"1\" style=\"border:none;\"><\/center>\n\n\n\n<div class=\"swell-block-button blue_ is-style-btn_line\"><a href=\"\/\/af.moshimo.com\/af\/c\/click?a_id=4432788&amp;p_id=5816&amp;pc_id=16120&amp;pl_id=74570\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"swell-block-button__link\"><span>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3076\u306b\u306f\u300cNINJA CODE\u300d<\/span><\/a><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u2461\u81ea\u5b85\u3068EC2\u3092\u7d50\u3076VPN\u306e\u69cb\u7bc9<\/h2>\n\n\n\n<p>Nginx\u306e\u8a2d\u5b9a\u5f8c\u306f\u3001OpenVPN\u306b\u3088\u308bVPN\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u3001<strong>OpenVPN\u3092\u63a1\u7528\u3057\u305f\u7406\u7531\u306f<span style=\"color:#0000ff\" class=\"swl-inline-color\"><span class=\"swl-marker mark_blue\">\u300c\u7121\u6599\u3067\u5229\u7528\u3067\u304d\u308b\u300d<\/span><\/span>\u304b\u3089<\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3082\u3061\u308d\u3093\u3001\u5b89\u5168\u6027\u304c\u9ad8\u3044\u70b9\u3082\u7406\u7531\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057\u3001\u8106\u5f31\u6027\u304c\u5ea6\u3005\u767a\u898b\u3055\u308c\u308b\u306e\u3067\u516c\u5f0f\u30b5\u30a4\u30c8\u7b49\u306f\u30c1\u30a7\u30c3\u30af\u3057\u3001Work Around\uff08\u89e3\u6c7a\u7b56\uff09\u3092\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step1\uff1aOpenVPN\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n\n\n\n<p>\u6700\u521d\u306b\u3084\u308b\u3053\u3068\u306f\u3001<strong><span style=\"color:#008000\" class=\"swl-inline-color\">\u300cEC2\u306bOpenVPN\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300d<\/span><\/strong>\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code><strong><span style=\"color:#00ff00\" class=\"swl-inline-color\">sudo apt install openvpn easy-rsa<\/span><\/strong><\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3067\u306f<strong>\u300cOpenVPN\u300d<\/strong>\u3068<strong>\u300ceasy-rsa\u300d<\/strong>\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u300ceasy-rsa\u300d<\/strong>\u3068\u306f\u3001<strong><span style=\"color:#008000\" class=\"swl-inline-color\">OpenVPN\u7528\u306e\u8a3c\u660e\u66f8\u3092\u767a\u884c\u3059\u308b\u305f\u3081\u306e\u30c4\u30fc\u30eb<\/span><\/strong>\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-icon_good\"><strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u8a8d\u8a3c\u5c40\u306f\u5225\u306e\u30b5\u30fc\u30d0\u306b\u69cb\u7bc9\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd<\/span><\/strong><\/p>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u3001\u6b21\u306fVPN\u30b5\u30fc\u30d0\uff08EC2\uff09\u306e\u8a2d\u5b9a\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<center>\n    <div class=\"product-banner-container\">\n        <div class=\"image-section\">\n            <img decoding=\"async\" src=\"https:\/\/m.media-amazon.com\/images\/I\/8155pZ2RCRL._SY385_.jpg\"  class=\"product-main-image\">\n        <\/div>\n        <div class=\"content-section\">\n            <div class=\"product-title\">\u30b5\u30fc\u30d0\/\u30a4\u30f3\u30d5\u30e9\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u57fa\u672c\u304c\u3053\u308c1\u518a\u3067\u3057\u3063\u304b\u308a\u8eab\u306b\u3064\u304f\u672c<\/div>\n            <div class=\"product-subtitle\">\u301c\u30b5\u30fc\u30d0\/\u30a4\u30f3\u30d5\u30e9\u306e\u904b\u7528\u30fb\u7ba1\u7406\u306a\u3069\u306b\u643a\u308f\u308b\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u3068\u3063\u3066\u5fc5\u8981\u306a\u6280\u8853\u3084\u77e5\u8b58\u3092\u57fa\u672c\u304b\u3089\u89e3\u8aac\u3057\u305f1\u518a\u301c<\/div>\n            <div class=\"button-row\">            \n                <a href=\"https:\/\/amzn.to\/4nKdWw4\" target=\"_blank\" class=\"buy-button amazon\">\n                    Amazon\u3067\u898b\u308b\n                <\/a>\n                <a href=\"\/\/af.moshimo.com\/af\/c\/click?a_id=3735106&#038;p_id=54&#038;pc_id=54&#038;pl_id=616&#038;url=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F16595752%2F%3Fl-id%3Dsearch-c-item-img-01\" target=\"_blank\" class=\"buy-button rakuten\">\n                    \u697d\u5929\u3067\u898b\u308b\n                <\/a>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/center>\n\n\n\n<h3 class=\"wp-block-heading\">Step2\uff1aeasy-rsa\u306b\u3088\u308bVPN\u8a8d\u8a3c\u5c40\u306e\u69cb\u7bc9<\/h3>\n\n\n\n<p>\u6b21\u306b\u5b9f\u65bd\u3059\u308b\u3053\u3068\u306f\u3001<strong><span style=\"color:#008000\" class=\"swl-inline-color\">\u300cVPN\u8a8d\u8a3c\u5c40\u306e\u69cb\u7bc9\u300d<\/span><\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-icon_good\"><strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u8a8d\u8a3c\u5c40\u306f\u5225\u306e\u30b5\u30fc\u30d0\u306b\u69cb\u7bc9\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd<\/span><\/strong><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step2-1\uff1a\u8a8d\u8a3c\u5c40\u306e\u521d\u671f\u5316\uff08\u8a8d\u8a3c\u5c40\u30b5\u30fc\u30d0\uff09<\/h4>\n\n\n\n<p>VPN\u74b0\u5883\u306b\u5fc5\u8981\u306a\u8a8d\u8a3c\u5c40\u306e\u521d\u671f\u5316\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">VPN\u306e\u8a8d\u8a3c\u5c40<\/span><\/strong>\u3068\u306f\u3001 <strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u300c\u30c7\u30b8\u30bf\u30eb\u8a3c\u660e\u66f8\u3092\u767a\u884c\u3059\u308b\u4fe1\u983c\u6027\u306e\u9ad8\u3044\u7d44\u7e54\u30fb\u30b5\u30fc\u30d0\u300d<\/span><\/strong>\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u8a8d\u8a3c\u5c40\u3068\u306a\u308b\u30b5\u30fc\u30d0\u306f\u3001<strong>VPN\u3092\u69cb\u7bc9\u3059\u308b\u30b5\u30fc\u30d0\u3068\u306f\u5225\u306e\u65b9\u304c\u5b89\u5168\u6027\u304c\u9ad8\u3044<\/strong>\u3068\u3044\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u8a8d\u8a3c\u5c40\u306e\u521d\u671f\u5316\u306f\u3001\u4ee5\u4e0b\u30b3\u30de\u30f3\u30c9\u3067\u5b9f\u65bd\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code># cd \/usr\/share\/easy-rsa\/3 <span style=\"color:#ffff00\" class=\"swl-inline-color\"><strong>#\u3053\u3053\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u3084OS\u306b\u3088\u308a\u7570\u306a\u308b<\/strong><\/span>\n<strong>easyrsa<\/strong>  openssl-easyrsa.cnf  vars.example  x509-types \n<strong><span style=\"color:#ffff00\" class=\"swl-inline-color\">#easyrsa\u304c\u3042\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u5b9f\u884c<\/span><\/strong>\n# <strong><span style=\"color:#00ff00\" class=\"swl-inline-color\">.\/easyrsa init-pki<\/span><\/strong> <strong><span style=\"color:#ffff00\" class=\"swl-inline-color\">#sudo\u30b3\u30de\u30f3\u30c9\u304c\u5fc5\u8981\u306a\u5834\u5408\u3082\u3042\u308b<\/span><\/strong>\n\ninit-pki complete; you may now create a CA or requests.\nYour newly created PKI dir is: \/usr\/share\/easy-rsa\/3.0.3\/pki<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Step2-2\uff1a\u8a8d\u8a3c\u5c40\u306e\u8a2d\u5b9a\uff08\u8a8d\u8a3c\u5c40\u30b5\u30fc\u30d0\uff09<\/h4>\n\n\n\n<p>\u8a8d\u8a3c\u5c40\u306e\u521d\u671f\u5316\u3092\u7d42\u3048\u305f\u3042\u3068\u306f\u3001\u4ee5\u4e0b\u306e\u51fa\u529b\u30ed\u30b0\u3001\u30b3\u30de\u30f3\u30c9\u306e\u3088\u3046\u306b\u8a8d\u8a3c\u5c40\u306e\u8a2d\u5b9a\u3092\u5b9f\u65bd\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u969b\u3001<strong>\u8a2d\u5b9a\u306b\u5fc5\u8981\u306a\u8cea\u554f\u304c\u9806\u6b21\u51fa\u529b\u3055\u308c\u308b\u305f\u3081\u3001\u5404\u7a2e\u5165\u529b\u304c\u5fc5\u8981<\/strong>\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code><span style=\"color:#00ff00\" class=\"swl-inline-color\"><strong> .\/easyrsa build-ca<\/strong><\/span>\n\nUsing SSL: openssl OpenSSL 1.1.1w  11 Sep 2023\n\nEnter New CA Key Passphrase:<strong><span style=\"color:#00ffff\" class=\"swl-inline-color\">\uff08\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\uff09<\/span><\/strong><span style=\"color:#ffff00\" class=\"swl-inline-color\"><strong>#CA\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\uff08\u6f0f\u6d29\u53b3\u7981\uff09<\/strong><\/span>\nRe-Enter New CA Key Passphrase:<strong><span style=\"color:#00ffff\" class=\"swl-inline-color\">\uff08\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\uff09<\/span><span style=\"color:#ffff00\" class=\"swl-inline-color\">#CA\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\uff08\u6f0f\u6d29\u53b3\u7981\uff09<\/span><\/strong>\nGenerating RSA private key, 2048 bit long modulus (2 primes)\n.........+++++\n.......................+++++\ne is 65537 (0x010001)\nYou are about to be asked to enter information that will be incorporated\ninto your certificate request.\nWhat you are about to enter is what is called a Distinguished Name or a DN.\nThere are quite a few fields but you can leave some blank\nFor some fields there will be a default value,\nIf you enter '.', the field will be left blank.\n-----\nCommon Name (eg: your user, host, or server name) &#91;Easy-RSA CA]:<strong><span style=\"color:#00ffff\" class=\"swl-inline-color\">Test_CA<\/span><\/strong> <strong><span style=\"color:#ffff00\" class=\"swl-inline-color\">#CA\u306e\u540d\u524d<\/span><\/strong>\n\nCA creation complete and you may now import and sign cert requests.\nYour new CA certificate file for publishing is at:\n<strong><span style=\"color:#ff1493\" class=\"swl-inline-color\">\/usr\/share\/easy-rsa\/pki\/ca.crt<\/span><\/strong> <strong><span style=\"color:#ffff00\" class=\"swl-inline-color\">#CA\u304c\u767a\u884c\u3057\u305f\u8a3c\u660e\u66f8\u306e\u4fdd\u7ba1\u5834\u6240<\/span><\/strong><\/code><\/pre>\n\n\n\n<p>\u4e0a\u8a18\u3092\u5b8c\u4e86\u3055\u305b\u308b\u3068\u8a8d\u8a3c\u5c40\u306e\u9375\u3068\u306a\u308b\u300cca.key\u300d\u3068\u8a3c\u660e\u66f8\u306e\u300cca.crt\u300d\u304c\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\uff12\u3064\u306e\u8a3c\u660e\u66f8\u3092VPN\u30b5\u30fc\u30d0\u3068\u3059\u308b\u30b5\u30fc\u30d0\u306e\u300c\/etc\/openvpn\u300d\u914d\u4e0b\u306b\u79fb\u52d5\u3055\u305b\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-icon_announce\"><strong><span style=\"color:#ff0000\" class=\"swl-inline-color\">\u300cca.key\u300d\u3068\u300cca.crt\u300d\u306e\u60c5\u5831\u6f0f\u6d29\u306b\u306f\u5341\u5206\u306b\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\uff01<\/span><\/strong><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step2-3\uff1aTLS\u9375\u306e\u751f\u6210\uff08\u8a8d\u8a3c\u5c40\u30b5\u30fc\u30d0 or VPN\u30b5\u30fc\u30d0\uff09<\/h4>\n\n\n\n<p>\u8a8d\u8a3c\u5c40\u306e\u8a2d\u5b9a\u3092\u7d42\u3048\u305f\u5f8c\u306f\u3001<strong>\u300cTLS\u9375\u306e\u751f\u6210\u300d\u3092\u5b9f\u65bd<\/strong>\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067<strong>TLS\u9375\uff08ta.key\uff09\u304c\u751f\u6210\u3055\u308c\u3001\u751f\u6210\u5f8c\u306f\u305d\u306e\u9375\u3092VPN\u30b5\u30fc\u30d0\u3068\u3059\u308b\u30b5\u30fc\u30d0\u306e\u300c\/etc\/openvpn\u300d\u914d\u4e0b\u306b\u79fb\u52d5<\/strong>\u3055\u305b\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code><strong><span style=\"color:#00ff00\" class=\"swl-inline-color\">openvpn --genkey --secret ta.key<\/span><\/strong><\/code><\/pre>\n\n\n\n<p class=\"is-style-icon_announce\"><strong><span style=\"color:#ff0000\" class=\"swl-inline-color\">\u300cta.key\u300d\u306e\u60c5\u5831\u6f0f\u6d29\u306b\u306f\u5341\u5206\u306b\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\uff01<\/span><\/strong><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step2-4\uff1aDH\u9375\u306e\u751f\u6210\uff08\u8a8d\u8a3c\u5c40\u30b5\u30fc\u30d0\uff09<\/h4>\n\n\n\n<p>\u6700\u5f8c\u306b\u5b9f\u65bd\u3059\u308b\u306e\u306f\u300cDH\u9375\u306e\u751f\u6210\u300d\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u9375\u306e\u751f\u6210\u306b\u306f\u4ee5\u4e0b\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code><strong><span style=\"color:#00ff00\" class=\"swl-inline-color\">.\/easyrsa gen-dh<\/span><\/strong><\/code><\/pre>\n\n\n\n<p>\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u5f8c\u306f\u30ed\u30b0\u304c\u5927\u91cf\u306b\u51fa\u529b\u3055\u308c\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u4e0b\u8a18\u306e\u30ed\u30b0\u306e\u3088\u3046\u306a\u51fa\u529b\u306b\u306a\u308c\u3070\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code>Using SSL: openssl OpenSSL 1.1.1w  11 Sep 2023\nGenerating DH parameters, 2048 bit long safe prime, generator 2\nThis is going to take a long time\n...............................................................................+...........................................................+............................................+.....+...........................................................................................................................................................+.........+...............................................................................................................................................................................................................................................................\n...........+....+.......................................+................................................................+.................................................................................+...................+.................................................................................................+...........................................................................+.............................................................................................++*++*++*++*\n\n<strong>DH parameters of size 2048 created at \/usr\/share\/easy-rsa\/pki\/dh.pem<\/strong> <strong><span style=\"color:#ffff00\" class=\"swl-inline-color\">#DH\u9375\u306e\u4fdd\u7ba1\u5834\u6240<\/span><\/strong><\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step2-5\uff1aVPN\u30b5\u30fc\u30d0\u5411\u3051\u306e\u9375\u30fb\u8a3c\u660e\u66f8\u4f5c\u6210\uff08\u8a8d\u8a3c\u5c40\u30b5\u30fc\u30d0\uff09<\/h3>\n\n\n\n<p>VPN\u30b5\u30fc\u30d0\u306e\u8d77\u52d5\u524d\u306b\u5fc5\u8981\u306a\u9375\u3068\u8a3c\u660e\u66f8\u306e\u4f5c\u6210\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u4ee5\u4e0b\u3067\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code><span style=\"color:#00ff00\" class=\"swl-inline-color\"><strong>sudo .\/easyrsa build-server-full server nopass<\/strong><\/span><\/code><\/pre>\n\n\n\n<p>\u4e0a\u8a18\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u5f8c\u3001\u4ee5\u4e0b\u30ed\u30b0\u304c\u51fa\u529b\u3055\u308c\u308b\u305f\u3081\u3001\u5404\u7a2e\u5165\u529b\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code><span style=\"color:#00ff00\" class=\"swl-inline-color\"> sudo .\/easyrsa build-server-full server nopass<\/span>\n\n* Notice:\nUsing Easy-RSA configuration from: \/usr\/share\/easy-rsa\/pki\/vars\n\n* Notice:\nUsing SSL: openssl OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024)\n\n.+.........+.................+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+...+......+...........+.+...+......+...+........+...+.........+...+.......+..+....+......+......+........+....+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+...+......+.+...+...........+...+.+..+....+.........+..........................+...+.......+.............................+......+.+.........+.........+............+...+.....+....+..+.+..+............+..........+......+..+...+.......+..+....+...........+......+....+.....+...+..........+...+...+..+...+....+..................+.........+.....+...+..........+..+.........+.........+.+..+.............+......+...+.....+.+......+...+..+....+......+.....+.+...............+........+.+.........+.....+.......+..+.......+.........+..+...+....+.....+...............+......+......+..........+......+..+.......+...+......+..+.........+...+.+........................+...+..+...+....+........+......+......+....+.........+........+.........+.........+.......+..+.+...........+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n..+....+...+...+........+.........+...+..........+............+..+....+............+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...........+.....+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+........+......+......+...+.............+.........+...+..+.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n-----\n* Notice:\n\nKeypair and certificate request completed. Your files are:\nreq: \/usr\/share\/easy-rsa\/pki\/reqs\/server1.req\nkey: \/usr\/share\/easy-rsa\/pki\/private\/server1.key\n\n\nYou are about to sign the following certificate.\nPlease check over the details shown below for accuracy. Note that this request\nhas not been cryptographically verified. Please be sure it came from a trusted\nsource or that you have verified the request checksum with the sender.\n\nRequest subject, to be signed as a server certificate for 825 days:\n\nsubject=\n    commonName                = server1\n\n\nType the word 'yes' to continue, or any other input to abort.\n  Confirm request details: yes\n\nUsing configuration from \/usr\/share\/easy-rsa\/pki\/9b2746c9\/temp.58dfc581\nEnter pass phrase for \/usr\/share\/easy-rsa\/pki\/private\/ca.key:\nCheck that the request matches the signature\nSignature ok\nThe Subject's Distinguished Name is as follows\ncommonName            :ASN.1 12:'server1'\nCertificate is to be certified until Dec 27 08:17:20 2026 GMT (825 days)\n\nWrite out database with 1 new entries\nDatabase updated\n\n* Notice:\nCertificate created at: \/usr\/share\/easy-rsa\/pki\/issued\/server1.crt\n<\/code><\/pre>\n\n\n\n<p>\u3053\u3053\u3067<strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u4eca\u307e\u3067\u4f5c\u6210\u3057\u305f\u9375\u3084\u8a3c\u660e\u66f8\u3092VPN\u30b5\u30fc\u30d0\u306e\u300c\/etc\/openvpn\u300d\u914d\u4e0b\u306b\u8ee2\u9001\u30fb\u79fb\u52d5<\/span><\/strong>\u3055\u305b\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-icon_bad\"><strong><span style=\"color:#ff0000\" class=\"swl-inline-color\">\u4eca\u307e\u3067\u4f5c\u6210\u3057\u305f\u9375\u3068\u8a3c\u660e\u66f8\u3092\u5fc5\u305aVPN\u30b5\u30fc\u30d0\u306e\u300c\/etc\/openvpn\u300d\u914d\u4e0b\u306b\u8ee2\u9001\u3057\u307e\u3057\u3087\u3046<\/span><\/strong><\/p>\n\n\n<div class=\"p-blogParts post_content\" data-partsID=\"3913\">\n<center>\n    <div class=\"product-banner-container\">\n        <div class=\"image-section\">\n            <img decoding=\"async\" src=\"https:\/\/m.media-amazon.com\/images\/I\/71nmgH6q52L._SY385_.jpg\"  class=\"product-main-image\">\n        <\/div>\n        <div class=\"content-section\">\n            <div class=\"product-title\">Web\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u62c5\u5f53\u8005\u306e\u305f\u3081\u306e\u8106\u5f31\u6027\u8a3a\u65ad\u30b9\u30bf\u30fc\u30c8\u30ac\u30a4\u30c9<\/div>\n            <div class=\"product-subtitle\">\u301c\u4e0a\u91ce\u5ba3\u304c\u6559\u3048\u308b\u65b0\u3057\u3044\u60c5\u5831\u6f0f\u3048\u3044\u3092\u9632\u3050\u6280\u8853\u301c<\/div>\n            <div class=\"button-row\">            \n                <a href=\"https:\/\/amzn.to\/3LrB1pO\" target=\"_blank\" class=\"buy-button amazon\">\n                    Amazon\u3067\u898b\u308b\n                <\/a>\n                <a href=\"\/\/af.moshimo.com\/af\/c\/click?a_id=3735106&#038;p_id=54&#038;pc_id=54&#038;pl_id=616&#038;url=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F15768171%2F%3Fl-id%3Dsearch-c-item-img-01\" target=\"_blank\" class=\"buy-button rakuten\">\n                    \u697d\u5929\u3067\u898b\u308b\n                <\/a>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/center>\n\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Step3\uff1aVPN\u30b5\u30fc\u30d0\u306e\u8a2d\u5b9a<\/h3>\n\n\n\n<p>Step2\u306e\u6b21\u306b\u3084\u308b\u3053\u3068\u306f\u3001<strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u300cVPN\u30b5\u30fc\u30d0\u306e\u8a2d\u5b9a\u300d<\/span><\/strong>\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step3-1\uff1aVPN\u30b5\u30fc\u30d0\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<\/h4>\n\n\n\n<p>\u30b5\u30fc\u30d0\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f<strong>\u300c\/etc\/openvpn\/server.conf\u300d<\/strong>\u306b\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-icon_pen\"><strong>\u4ee5\u4e0bConfig\u306e\u5185\u5bb9\u306f\u30b3\u30d4\u30da\u3067\u5229\u7528\u53ef\u80fd\uff01<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code>#################################################\n# Sample OpenVPN 2.0 config file for            #\n# multi-client server.                          #\n#                                               #\n# This file is for the server side              #\n# of a many-clients &lt;-&gt; one-server              #\n# OpenVPN configuration.                        #\n#                                               #\n# OpenVPN also supports                         #\n# single-machine &lt;-&gt; single-machine             #\n# configurations (See the Examples page         #\n# on the web site for more info).               #\n#                                               #\n# This config should work on Windows            #\n# or Linux\/BSD systems.  Remember on            #\n# Windows to quote pathnames and use            #\n# double backslashes, e.g.:                     #\n# \"C:\\\\Program Files\\\\OpenVPN\\\\config\\\\foo.key\" #\n#                                               #\n# Comments are preceded with '#' or ';'         #\n#################################################\n\n# Which local IP address should OpenVPN\n# listen on? (optional)\n;local a.b.c.d\n\n# Which TCP\/UDP port should OpenVPN listen on?\n# If you want to run multiple OpenVPN instances\n# on the same machine, use a different port\n# number for each one.  You will need to\n# open up this port on your firewall.\n<strong><span style=\"color:#00ff00\" class=\"swl-inline-color\">port 1194<\/span><\/strong> <strong><span style=\"color:#ffff00\" class=\"swl-inline-color\">#VPN\u3067\u5229\u7528\u3059\u308b\u30dd\u30fc\u30c8\u756a\u53f7\u306e\u6307\u5b9a<\/span><\/strong>\n\n# TCP or UDP server?\n<strong><span style=\"color:#00ff00\" class=\"swl-inline-color\">;proto tcp\nproto udp<\/span><\/strong> <strong><span style=\"color:#ffff00\" class=\"swl-inline-color\">#TCP\/UDP\u3069\u3061\u3089\u3092\u5229\u7528\u3059\u308b\u304b\u6307\u5b9a<\/span><\/strong>\n\n# \"dev tun\" will create a routed IP tunnel,\n# \"dev tap\" will create an ethernet tunnel.\n# Use \"dev tap0\" if you are ethernet bridging\n# and have precreated a tap0 virtual interface\n# and bridged it with your ethernet interface.\n# If you want to control access policies\n# over the VPN, you must create firewall\n# rules for the the TUN\/TAP interface.\n# On non-Windows systems, you can give\n# an explicit unit number, such as tun0.\n# On Windows, use \"dev-node\" for this.\n# On most systems, the VPN will not function\n# unless you partially or fully disable\n# the firewall for the TUN\/TAP interface.\n;dev tap\n<strong><span style=\"color:#00ff00\" class=\"swl-inline-color\">dev tun<\/span><\/strong> <strong><span style=\"color:#ffff00\" class=\"swl-inline-color\">#tun\u306fIP\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306b\u3088\u308b\u63a5\u7d9a\u30fbtap\u306fL2NW\u306b\u3088\u308b\u63a5\u7d9a<\/span><\/strong>\n\n# Windows needs the TAP-Win32 adapter name\n# from the Network Connections panel if you\n# have more than one.  On XP SP2 or higher,\n# you may need to selectively disable the\n# Windows firewall for the TAP adapter.\n# Non-Windows systems usually don't need this.\n;dev-node MyTap\n\n# SSL\/TLS root certificate (ca), certificate\n# (cert), and private key (key).  Each client\n# and the server must have their own cert and\n# key file.  The server and all clients will\n# use the same ca file.\n#\n# See the \"easy-rsa\" directory for a series\n# of scripts for generating RSA certificates\n# and private keys.  Remember to use\n# a unique Common Name for the server\n# and each of the client certificates.\n#\n# Any X509 key management system can be used.\n# OpenVPN can also use a PKCS #12 formatted key file\n# (see \"pkcs12\" directive in man page).\n<strong><span style=\"color:#00ff00\" class=\"swl-inline-color\">ca ca.crt <\/span><span style=\"color:#ffff00\" class=\"swl-inline-color\">#Step2\u3067\u4f5c\u6210\u3057\u305fca\u8a3c\u660e\u66f8\u306e\u6307\u5b9a\uff08\u4fdd\u5b58\u5834\u6240\u306e\u30d1\u30b9\u6307\u5b9a\uff09<\/span><span style=\"color:#00ff00\" class=\"swl-inline-color\">\ncert server.crt\u3000<\/span><span style=\"color:#ffff00\" class=\"swl-inline-color\">#Step3-1\u3067\u4f5c\u6210\u3057\u305f\u30b5\u30fc\u30d0\u8a3c\u660e\u66f8\u306e\u6307\u5b9a\uff08\u4fdd\u5b58\u5834\u6240\u306e\u30d1\u30b9\u6307\u5b9a\uff09<\/span><span style=\"color:#00ff00\" class=\"swl-inline-color\">\nkey server.key <\/span><\/strong> <strong><span style=\"color:#ffff00\" class=\"swl-inline-color\">#Step3-1\u3067\u4f5c\u6210\u3057\u305f\u30b5\u30fc\u30d0\u5074\u306e\u9375\u6307\u5b9a\uff08\u4fdd\u5b58\u5834\u6240\u306e\u30d1\u30b9\u6307\u5b9a\uff09<\/span><\/strong>\n\n# Diffie hellman parameters.\n# Generate your own with:\n#   openssl dhparam -out dh2048.pem 2048\n<strong><span style=\"color:#00ff00\" class=\"swl-inline-color\">dh dh.pem<\/span><\/strong> <strong><span style=\"color:#ffff00\" class=\"swl-inline-color\">#Step2\u3067\u4f5c\u6210\u3057\u305fDH\u9375\u306e\u6307\u5b9a\uff08\u4fdd\u5b58\u5834\u6240\u306e\u30d1\u30b9\u6307\u5b9a\uff09<\/span><\/strong>\n\n# Network topology\n# Should be subnet (addressing via IP)\n# unless Windows clients v2.0.9 and lower have to\n# be supported (then net30, i.e. a \/30 per client)\n# Defaults to net30 (not recommended)\n;topology subnet\n\n# Configure server mode and supply a VPN subnet\n# for OpenVPN to draw client addresses from.\n# The server will take 10.8.0.1 for itself,\n# the rest will be made available to clients.\n# Each client will be able to reach the server\n# on 10.8.0.1. Comment this line out if you are\n# ethernet bridging. See the man page for more info.\n<span style=\"color:#00ff00\" class=\"swl-inline-color\"><strong>server 10.8.0.0 255.255.255.0<\/strong><\/span> <strong><span style=\"color:#ffff00\" class=\"swl-inline-color\">#VPN\u3067\u5229\u7528\u3059\u308bIP\u30a2\u30c9\u30ec\u30b9\u30ec\u30f3\u30b8\u306e\u6307\u5b9a\uff08\u5de6\u8a18\u306e\u5834\u5408\u300110.8.0.0\/24\u304b\u3089\u5229\u7528\uff09<\/span><\/strong>\n\n# Maintain a record of client &lt;-&gt; virtual IP address\n# associations in this file.  If OpenVPN goes down or\n# is restarted, reconnecting clients can be assigned\n# the same virtual IP address from the pool that was\n# previously assigned.\nifconfig-pool-persist \/var\/log\/openvpn\/ipp.txt\n\n# Configure server mode for ethernet bridging.\n# You must first use your OS's bridging capability\n# to bridge the TAP interface with the ethernet\n# NIC interface.  Then you must manually set the\n# IP\/netmask on the bridge interface, here we\n# assume 10.8.0.4\/255.255.255.0.  Finally we\n# must set aside an IP range in this subnet\n# (start=10.8.0.50 end=10.8.0.100) to allocate\n# to connecting clients.  Leave this line commented\n# out unless you are ethernet bridging.\n;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100\n\n# Configure server mode for ethernet bridging\n# using a DHCP-proxy, where clients talk\n# to the OpenVPN server-side DHCP server\n# to receive their IP address allocation\n# and DNS server addresses.  You must first use\n# your OS's bridging capability to bridge the TAP\n# interface with the ethernet NIC interface.\n# Note: this mode only works on clients (such as\n# Windows), where the client-side TAP adapter is\n# bound to a DHCP client.\n;server-bridge\n\n# Push routes to the client to allow it\n# to reach other private subnets behind\n# the server.  Remember that these\n# private subnets will also need\n# to know to route the OpenVPN client\n# address pool (10.8.0.0\/255.255.255.0)\n# back to the OpenVPN server.\n;push \"route 192.168.10.0 255.255.255.0\"\n;push \"route 192.168.20.0 255.255.255.0\"\n\n# To assign specific IP addresses to specific\n# clients or if a connecting client has a private\n# subnet behind it that should also have VPN access,\n# use the subdirectory \"ccd\" for client-specific\n# configuration files (see man page for more info).\n\n# EXAMPLE: Suppose the client\n# having the certificate common name \"Thelonious\"\n# also has a small subnet behind his connecting\n# machine, such as 192.168.40.128\/255.255.255.248.\n# First, uncomment out these lines:\n;client-config-dir ccd\n;route 192.168.40.128 255.255.255.248\n# Then create a file ccd\/Thelonious with this line:\n#   iroute 192.168.40.128 255.255.255.248\n# This will allow Thelonious' private subnet to\n# access the VPN.  This example will only work\n# if you are routing, not bridging, i.e. you are\n# using \"dev tun\" and \"server\" directives.\n\n# EXAMPLE: Suppose you want to give\n# Thelonious a fixed VPN IP address of 10.9.0.1.\n# First uncomment out these lines:\n;client-config-dir ccd\n;route 10.9.0.0 255.255.255.252\n# Then add this line to ccd\/Thelonious:\n#   ifconfig-push 10.9.0.1 10.9.0.2\n\n# Suppose that you want to enable different\n# firewall access policies for different groups\n# of clients.  There are two methods:\n# (1) Run multiple OpenVPN daemons, one for each\n#     group, and firewall the TUN\/TAP interface\n#     for each group\/daemon appropriately.\n# (2) (Advanced) Create a script to dynamically\n#     modify the firewall in response to access\n#     from different clients.  See man\n#     page for more info on learn-address script.\n;learn-address .\/script\n\n# If enabled, this directive will configure\n# all clients to redirect their default\n# network gateway through the VPN, causing\n# all IP traffic such as web browsing and\n# and DNS lookups to go through the VPN\n# (The OpenVPN server machine may need to NAT\n# or bridge the TUN\/TAP interface to the internet\n# in order for this to work properly).\n;push \"redirect-gateway def1 bypass-dhcp\"\n\n# Certain Windows-specific network settings\n# can be pushed to clients, such as DNS\n# or WINS server addresses.  CAVEAT:\n# http:\/\/openvpn.net\/faq.html#dhcpcaveats\n# The addresses below refer to the public\n# DNS servers provided by opendns.com.\n;push \"dhcp-option DNS 208.67.222.222\"\n;push \"dhcp-option DNS 208.67.220.220\"\n\n# Uncomment this directive to allow different\n# clients to be able to \"see\" each other.\n# By default, clients will only see the server.\n# To force clients to only see the server, you\n# will also need to appropriately firewall the\n# server's TUN\/TAP interface.\n<strong><span style=\"color:#00ff00\" class=\"swl-inline-color\">client-to-client<\/span><\/strong> <strong><span style=\"color:#ffff00\" class=\"swl-inline-color\">#\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u540c\u58eb\u306e\u901a\u4fe1\u3092\u53ef\u80fd\u3068\u3059\u308b\u8a2d\u5b9a<\/span><\/strong>\n\n# Uncomment this directive if multiple clients\n# might connect with the same certificate\/key\n# files or common names.  This is recommended\n# only for testing purposes.  For production use,\n# each client should have its own certificate\/key\n# pair.\n#\n# IF YOU HAVE NOT GENERATED INDIVIDUAL\n# CERTIFICATE\/KEY PAIRS FOR EACH CLIENT,\n# EACH HAVING ITS OWN UNIQUE \"COMMON NAME\",\n# UNCOMMENT THIS LINE OUT.\n;duplicate-cn\n\n# The keepalive directive causes ping-like\n# messages to be sent back and forth over\n# the link so that each side knows when\n# the other side has gone down.\n# Ping every 10 seconds, assume that remote\n# peer is down if no ping received during\n# a 120 second time period.\nkeepalive 10 120\n\n# For extra security beyond that provided\n# by SSL\/TLS, create an \"HMAC firewall\"\n# to help block DoS attacks and UDP port flooding.\n#\n# Generate with:\n#   openvpn --genkey tls-auth ta.key\n#\n# The server and each client must have\n# a copy of this key.\n# The second parameter should be '0'\n# on the server and '1' on the clients.\n<strong><span style=\"color:#00ff00\" class=\"swl-inline-color\">tls-auth ta.key 0<\/span><\/strong> <strong><span style=\"color:#ffff00\" class=\"swl-inline-color\">#Step2\u3067\u751f\u6210\u3057\u305fta.key\u306e\u6307\u5b9a\uff08\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306e\u6307\u5b9a\uff09<\/span><\/strong>\n\n# Select a cryptographic cipher.\n# This config item must be copied to\n# the client config file as well.\n# Note that v2.4 client\/server will automatically\n# negotiate AES-256-GCM in TLS mode.\n# See also the ncp-cipher option in the manpage\ncipher AES-256-GCM\n\n# Enable compression on the VPN link and push the\n# option to the client (v2.4+ only, for earlier\n# versions see below)\n;compress lz4-v2\n;push \"compress lz4-v2\"\n\n# For compression compatible with older clients use comp-lzo\n# If you enable it here, you must also\n# enable it in the client config file.\n;comp-lzo\n\n# The maximum number of concurrently connected\n# clients we want to allow.\n;max-clients 100\n\n# It's a good idea to reduce the OpenVPN\n# daemon's privileges after initialization.\n#\n# You can uncomment this out on\n# non-Windows systems.\n;user nobody\n;group nogroup\n\n# The persist options will try to avoid\n# accessing certain resources on restart\n# that may no longer be accessible because\n# of the privilege downgrade.\npersist-key\npersist-tun\n\n# Output a short status file showing\n# current connections, truncated\n# and rewritten every minute.\nstatus \/var\/log\/openvpn\/openvpn-status.log\n\n# By default, log messages will go to the syslog (or\n# on Windows, if running as a service, they will go to\n# the \"\\Program Files\\OpenVPN\\log\" directory).\n# Use log or log-append to override this default.\n# \"log\" will truncate the log file on OpenVPN startup,\n# while \"log-append\" will append to it.  Use one\n# or the other (but not both).\n;log         \/var\/log\/openvpn\/openvpn.log\n;log-append  \/var\/log\/openvpn\/openvpn.log\n\n# Set the appropriate level of log\n# file verbosity.\n#\n# 0 is silent, except for fatal errors\n# 4 is reasonable for general usage\n# 5 and 6 can help to debug connection problems\n# 9 is extremely verbose\nverb 3\n\n# Silence repeating messages.  At most 20\n# sequential messages of the same message\n# category will be output to the log.\n;mute 20\n\n# Notify the client that when the server restarts so it\n# can automatically reconnect.\nexplicit-exit-notify 1<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Step3-2\uff1aVPN\u30b5\u30fc\u30d0\u306e\u8d77\u52d5<\/h4>\n\n\n\n<p>VPN\u30b5\u30fc\u30d0\u306e\u8a2d\u5b9a\u5f8c\u306f\u3001<strong>\u300cVPN\u30b5\u30fc\u30d0\u306e\u8d77\u52d5\u300d<\/strong>\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u8d77\u52d5\u81ea\u4f53\u306f\u4ee5\u4e0b<strong>\uff12\u3064\u306e\u30b3\u30de\u30f3\u30c9\u3069\u3061\u3089\u304b\u306b\u3088\u308b\u8d77\u52d5\u304c\u53ef\u80fd<\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code><span style=\"color:#00ff00\" class=\"swl-inline-color\">sudo systemctl start openvpn@server<\/span>\n<span style=\"color:#00ff00\" class=\"swl-inline-color\">sudo systemctl start openvpn<\/span><\/code><\/pre>\n\n\n\n<p>\u8d77\u52d5\u5f8c\u306f\u3001\u30b5\u30fc\u30d0\u306e\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u7b49\u306b\u3088\u308b\u518d\u8d77\u52d5\u3092\u81ea\u52d5\u3067\u884c\u3046\u305f\u3081\u306b\u300cenable\u300d\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3061\u8fbc\u3093\u3067\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code><span style=\"color:#00ff00\" class=\"swl-inline-color\">systemctl enable openvpn@server<\/span><\/code><\/pre>\n\n\n\n<center><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-2776062481390161\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u30ec\u30b9\u30dd\u30f3\u30b7\u30d6 -->\n<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-2776062481390161\"\n     data-ad-slot=\"2830301217\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/center>\n\n\n\n<h3 class=\"wp-block-heading\">Step4\uff1aVPN\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u8a2d\u5b9a<\/h3>\n\n\n\n<p>VPN\u30b5\u30fc\u30d0\u306e\u8a2d\u5b9a\u304c\u5b8c\u4e86\u3057\u305f\u5f8c\u306f\u3001VPN\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u8a2d\u5b9a\u306b\u306a\u308a\u3001\u3053\u308c\u304c\u7d42\u308f\u308b\u3068\u3084\u3063\u3068VPN\u63a5\u7d9a\u304c\u53ef\u80fd\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step4-1\uff1a\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u9375\u3068\u8a3c\u660e\u66f8\u306e\u4f5c\u6210<\/h4>\n\n\n\n<p><strong>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u8a8d\u8a3c\u3092\u5b9f\u65bd<\/strong>\u3059\u308b\u305f\u3081\u306b\u306f\u3001<strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u300c\u9375\u3068\u8a3c\u660e\u66f8\u300d\u3092\u4e8b\u524d\u306bVPN\u30b5\u30fc\u30d0\u5074\u3067\u751f\u6210\u3059\u308b\u5fc5\u8981<\/span><\/strong>\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u9375\u306e\u751f\u6210\u65b9\u6cd5\u306f\u3001\u4ee5\u4e0b\u30b3\u30de\u30f3\u30c9\u3067\u5b9f\u65bd\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code><span style=\"color:#00ff00\" class=\"swl-inline-color\">.\/easyrsa build-client-full (\u9375\u540d\uff09nopass<\/span><\/code><\/pre>\n\n\n\n<p>\u4e0a\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u30ed\u30b0\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u969b\u306b\u3044\u304f\u3064\u304b\u5165\u529b\u304c\u5fc5\u8981\u306b\u306a\u308b\u306e\u3067\u3001\u8cea\u554f\u306b\u6cbf\u3063\u3066\u9069\u5207\u306a\u5024\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code>daimaru@Test:\/usr\/share\/easy-rsa$ <span style=\"color:#00ff00\" class=\"swl-inline-color\">sudo .\/easyrsa build-client-full test_client nopass<\/span>\nUsing SSL: openssl OpenSSL 1.1.1w  11 Sep 2023\nGenerating a RSA private key\n.........................+++++\n..+++++\nwriting new private key to '\/usr\/share\/easy-rsa\/pki\/easy-rsa-1754.KV95Qj\/tmp.NtRVlp'\n-----\nUsing configuration from \/usr\/share\/easy-rsa\/pki\/easy-rsa-1754.KV95Qj\/tmp.RU9uuz\n<strong><span style=\"color:#00ffff\" class=\"swl-inline-color\">Enter pass phrase for \/usr\/share\/easy-rsa\/pki\/private\/ca.key:\uff08ca.key\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\uff09<\/span><\/strong>\nCheck that the request matches the signature\nSignature ok\nThe Subject's Distinguished Name is as follows\ncommonName            :ASN.1 12:'test_client'\nCertificate is to be certified until Sep 27 00:43:17 2026 GMT (825 days)\n\nWrite out database with 1 new entries\nData Base Updated<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Step4-2\uff1a\u751f\u6210\u3057\u305f\u9375\u3068\u8a3c\u660e\u66f8\u3092\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30fc\u30d0\u306b\u8ee2\u9001<\/h4>\n\n\n\n<p>Step4-1\u3067\u751f\u6210\u3057\u305f<strong>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u9375\uff08\u9375\u540d.key\uff09\u3068\u8a3c\u660e\u66f8\uff08\u9375\u540d.crt\uff09\u306e\uff12\u3064\u3092VPN\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u306e\u30b5\u30fc\u30d0\u306b\u8ee2\u9001<\/strong>\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u969b\u3001<strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">Step2\u3067\u751f\u6210\u3057\u305f\u8a8d\u8a3c\u5c40\u306e\u8a3c\u660e\u66f8\u300cca.crt\u300d\u3068TLS\u9375\u300cta.key\u300d\u3082VPN\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u306e\u30b5\u30fc\u30d0\u306b\u8ee2\u9001\u3059\u308b\u5fc5\u8981<\/span><\/strong>\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"has-text-align-center is-style-big_icon_point\"><strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u30d5\u30a1\u30a4\u30eb\u306ePermission\u3092\u5909\u66f4\u3057\u306a\u3044\u3068\u8ee2\u9001\u4e0d\u53ef\u3068\u306a\u308b\u5834\u5408\u3042\u308a<\/span><\/strong><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step4-3\uff1a\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u4f5c\u6210<\/h4>\n\n\n\n<p>Step4-2\u3067\u751f\u6210\u3057\u305f\u9375\u306e\u8ee2\u9001\u3092\u7d42\u3048\u305f\u5f8c\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3067\u4f5c\u696d\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6700\u521d\u306b\u3084\u308b\u3053\u3068\u306f\u3001\u300copenvpn\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300d\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code><span style=\"color:#00ff00\" class=\"swl-inline-color\">sudo apt install openvpn<\/span><\/code><\/pre>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u3001<strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">VPN\u30b5\u30fc\u30d0\u5074\u3068\u306f\u7570\u306a\u308b\u300c\/etc\/openvpn\/client.conf\u300dor\u300c\/etc\/openvpn\/client\/client.conf\u300d\u3092\u4f5c\u6210<\/span><\/strong>\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u304c\u300c\/usr\/share\/doc\/openvpn\/examples\/sample-config-files\/client.conf\u300d\u306b\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u30b3\u30d4\u30fc\u3057\u3066\u3082OK\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code>##############################################\n# Sample client-side OpenVPN 2.0 config file #\n# for connecting to multi-client server.     #\n#                                            #\n# This configuration can be used by multiple #\n# clients, however each client should have   #\n# its own cert and key files.                #\n#                                            #\n# On Windows, you might want to rename this  #\n# file so it has a .ovpn extension           #\n##############################################\n\n# Specify that we are a client and that we\n# will be pulling certain config file directives\n# from the server.\n<strong><span style=\"color:#00ff00\" class=\"swl-inline-color\">client <\/span><span style=\"color:#ffff00\" class=\"swl-inline-color\">#\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30e2\u30fc\u30c9\u306e\u6307\u5b9a<\/span><\/strong>\n\n# Use the same setting as you are using on\n# the server.\n# On most systems, the VPN will not function\n# unless you partially or fully disable\n# the firewall for the TUN\/TAP interface.\n;dev tap\ndev tun\n\n# Windows needs the TAP-Win32 adapter name\n# from the Network Connections panel\n# if you have more than one.  On XP SP2,\n# you may need to disable the firewall\n# for the TAP adapter.\n;dev-node MyTap\n\n# Are we connecting to a TCP or\n# UDP server?  Use the same setting as\n# on the server.\n;proto tcp\nproto udp\npush \"dhcp-option DNS 8.8.8.8\"\n# The hostname\/IP and port of the server.\n# You can have multiple remote entries\n# to load balance between the servers.\n<strong><span style=\"color:#00ff00\" class=\"swl-inline-color\">remote  &lt;\u30b5\u30fc\u30d0IP\u30a2\u30c9\u30ec\u30b9&gt; 1194 <\/span><span style=\"color:#ffff00\" class=\"swl-inline-color\">#VPN\u30b5\u30fc\u30d0\u306e\u6307\u5b9a\uff08\u30c9\u30e1\u30a4\u30f3\u540d\u3067\u306e\u6307\u5b9a\u3082\u53ef\u80fd\uff09<\/span><\/strong>\n# Choose a random host from the remote\n# list for load-balancing.  Otherwise\n# try hosts in the order specified.\n;remote-random\n\n# Keep trying indefinitely to resolve the# host name of the OpenVPN server.  Very useful\n# on machines which are not permanently connected\n# to the internet such as laptops.\nresolv-retry infinite\n\n# Most clients don't need to bind to\n# a specific local port number.\nnobind\n\n# Downgrade privileges after initialization (non-Windows only)\n;user nobody\n;group nogroup\n\n# Try to preserve some state across restarts.\npersist-key\npersist-tun\n\n# If you are connecting through an\n# HTTP proxy to reach the actual OpenVPN\n# server, put the proxy server\/IP and\n# port number here.  See the man page\n# if your proxy server requires\n# authentication.\n#http-proxy-retry # retry on connection failures\n#http-proxy &#91;proxy server] &#91;proxy port #]\n;http-proxy 10.8.0.1 80;\n;http-proxy 10.8.0.1 443;\n;http-proxy 10.8.0.1 22;\n#interfaces  = 172.31.32.0\/20 10.8.0.0\/24\n# Wireless networks often produce a lot\n# of duplicate packets.  Set this flag\n# to silence duplicate packet warnings.\n;mute-replay-warnings\n\n# SSL\/TLS parms.\n# See the server config file for more\n# description.  It's best to use\n# a separate .crt\/.key file pair\n# for each client.  A single ca\n# file can be used for all clients.\n<strong><span style=\"color:#ffff00\" class=\"swl-inline-color\">#\u9375\u306e\u6307\u5b9a<\/span><\/strong><span style=\"color:#00ff00\" class=\"swl-inline-color\">\n<strong>ca \/etc\/openvpn\/ca.crt\ncert \/etc\/openvpn\/\uff08\u9375\u540d\uff09.crt\nkey \/etc\/openvpn\/\uff08\u9375\u540d\uff09.key<\/strong><\/span>\n\n# Verify server certificate by checking that the\n# certicate has the correct key usage set.\n# This is an important precaution to protect against\n# a potential attack discussed here:\n#  http:\/\/openvpn.net\/howto.html#mitm\n#\n# To use this feature, you will need to generate\n# your server certificates with the keyUsage set to\n#   digitalSignature, keyEncipherment\n# and the extendedKeyUsage to\n#   serverAuth\n# EasyRSA can do this for you.\nremote-cert-tls server\n\n# If a tls-auth key is used on the server\n# then every client must also have the key.\n<strong><span style=\"color:#00ff00\" class=\"swl-inline-color\">tls-auth ta.key 1<\/span><\/strong>\n\n# Select a cryptographic cipher.\n# If the cipher option is used on the server\n# then you must also specify it here.\n# Note that 2.4 client\/server will automatically\n# negotiate AES-256-GCM in TLS mode.\n# See also the ncp-cipher option in the manpage\ncipher AES-256-GCM\n\n# Enable compression on the VPN link.\n# Don't enable this unless it is also\n# enabled in the server config file.\n;comp-lzo\n# Set log file verbosity.\nverb 3\n\n# Silence repeating messages\n;mute 20\npull\nfloat\n#redirect-gateway def1<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Step4-4\uff1a\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3067VPN\u306e\u8d77\u52d5<\/h4>\n\n\n\n<p>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u306e\u8a2d\u5b9a\u3092\u7d42\u3048\u305f\u5f8c\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067VPN\u3092\u8d77\u52d5\u3055\u305b\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code><strong><span style=\"color:#00ff00\" class=\"swl-inline-color\">sudo systemctl start openvpn<\/span><\/strong><\/code><\/pre>\n\n\n\n<p>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3082\u30b5\u30fc\u30d0\u306e\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u306a\u3069\u306b\u3088\u308b\u96fb\u6e90OFF\/ON\u304c\u3042\u308b\u3068\u601d\u3046\u306e\u3067\u3001\u81ea\u52d5\u8d77\u52d5\u3092ON\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code><strong><span style=\"color:#00ff00\" class=\"swl-inline-color\">sudo systemctl enable openvpn<\/span><\/strong>\n<strong><span style=\"color:#00ff00\" class=\"swl-inline-color\">sudo systemctl enable openvpn@client<\/span><\/strong><\/code><\/pre>\n\n\n\n<p>\u4e0a\u8a18\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u5f8c\u3001\u300cip route\u300d\u3084\u300cifconfig or ipconfig or ip a\u300d\u30b3\u30de\u30f3\u30c9\u306e\u3069\u308c\u304b\u3092\u5165\u529b\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>tun0\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u3084VPN\u3067\u8a2d\u5b9a\u3057\u305f\u30a2\u30c9\u30ec\u30b9\u30ec\u30f3\u30b8\u304c\u5272\u308a\u632f\u3089\u308c\u3066\u3044\u305f\u3089\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code>4: tun0: &lt;POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP&gt; mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 500\n    link\/none\n    inet 10.8.0.6 peer 10.8.0.5\/32 scope global tun0\n       valid_lft forever preferred_lft forever\n    inet6 fe80::c7dd:6822:170b:433f\/64 scope link stable-privacy\n       valid_lft forever preferred_lft forever<\/code><\/pre>\n\n\n\n<p>\u305f\u3060\u3001\u3053\u306e\u65b9\u6cd5\u3067\u306fVPN\u304c\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u306a\u3044\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u8d77\u52d5\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background has-xs-font-size\"><code><span style=\"color:#00ff00\" class=\"swl-inline-color\">sudo systemctl start openvpn@client<\/span><\/code><\/pre>\n\n\n\n<p>\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u5f8c\u3001\u7279\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u306a\u3051\u308c\u3070\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001VPN\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3068LAN\u306e\u63a5\u7d9a\u3092\u884c\u3046\u305f\u3081\u306b\u306f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044<\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type2\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/daimaru-tech-blog.com\/wp-content\/uploads\/2024\/06\/OpenVPN_Trouble1_Icatch-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/daimaru-tech-blog.com\/?p=2851\" target=\"_blank\" rel=\"noopener noreferrer\">\u3010OpenVPN\u3011VPN\u30b5\u30fc\u30d0\u304b\u3089\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u5148\u306b\u3042\u308bLAN\u5185\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">\u3010\u306f\u3058\u3081\u306b\u3011 \u3053\u3093\u306b\u3061\u306f\u3002\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u300c\u3060\u3044\u307e\u308b\u300d\u3067\u3059\u3002 \u4eca\u56de\u306fOpenVPN\u306b\u307e\u3064\u308f\u308b\u30c8\u30e9\u30d6\u30eb\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u3010\u4eca\u56de\u89e3\u6c7a\u3057\u305f\u3044\u30c8\u30e9&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\n<h2 class=\"wp-block-heading\">\u6700\u5f8c\u306b<\/h2>\n\n\n\n<p>\u4eca\u56de\u306f\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306e\u69cb\u7bc9\u3001\u5916\u90e8\u30b5\u30fc\u30d0\u3068\u81ea\u5b85\u5185\u30b5\u30fc\u30d0\u3092\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306eVPN\u74b0\u5883\u306e\u69cb\u7bc9\u3092\u884c\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u5404\u30b5\u30fc\u30d0\u3067\u82e5\u5e72\u8a2d\u5b9a\u3082\u7570\u306a\u308b\u306e\u3067\u3001\u30a8\u30e9\u30fc\u5185\u5bb9\u3082\u7570\u306a\u3063\u3066\u304f\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u30ed\u30b0\u3092\u3057\u3063\u304b\u308a\u5206\u6790\u3057\u3042\u305f\u308a\u3092\u3064\u3051\u3066\u5bfe\u5fdc\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<div class=\"wp-block-columns\">\n<div class=\"wp-block-column\" style=\"flex-basis:100%\">\n<div class=\"swell-block-columns\"><div class=\"swell-block-columns__inner\">\n<div class=\"swell-block-column swl-has-mb--s\">\n<div class=\"wp-block-group is-row is-nowrap is-layout-flex wp-container-core-group-is-layout-ad2f72ca wp-block-group-is-layout-flex\"><div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type2\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u524d\u306e\u8a18\u4e8b\u3078<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/daimaru-tech-blog.com\/wp-content\/uploads\/2022\/12\/wordpress_1-300x157.webp\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/daimaru-tech-blog.com\/?p=235\" target=\"_blank\" rel=\"noopener noreferrer\">\u3010\u306f\u3058\u3081\u3066\u306e\u30d6\u30ed\u30b0\u904b\u7528\u3011\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fb\u81ea\u524d\u74b0\u5883\u3069\u3063\u3061\u304c\u3044\u3044\uff1f<\/a>\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div><\/div>\n<\/div>\n\n\n\n<div class=\"swell-block-column swl-has-mb--s\"><div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type2\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u6b21\u306e\u8a18\u4e8b\u3078<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/daimaru-tech-blog.com\/wp-content\/uploads\/2022\/12\/wordpress_3-300x157.webp\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/daimaru-tech-blog.com\/?p=251\" target=\"_blank\" rel=\"noopener noreferrer\">\u3010\u306f\u3058\u3081\u3066\u306e\u30d6\u30ed\u30b0\u904b\u7528\u3011DNS\u30b5\u30fc\u30d3\u30b9\u3092\u4f7f\u3063\u3066\u72ec\u81ea\u30c9\u30e1\u30a4\u30f3\u3092\u516c\u958b\u3057\u3066\u307f\u305f<\/a>\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div><\/div>\n<\/div><\/div>\n<\/div>\n<\/div>\n\n\n\n\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u3053\u3093\u306b\u3061\u306f\u3002\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u300c\u3060\u3044\u307e\u308b\u300d\u3067\u3059\u3002 \u524d\u56de\u306f\u300c\u3010\u306f\u3058\u3081\u3066\u306e\u30d6\u30ed\u30b0\u904b\u7528\u3011\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fb\u81ea\u524d\u74b0\u5883\u3069\u3063\u3061\u304c\u3044\u3044\uff1f\u300d\u3067\u69cb\u6210\u3068\u30b3\u30b9\u30c8\u306b\u3064\u3044\u3066\u89e6\u308c\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u306fEC2\u3092\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3068\u3057\u3066\u5229\u7528\u3059\u308b\u65b9 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":245,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"{\"209f8687\":{\"pv\":741,\"imp\":552},\"4c9b805b\":{\"pv\":741,\"imp\":529,\"click\":1},\"a8dd28c3\":{\"pv\":1,\"imp\":1},\"e0d4b5b7\":{\"pv\":1},\"3074b1a4\":{\"pv\":1}}","footnotes":""},"categories":[609,610],"tags":[247,240,291,243,245,242,248,244,246],"class_list":["post-239","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-609","category--tips","tag-nginx","tag-240","tag-291","tag-243","tag-245","tag-242","tag-248","tag-244","tag-246"],"_links":{"self":[{"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=\/wp\/v2\/posts\/239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=239"}],"version-history":[{"count":72,"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=\/wp\/v2\/posts\/239\/revisions"}],"predecessor-version":[{"id":3916,"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=\/wp\/v2\/posts\/239\/revisions\/3916"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=\/wp\/v2\/media\/245"}],"wp:attachment":[{"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}