{"id":479185,"date":"2023-08-09T10:31:59","date_gmt":"2023-08-09T10:31:59","guid":{"rendered":""},"modified":"2023-09-05T11:18:21","modified_gmt":"2023-09-05T11:18:21","slug":"stun","status":"publish","type":"wiki","link":"https:\/\/oneproxy.pro\/jp\/wiki\/stun\/","title":{"rendered":"\u6c17\u7d76"},"content":{"rendered":"<p>STUN\u306b\u3064\u3044\u3066\u306e\u7c21\u5358\u306a\u60c5\u5831<\/p>\n<p>STUN (Session Traversal Utilities for NAT) \u306f\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af \u30a2\u30c9\u30ec\u30b9\u5909\u63db (NAT) \u306b\u3088\u3063\u3066\u30c7\u30d0\u30a4\u30b9\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u305f\u30d1\u30d6\u30ea\u30c3\u30af IP \u30a2\u30c9\u30ec\u30b9\u3068\u30dd\u30fc\u30c8\u306e\u691c\u51fa\u306b\u5f79\u7acb\u3064\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u3059\u3002\u3053\u308c\u306f\u3001\u30ed\u30fc\u30ab\u30eb \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u4e0a\u306e\u30c7\u30d0\u30a4\u30b9\u304c\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306a\u3069\u306e\u30ea\u30e2\u30fc\u30c8 \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u63a5\u7d9a\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306b\u5e83\u304f\u4f7f\u7528\u3055\u308c\u3066\u304a\u308a\u3001\u7279\u306b VoIP\u3001\u30d3\u30c7\u30aa \u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u3001\u30aa\u30f3\u30e9\u30a4\u30f3 \u30b2\u30fc\u30e0\u306a\u3069\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>STUN \u306e\u8d77\u6e90\u3068\u305d\u306e\u6700\u521d\u306e\u8a00\u53ca\u306e\u6b74\u53f2<\/h2>\n<p>STUN \u306f\u3082\u3068\u3082\u3068\u3001NAT \u30c7\u30d0\u30a4\u30b9\u306e\u4f7f\u7528\u306b\u3088\u3063\u3066\u751f\u3058\u308b\u554f\u984c\u306e\u89e3\u6c7a\u7b56\u3068\u3057\u3066 2000 \u5e74\u4ee3\u521d\u982d\u306b\u8003\u6848\u3055\u308c\u307e\u3057\u305f\u3002STUN \u306e\u6700\u521d\u306e\u516c\u5f0f\u4ed5\u69d8\u306f\u30012003 \u5e74 10 \u6708\u306b RFC 3489 \u3068\u3057\u3066\u516c\u958b\u3055\u308c\u307e\u3057\u305f\u3002\u305d\u306e\u5f8c\u30012008 \u5e74\u306b RFC 5389 \u3067\u6539\u8a02\u3055\u308c\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3068\u6a5f\u80fd\u6027\u304c\u5411\u4e0a\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>STUN\u306b\u95a2\u3059\u308b\u8a73\u7d30\u60c5\u5831\u3002\u30c8\u30d4\u30c3\u30afSTUN\u306e\u62e1\u5f35<\/h2>\n<p>STUN \u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c STUN \u30b5\u30fc\u30d0\u30fc\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3059\u308b\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 \u30b5\u30fc\u30d0\u30fc \u30d7\u30ed\u30c8\u30b3\u30eb\u3068\u3057\u3066\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30ed\u30fc\u30ab\u30eb \u30d7\u30e9\u30a4\u30d9\u30fc\u30c8 \u30a2\u30c9\u30ec\u30b9\u306b\u5bfe\u5fdc\u3059\u308b\u30d1\u30d6\u30ea\u30c3\u30af IP \u30a2\u30c9\u30ec\u30b9\u3068\u30dd\u30fc\u30c8\u756a\u53f7\u3067\u5fdc\u7b54\u3057\u307e\u3059\u3002\u3053\u306e\u60c5\u5831\u3092\u4f7f\u7528\u3057\u3066\u3001NAT \u3092\u4ecb\u3057\u305f\u30d4\u30a2\u30c4\u30fc\u30d4\u30a2\u901a\u4fe1\u3092\u6709\u52b9\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>STUN \u306f\u3001\u3055\u307e\u3056\u307e\u306a\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u69cb\u6210\u3067\u4fe1\u983c\u6027\u306e\u9ad8\u3044\u63a5\u7d9a\u3092\u78ba\u4fdd\u3059\u308b\u305f\u3081\u306b\u3001TURN (Traversal Using Relays around NAT) \u3084 ICE (Interactive Connectivity Establishment) \u306a\u3069\u306e\u4ed6\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u7528\u3055\u308c\u308b\u3053\u3068\u304c\u3088\u304f\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>STUN \u306e\u5185\u90e8\u69cb\u9020\u3002STUN \u306e\u4ed5\u7d44\u307f<\/h2>\n<p>STUN \u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068 STUN \u30b5\u30fc\u30d0\u30fc\u9593\u306e\u4e00\u9023\u306e\u8981\u6c42\u3068\u5fdc\u7b54\u3092\u901a\u3058\u3066\u52d5\u4f5c\u3057\u307e\u3059\u3002\u4e00\u822c\u7684\u306a\u52d5\u4f5c\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ol>\n<li><strong>\u30ea\u30af\u30a8\u30b9\u30c8<\/strong>: \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306f STUN \u30b5\u30fc\u30d0\u30fc\u306b\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u8981\u6c42\u3092\u9001\u4fe1\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u5fdc\u7b54<\/strong>: \u30b5\u30fc\u30d0\u30fc\u306f\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u8abf\u3079\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30d1\u30d6\u30ea\u30c3\u30af IP \u3068\u30dd\u30fc\u30c8\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u6210\u529f\u30ec\u30b9\u30dd\u30f3\u30b9<\/strong>: \u30b5\u30fc\u30d0\u30fc\u306f\u30d1\u30d6\u30ea\u30c3\u30af IP \u3068\u30dd\u30fc\u30c8\u3092\u542b\u3080\u5fdc\u7b54\u3092\u8fd4\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u30a8\u30e9\u30fc\u5fdc\u7b54<\/strong>: \u30a8\u30e9\u30fc\u304c\u3042\u308b\u5834\u5408\u306f\u30a8\u30e9\u30fc\u5fdc\u7b54\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ol>\n<h2>STUN\u306e\u4e3b\u306a\u7279\u5fb4\u306e\u5206\u6790<\/h2>\n<p>STUN \u306b\u306f\u3044\u304f\u3064\u304b\u306e\u91cd\u8981\u306a\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>NAT \u691c\u51fa<\/strong>: \u4f7f\u7528\u3055\u308c\u3066\u3044\u308b NAT \u306e\u30bf\u30a4\u30d7\u3092\u8b58\u5225\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u30d1\u30d6\u30ea\u30c3\u30af\u30a2\u30c9\u30ec\u30b9\u691c\u51fa<\/strong>: \u30d1\u30d6\u30ea\u30c3\u30af IP \u3068\u30dd\u30fc\u30c8\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u7c21\u5358\u306a\u5b9f\u88c5<\/strong>: \u5b9f\u88c5\u306f\u6bd4\u8f03\u7684\u7c21\u5358\u3067\u3059\u3002<\/li>\n<li><strong>\u4e92\u63db\u6027<\/strong>: \u3055\u307e\u3056\u307e\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3084\u30c7\u30d0\u30a4\u30b9\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<h2>\u3069\u306e\u3088\u3046\u306a\u7a2e\u985e\u306eSTUN\u304c\u5b58\u5728\u3059\u308b\u304b\u3092\u66f8\u304d\u307e\u3059\u3002\u8868\u3068\u30ea\u30b9\u30c8\u3092\u4f7f\u7528\u3057\u3066\u66f8\u304d\u307e\u3059\u3002<\/h2>\n<p>STUN \u3092\u5b9f\u88c5\u3059\u308b\u306b\u306f\u3055\u307e\u3056\u307e\u306a\u65b9\u6cd5\u3068\u30c6\u30af\u30cb\u30c3\u30af\u304c\u3042\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u3001\u305d\u308c\u3089\u306e\u3044\u304f\u3064\u304b\u3092\u307e\u3068\u3081\u305f\u8868\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30bf\u30a4\u30d7<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30af\u30e9\u30b7\u30c3\u30afSTUN<\/td>\n<td>RFC 3489 \u3067\u8aac\u660e\u3055\u308c\u3066\u3044\u308b\u5143\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u30d5\u30eb\u30b9\u30bf\u30f3<\/td>\n<td>RFC 5389 \u3067\u8aac\u660e\u3055\u308c\u3066\u3044\u308b\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u305f\u66f4\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u30e2\u30d0\u30a4\u30eb\u5411\u3051STUN<\/td>\n<td>\u30e2\u30d0\u30a4\u30eb \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5411\u3051\u306b\u6700\u9069\u5316\u3055\u308c\u3066\u304a\u308a\u3001\u9045\u5ef6\u3092\u6e1b\u3089\u3057\u3066\u30d0\u30c3\u30c6\u30ea\u30fc\u3092\u7bc0\u7d04\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>STUN\u306e\u4f7f\u3044\u65b9\u3001\u4f7f\u7528\u4e0a\u306e\u554f\u984c\u70b9\u3068\u305d\u306e\u89e3\u6c7a\u7b56<\/h2>\n<p>STUN \u306f\u4e3b\u306b VoIP\u3001\u30d3\u30c7\u30aa\u4f1a\u8b70\u3001\u30d4\u30a2\u30c4\u30fc\u30d4\u30a2\u901a\u4fe1\u3067\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u6b21\u306e\u3088\u3046\u306a\u554f\u984c\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\u306e\u61f8\u5ff5<\/strong>: \u9069\u5207\u306a\u6697\u53f7\u5316\u3092\u884c\u308f\u306a\u3044\u3068\u3001\u60c5\u5831\u304c\u508d\u53d7\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<li><strong>\u4e92\u63db\u6027\u306e\u554f\u984c<\/strong>: \u3059\u3079\u3066\u306e NAT \u30c7\u30d0\u30a4\u30b9\u304c STUN \u306e\u3059\u3079\u3066\u306e\u6a5f\u80fd\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/li>\n<\/ul>\n<p>\u89e3\u6c7a\u7b56\u3068\u3057\u3066\u306f\u3001\u6697\u53f7\u5316\uff08TLS \u306a\u3069\uff09\u306e\u4f7f\u7528\u3001STUN \u3068 TURN \u306a\u3069\u306e\u4ed6\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u306e\u7d44\u307f\u5408\u308f\u305b\u3001\u30b7\u30b9\u30c6\u30e0\u3092\u6700\u65b0\u306e\u72b6\u614b\u306b\u4fdd\u3064\u3053\u3068\u306a\u3069\u304c\u6319\u3052\u3089\u308c\u307e\u3059\u3002<\/p>\n<h2>\u4e3b\u306a\u7279\u5fb4\u3068\u985e\u4f3c\u7528\u8a9e\u3068\u306e\u6bd4\u8f03<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u7279\u5fb4<\/th>\n<th>\u6c17\u7d76<\/th>\n<th>\u632f\u308a\u5411\u304f<\/th>\n<th>\u6c37<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>NAT\u30c8\u30e9\u30d0\u30fc\u30b5\u30eb<\/td>\n<td>\u306f\u3044<\/td>\n<td>\u306f\u3044<\/td>\n<td>\u306f\u3044<\/td>\n<\/tr>\n<tr>\n<td>\u8907\u96d1<\/td>\n<td>\u9069\u5ea6<\/td>\n<td>\u3088\u308a\u8907\u96d1\u306a<\/td>\n<td>\u6700\u3082\u8907\u96d1<\/td>\n<\/tr>\n<tr>\n<td>\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u3068\u4f75\u7528<\/td>\n<td>\u9650\u5b9a<\/td>\n<td>\u4e92\u63db\u6027\u304c\u5411\u4e0a<\/td>\n<td>\u9ad8\u3044\u4e92\u63db\u6027<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>STUN\u306b\u95a2\u3059\u308b\u5c06\u6765\u306e\u5c55\u671b\u3068\u6280\u8853<\/h2>\n<p>\u901a\u4fe1\u6280\u8853\u304c\u9032\u5316\u3059\u308b\u306b\u3064\u308c\u3066\u3001STUN \u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3001\u52b9\u7387\u6027\u30015G\u3001IoT\u3001AI \u99c6\u52d5\u578b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306a\u3069\u306e\u65b0\u8208\u6280\u8853\u3068\u306e\u7d71\u5408\u306e\u9762\u3067\u5f37\u5316\u3055\u308c\u308b\u3068\u8003\u3048\u3089\u308c\u307e\u3059\u3002<\/p>\n<h2>\u30d7\u30ed\u30ad\u30b7\u30b5\u30fc\u30d0\u30fc\u3092STUN\u3067\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u307e\u305f\u306fSTUN\u3068\u95a2\u9023\u4ed8\u3051\u308b\u65b9\u6cd5<\/h2>\n<p>STUN \u3068\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u69cb\u6210\u3067\u9023\u643a\u3057\u3066\u52d5\u4f5c\u3059\u308b\u3053\u3068\u304c\u3088\u304f\u3042\u308a\u307e\u3059\u3002\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u4ef2\u4ecb\u5f79\u3068\u3057\u3066\u6a5f\u80fd\u3057\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068\u30b5\u30fc\u30d0\u30fc\u306e\u9593\u3067\u8981\u6c42\u3068\u5fdc\u7b54\u3092\u8ee2\u9001\u3057\u307e\u3059\u3002\u4e00\u65b9\u3001STUN \u306f NAT \u30c8\u30e9\u30d0\u30fc\u30b5\u30eb\u3092\u5bb9\u6613\u306b\u3057\u307e\u3059\u3002OneProxy \u304c\u63d0\u4f9b\u3059\u308b\u3088\u3046\u306a\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u3001STUN \u3092\u4f7f\u7528\u3059\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u52b9\u7387\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3001\u304a\u3088\u3073\u6a5f\u80fd\u6027\u3092\u5f37\u5316\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u95a2\u9023\u30ea\u30f3\u30af<\/h2>\n<ol>\n<li><a href=\"https:\/\/tools.ietf.org\/html\/rfc3489\" target=\"_new\" rel=\"noopener nofollow\">RFC 3489 \u2013 \u30aa\u30ea\u30b8\u30ca\u30eb STUN \u4ed5\u69d8<\/a><\/li>\n<li><a href=\"https:\/\/tools.ietf.org\/html\/rfc5389\" target=\"_new\" rel=\"noopener nofollow\">RFC 5389 \u2013 \u66f4\u65b0\u3055\u308c\u305f STUN \u4ed5\u69d8<\/a><\/li>\n<li><a href=\"https:\/\/oneproxy.pro\/jp\/\" target=\"_new\" rel=\"noopener\">OneProxy \u30a6\u30a7\u30d6\u30b5\u30a4\u30c8<\/a> \u2013 STUN \u3068\u4f75\u7528\u3067\u304d\u308b\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306b\u95a2\u3059\u308b\u60c5\u5831\u3002<\/li>\n<\/ol>","protected":false},"featured_media":479186,"menu_order":0,"template":"","meta":{"_acf_changed":false,"content-type":"","inline_featured_image":false,"footnotes":""},"class_list":["post-479185","wiki","type-wiki","status-publish","has-post-thumbnail","hentry"],"acf":{"faq_title":"Frequently Asked Questions about <mark>STUN (Session Traversal Utilities for NAT)<\/mark>","faq_items":[{"question":"What is STUN (Session Traversal Utilities for NAT)?","answer":"<p>STUN, or Session Traversal Utilities for NAT, is a protocol that helps in determining the public IP address and port assigned to a device by a Network Address Translator (NAT). It is used for applications such as VoIP, video streaming, and online gaming to enable devices on a local network to connect to remote networks.<\/p>"},{"question":"How does STUN work?","answer":"<p>STUN operates through a client-server mechanism. The client sends a binding request to a STUN server, and the server responds with the public IP address and port number that correspond to the client's local private address. This information can be used to enable peer-to-peer communication through NAT.<\/p>"},{"question":"What are the key features of STUN?","answer":"<p>The key features of STUN include NAT discovery, public address discovery, simplicity in implementation, and compatibility with various applications and devices.<\/p>"},{"question":"What are the different types of STUN?","answer":"<p>There are different types of STUN, such as Classic STUN (original protocol), Full STUN (updated version with added features), and STUN for Mobile (optimized for mobile networks to reduce latency and conserve battery).<\/p>"},{"question":"What are some common problems with STUN, and how can they be resolved?","answer":"<p>Common problems with STUN include security concerns and compatibility issues with some NAT devices. Solutions include using encryption, combining STUN with other protocols like TURN, and keeping systems up to date.<\/p>"},{"question":"How does STUN compare with similar terms like TURN and ICE?","answer":"<p>STUN is a protocol for NAT traversal, similar to TURN and ICE. While STUN has moderate complexity and limited compatibility with firewalls, TURN is more complex and compatible, and ICE is the most complex but also highly compatible.<\/p>"},{"question":"What are the future perspectives of STUN?","answer":"<p>STUN is likely to see enhancements in the future in areas such as security, efficiency, and integration with emerging technologies like 5G, IoT, and AI-driven networks.<\/p>"},{"question":"How can proxy servers like those from OneProxy be associated with STUN?","answer":"<p>Proxy servers like those provided by OneProxy can work in conjunction with STUN. They act as intermediaries, forwarding requests and responses between clients and servers, while STUN facilitates NAT traversal. This enhances the efficiency, security, and functionality of applications using STUN.<\/p>"}]},"_links":{"self":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/479185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki"}],"about":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/types\/wiki"}],"version-history":[{"count":0,"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/479185\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/media\/479186"}],"wp:attachment":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/media?parent=479185"}],"curies":[{"name":"\u3046\u30fc\u3093","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}