{"id":721,"date":"2023-10-26T16:10:49","date_gmt":"2023-10-26T07:10:49","guid":{"rendered":"https:\/\/intinfinity.com\/?p=721"},"modified":"2023-10-26T16:11:50","modified_gmt":"2023-10-26T07:11:50","slug":"windowspc%e3%81%a8%e7%89%b9%e5%ae%9a%e3%81%ae%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%af%e3%81%ab%e3%81%8a%e3%81%84%e3%81%a6%e3%80%81wireguard%e7%b5%8c%e7%94%b1%e3%81%ae%e9%80%9a%e4%bf%a1","status":"publish","type":"post","link":"https:\/\/intinfinity.com\/index.php\/archives\/721","title":{"rendered":"WindowsPC\u3068\u7279\u5b9a\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u304a\u3044\u3066\u3001Wireguard\u7d4c\u7531\u306e\u901a\u4fe1\u306e\u758e\u901a\u6027\u304c\u60aa\u5316\u3059\u308b\u554f\u984c\u306e\u89e3\u6c7a"},"content":{"rendered":"<h2>\u524d\u66f8\u304d<\/h2>\n<p>\u67d0\u516c\u8846Wi-Fi\u306b\u3066\u3002Windows 11 \u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u30ce\u30fc\u30c8\u30d1\u30bd\u30b3\u30f3\u3067Wireguard\u3092\u63a5\u7d9a\u3057\u305f\u3068\u3053\u308d\u3001\u3044\u304f\u3064\u304b\u306e\u30db\u30b9\u30c8\u306b\u304a\u3044\u3066Web\u30b5\u30a4\u30c8\u304c\u8868\u793a\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u3002IPv6\u5c02\u7528\u30db\u30b9\u30c8\u3092\u3044\u304f\u3064\u304b\u6301\u3066\u308b\u79c1\u306f\u3001VPN\u304c\u306a\u3044\u3068\u63a5\u7d9a\u3067\u304d\u306a\u3044\u306e\u3067\u3001\u975e\u5e38\u306b\u56f0\u3063\u305f\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001\u3053\u308c\u3092MTU\u306e\u8abf\u6574\u306b\u3066\u89e3\u6c7a\u3067\u304d\u305f\u306e\u3067\u3001\u8a18\u4e8b\u306b\u3057\u3068\u304d\u307e\u3059\u3002<\/p>\n<h2>\u74b0\u5883<\/h2>\n<ul>\n<li>OpenWRT\u3067\u5b9f\u884c\u3057\u3066\u3044\u308bWireguard (\u6b63\u78ba\u3067\u306f\u306a\u3044\u304c\u3001\u3044\u308f\u3086\u308b\u30b5\u30fc\u30d0\u30fc\u5074)<\/li>\n<li>IPv4\u30b7\u30f3\u30b0\u30eb\u30b9\u30bf\u30c3\u30af\u516c\u8846Wi-Fi<\/li>\n<li>OpenWRT\u5185\u306fIPv6\u30b7\u30f3\u30b0\u30eb\u30b9\u30bf\u30c3\u30af(DNS64+NAT64)<\/li>\n<li>Windows 11 \u4e0a\u3067\u5b9f\u884c\u3057\u3066\u3044\u308bWireguard (\u6b63\u78ba\u3067\u306f\u306a\u3044\u304c\u3001\u3044\u308f\u3086\u308b\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074)<\/li>\n<\/ul>\n<h2>\u624b\u9806<\/h2>\n<h3>\u516c\u8846Wi-Fi\u306eMTU\u6e2c\u5b9a<\/h3>\n<p>ping\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046\u65b9\u6cd5\u3082\u3042\u308b\u304c\u3001\u9762\u5012\u306a\u306e\u3067\u4e0b\u8a18\u3067\u8abf\u3079\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n<p>Firefox\u3067\u6e2c\u5b9a\u3067\u304d\u305f\u3002<\/p>\n<p><a href=\"https:\/\/www.speedguide.net\/analyzer.php\" title=\"https:\/\/www.speedguide.net\/analyzer.php\">https:\/\/www.speedguide.net\/analyzer.php<\/a><\/p>\n<p>\u6e2c\u5b9a\u304c\u5b8c\u4e86\u3059\u308b\u3068\u3001\u300cMTU = 1460\u300d\u306a\u3069\u3068\u8868\u793a\u3055\u308c\u308b\u3002\u3053\u306e1460\u304cMTU\u306e\u6e2c\u5b9a\u7d50\u679c\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>Wireguard\u5185\u90e8\u3067\u4f7f\u3048\u308bMTU\u306e\u8a08\u7b97<\/h3>\n<p>Wireguard\u3067\u5fc5\u8981\u3068\u306a\u308b\u8ffd\u52a0\u306e\u30d8\u30c3\u30c0\u30fc\u9577\u306f\u3001\u6b21\u306e\u901a\u308a\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>Internet protocol<\/th>\n<th>Byte length<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>IPv6<\/td>\n<td>80<\/td>\n<\/tr>\n<tr>\n<td>IPv4<\/td>\n<td>60<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a href=\"https:\/\/lists.zx2c4.com\/pipermail\/wireguard\/2017-December\/002201.html\" title=\"[WireGuard] Header \/ MTU sizes for Wireguard\">[WireGuard] Header \/ MTU sizes for Wireguard<\/a><\/p>\n<p>Windows 11 \u306e\u5834\u5408\u3001IPv\uff16\u3068IPv4\u305d\u308c\u305e\u308cMTU\u3092\u8a2d\u5b9a\u3067\u304d\u308b\u306e\u3067\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u6700\u5927\u5316\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u7570\u306a\u308b\u5024\u306b\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3002<\/p>\n<p>\u516c\u8846Wi-Fi\u306eMTU\u304c1460\u306e\u5834\u5408\u3001Wireguard\u306e\u5185\u5074\u306f\u3001IPv6\u306e\u5834\u5408\u300c1380\u300d\u3001IPv4\u306e\u5834\u5408\u300c1400\u300d\u3068\u306a\u308b\u3002<\/p>\n<p>\u4eca\u56de\u3001Wireguard\u306e\u5185\u90e8\u306fIPv6\u30b7\u30f3\u30b0\u30eb\u30b9\u30bf\u30c3\u30af\u306a\u306e\u3067\u3001IPv6\u306e\u307f\u8a2d\u5b9a\u3059\u308b\u3002<\/p>\n<h3>MTU\u306e\u8a2d\u5b9a<\/h3>\n<p>Windows 11 \u3067\u3001PowerShell\u3084\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u7ba1\u7406\u8005\u6a29\u9650\u3067\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p>Wireguard\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8abf\u3079\u307e\u3059\u3002<\/p>\n<pre><code>netsh interface ipv6 show interface<\/code><\/pre>\n<p>\u540d\u524d\u306e\u6b04\u306b\u300cwg0\u300d\u3068\u3042\u308b\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u300cIdx\u300d\u3092\u77e5\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code>Idx     Met         MTU          \u72b6\u614b                 \u540d\u524d\n---  ----------  ----------  ------------  ---------------------------\n  1          75  4294967295  connected     Loopback Pseudo-Interface 1\n 30           0        1420  connected     wg0\n 20          45        1500  connected     Wi-Fi\n 10           5        1500  disconnected  \u30a4\u30fc\u30b5\u30cd\u30c3\u30c8\n  6          65        1500  disconnected  Bluetooth \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u63a5\u7d9a<\/code><\/pre>\n<p>\u8abf\u3079\u305fidx\u3068\u8a08\u7b97\u3057\u305fMTU\u3092\u542b\u3081\u3066\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306b\u30b3\u30de\u30f3\u30c9\u3092\u4f5c\u6210\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre><code>netsh interface ipv6 set interface 30 mtu=1380<\/code><\/pre>\n<p>IPv4\u3092\u8a2d\u5b9a\u3055\u308c\u308b\u5834\u5408\u306f\u3001\u30b3\u30de\u30f3\u30c9\u4e2d\u306e\u300cipv6\u300d\u3092\u300cipv4\u300d\u306b\u5909\u66f4\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u66f8\u304d \u67d0\u516c\u8846Wi-Fi\u306b\u3066\u3002Windows 11 \u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u30ce\u30fc\u30c8\u30d1\u30bd\u30b3\u30f3\u3067Wireguard\u3092\u63a5\u7d9a\u3057\u305f\u3068\u3053\u308d\u3001\u3044\u304f\u3064\u304b\u306e\u30db\u30b9\u30c8\u306b\u304a\u3044\u3066Web\u30b5\u30a4\u30c8\u304c\u8868\u793a\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u3002IPv6\u5c02\u7528\u30db\u30b9\u30c8\u3092\u3044\u304f\u3064\u304b\u6301\u3066\u308b\u79c1\u306f\u3001VP [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-721","post","type-post","status-publish","format-standard","hentry","category-network"],"_links":{"self":[{"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/posts\/721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/comments?post=721"}],"version-history":[{"count":9,"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/posts\/721\/revisions"}],"predecessor-version":[{"id":731,"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/posts\/721\/revisions\/731"}],"wp:attachment":[{"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/media?parent=721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/categories?post=721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/tags?post=721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}