{"id":479187,"date":"2023-08-09T10:31:59","date_gmt":"2023-08-09T10:31:59","guid":{"rendered":""},"modified":"2023-11-30T04:11:58","modified_gmt":"2023-11-30T04:11:58","slug":"stun-server","status":"publish","type":"wiki","link":"https:\/\/oneproxy.pro\/jp\/wiki\/stun-server\/","title":{"rendered":"STUN\u30b5\u30fc\u30d0\u30fc"},"content":{"rendered":"<p>STUN (Session Traversal Utilities for NAT) \u30b5\u30fc\u30d0\u30fc\u306f\u3001\u6700\u65b0\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u901a\u4fe1\u306b\u304a\u3044\u3066\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af \u30a2\u30c9\u30ec\u30b9\u5909\u63db (NAT) \u306e\u80cc\u5f8c\u306b\u3042\u308b\u30c7\u30d0\u30a4\u30b9\u304c\u30d1\u30d6\u30ea\u30c3\u30af \u30a2\u30c9\u30ec\u30b9\u3068\u30dd\u30fc\u30c8\u756a\u53f7\u3092\u691c\u51fa\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001STUN \u30b5\u30fc\u30d0\u30fc\u3001\u305d\u306e\u8d77\u6e90\u3001\u6a5f\u80fd\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3001\u304a\u3088\u3073\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u3068\u306e\u76f8\u4e92\u4f5c\u7528\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">STUN\u30b5\u30fc\u30d0\u30fc\u306e\u8d77\u6e90\u3068\u6b74\u53f2<\/h2>\n\n\n\n<p>STUN \u30b5\u30fc\u30d0\u30fc\u306e\u6982\u5ff5\u306f\u3001\u30d4\u30a2\u30c4\u30fc\u30d4\u30a2 (P2P) \u901a\u4fe1\u306b\u304a\u3051\u308b NAT (\u30cd\u30c3\u30c8\u30ef\u30fc\u30af \u30a2\u30c9\u30ec\u30b9\u5909\u63db) \u306b\u3088\u3063\u3066\u3082\u305f\u3089\u3055\u308c\u308b\u8ab2\u984c\u3078\u306e\u5bfe\u5fdc\u3068\u3057\u3066\u767b\u5834\u3057\u307e\u3057\u305f\u3002 NAT \u306f\u3001IPv4 \u30a2\u30c9\u30ec\u30b9\u306e\u67af\u6e07\u3092\u8efd\u6e1b\u3059\u308b\u305f\u3081\u306b\u8a2d\u8a08\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u76f4\u63a5\u30d4\u30a2\u901a\u4fe1\u306b\u610f\u56f3\u305b\u305a\u969c\u5bb3\u3092\u751f\u307f\u51fa\u3057\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002 STUN \u306b\u3064\u3044\u3066\u306e\u6700\u521d\u306e\u8a00\u53ca\u306f\u30012003 \u5e74\u306b\u767a\u884c\u3055\u308c\u305f IETF \u306e RFC 3489 \u306b\u3042\u308a\u3001\u30d7\u30ed\u30c8\u30b3\u30eb\u306e\u57fa\u790e\u3092\u7bc9\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e3b\u306a\u6a5f\u80fd\u3068\u5206\u6790<\/h2>\n\n\n\n<p>STUN \u30b5\u30fc\u30d0\u30fc\u306f\u3001\u7570\u306a\u308b NAT \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5185\u306e\u30c7\u30d0\u30a4\u30b9\u9593\u306e\u901a\u4fe1\u3092\u5bb9\u6613\u306b\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002\u4e3b\u306a\u6a5f\u80fd\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>NAT \u30c7\u30a3\u30b9\u30ab\u30d0\u30ea:<\/strong> \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u80cc\u5f8c\u306b\u3042\u308b NAT \u30c7\u30d0\u30a4\u30b9\u306e\u30bf\u30a4\u30d7\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30d1\u30d6\u30ea\u30c3\u30af\u30a2\u30c9\u30ec\u30b9\u89e3\u6c7a:<\/strong> \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u30d1\u30d6\u30ea\u30c3\u30af IP \u30a2\u30c9\u30ec\u30b9\u3068\u30dd\u30fc\u30c8\u3092\u691c\u51fa\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u4e92\u63db\u6027:<\/strong> \u30d5\u30eb \u30b3\u30fc\u30f3\u3001\u5236\u9650\u4ed8\u304d\u30b3\u30fc\u30f3\u3001\u30dd\u30fc\u30c8\u5236\u9650\u4ed8\u304d\u30b3\u30fc\u30f3\u3001\u5bfe\u79f0 NAT \u306a\u3069\u3001\u3055\u307e\u3056\u307e\u306a NAT \u30bf\u30a4\u30d7\u3068\u30b7\u30fc\u30e0\u30ec\u30b9\u306b\u9023\u643a\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u3053\u308c\u3089\u306e\u6a5f\u80fd\u306f\u3001VoIP (Voice over Internet Protocol)\u3001\u30d3\u30c7\u30aa\u4f1a\u8b70\u3001\u30aa\u30f3\u30e9\u30a4\u30f3 \u30b2\u30fc\u30e0\u306a\u3069\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u91cd\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3001\u554f\u984c\u3001\u304a\u3088\u3073\u89e3\u6c7a\u7b56<\/h2>\n\n\n\n<p>STUN \u30b5\u30fc\u30d0\u30fc\u306f\u3001\u76f4\u63a5\u30d4\u30a2\u30c4\u30fc\u30d4\u30a2\u901a\u4fe1\u304c\u5fc5\u8981\u306a\u30b7\u30ca\u30ea\u30aa\u3067\u5e83\u304f\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4e00\u822c\u7684\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u306f\u6b21\u306e\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>VoIP \u30b5\u30fc\u30d3\u30b9:<\/strong> \u76f4\u63a5\u97f3\u58f0\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5bb9\u6613\u306b\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30d3\u30c7\u30aa\u4f1a\u8b70\uff1a<\/strong> \u5b89\u5b9a\u3057\u305f\u30d3\u30c7\u30aa\u3068\u30aa\u30fc\u30c7\u30a3\u30aa\u306e\u63a5\u7d9a\u3092\u78ba\u4fdd\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30aa\u30f3\u30e9\u30a4\u30f3\u30b2\u30fc\u30e0\uff1a<\/strong> \u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306e\u30de\u30eb\u30c1\u30d7\u30ec\u30a4\u30e4\u30fc \u30b2\u30fc\u30e0\u4f53\u9a13\u3092\u53ef\u80fd\u306b\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u7279\u5b9a\u306e NAT \u30bf\u30a4\u30d7\u3001\u7279\u306b\u5bfe\u79f0 NAT \u3092\u51e6\u7406\u3059\u308b\u969b\u306e STUN \u306e\u5236\u9650\u306b\u3088\u308a\u3001\u591a\u304f\u306e\u5834\u5408\u3001\u8ab2\u984c\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u5236\u9650\u3092\u514b\u670d\u3059\u308b\u305f\u3081\u306b\u3001TURN (Traversal using Relays around NAT) \u30b5\u30fc\u30d0\u30fc\u306e\u3088\u3046\u306a\u4ee3\u66ff\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u304c\u63a1\u7528\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u985e\u4f3c\u6280\u8853\u3068\u306e\u6bd4\u8f03\u5206\u6790<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u7279\u5fb4<\/th><th>STUN\u30b5\u30fc\u30d0\u30fc<\/th><th>\u30bf\u30fc\u30f3\u30b5\u30fc\u30d0\u30fc<\/th><th>ICE\u30d7\u30ed\u30c8\u30b3\u30eb<\/th><\/tr><\/thead><tbody><tr><td>\u4e3b\u306a\u6a5f\u80fd<\/td><td>NAT\u30c8\u30e9\u30d0\u30fc\u30b5\u30eb<\/td><td>\u30ea\u30ec\u30fc\u3068 NAT \u30c8\u30e9\u30d0\u30fc\u30b5\u30eb<\/td><td>\u5305\u62ec\u7684\u306a NAT \u30c8\u30e9\u30d0\u30fc\u30b5\u30eb<\/td><\/tr><tr><td>\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9<\/td><td>\u4f4e\u3044<\/td><td>\u9ad8\u3044<\/td><td>\u9069\u5ea6<\/td><\/tr><tr><td>\u4e92\u63db\u6027<\/td><td>\u5236\u9650\u3055\u308c\u305f NAT \u30bf\u30a4\u30d7<\/td><td>\u3059\u3079\u3066\u306e NAT \u30bf\u30a4\u30d7<\/td><td>\u5e83\u7bc4\u56f2\u306b\u308f\u305f\u308b<\/td><\/tr><tr><td>\u4f7f\u7528\u4e8b\u4f8b<\/td><td>\u30b7\u30f3\u30d7\u30eb\u306a P2P \u63a5\u7d9a<\/td><td>\u8907\u96d1\u306a\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u74b0\u5883<\/td><td>\u591a\u7528\u9014\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af \u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u5c06\u6765\u306e\u5c55\u671b\u3068\u6280\u8853<\/h2>\n\n\n\n<p>STUN \u30b5\u30fc\u30d0\u30fc\u306e\u5c06\u6765\u306f\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af \u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u306e\u9032\u5316\u3068\u5bc6\u63a5\u306b\u95a2\u4fc2\u3057\u3066\u3044\u307e\u3059\u3002 IPv6 \u306e\u51fa\u73fe\u3068\u3001NAT \u306e\u5ec3\u6b62\u304c\u7d04\u675f\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001STUN \u306e\u5f79\u5272\u306f\u9032\u5316\u3059\u308b\u304b\u3001\u3042\u308b\u3044\u306f\u6e1b\u5c11\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u5f53\u9762\u306f\u3001\u591a\u69d8\u306a NAT \u74b0\u5883\u3092\u3088\u308a\u9069\u5207\u306b\u51e6\u7406\u3059\u308b\u305f\u3081\u306e STUN \u30d7\u30ed\u30c8\u30b3\u30eb\u306e\u6a5f\u80fd\u5f37\u5316\u3084\u30015G \u306a\u3069\u306e\u65b0\u8208\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u3068\u306e\u7d71\u5408\u304c\u671f\u5f85\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">STUN \u306b\u3088\u308b\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306e\u5229\u7528<\/h2>\n\n\n\n<p>\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u3001\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u3068\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u8ffd\u52a0\u30ec\u30a4\u30e4\u30fc\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3067 STUN \u30b5\u30fc\u30d0\u30fc\u3092\u88dc\u5b8c\u3067\u304d\u307e\u3059\u3002\u30d7\u30ed\u30ad\u30b7\u3068 STUN \u30b5\u30fc\u30d0\u30fc\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u306f\u3001\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u304c\u4ef2\u4ecb\u8005\u3068\u3057\u3066\u6a5f\u80fd\u3057\u3001\u533f\u540d\u6027\u304c\u5f37\u5316\u3055\u308c\u3001\u7279\u5b9a\u306e NAT \u95a2\u9023\u306e\u554f\u984c\u306e\u56de\u907f\u306b\u5f79\u7acb\u3064\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u7d44\u307f\u5408\u308f\u305b\u306f\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3068\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u304c\u6700\u512a\u5148\u3055\u308c\u308b\u4f01\u696d\u74b0\u5883\u3067\u7279\u306b\u6709\u76ca\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u95a2\u9023\u30ea\u30f3\u30af<\/h2>\n\n\n\n<p>STUN \u30b5\u30fc\u30d0\u30fc\u3001\u305d\u306e\u6280\u8853\u4ed5\u69d8\u3001\u304a\u3088\u3073\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001\u6b21\u306e\u30ea\u30bd\u30fc\u30b9\u304c\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/tools.ietf.org\/html\/rfc3489\" rel=\"nofollow noopener\" target=\"_blank\">IETF RFC 3489 \u2013 STUN \u2013 \u30cd\u30c3\u30c8\u30ef\u30fc\u30af \u30a2\u30c9\u30ec\u30b9 \u30c8\u30e9\u30f3\u30b9\u30ec\u30fc\u30bf (NAT) \u3092\u4ecb\u3057\u305f\u30e6\u30fc\u30b6\u30fc \u30c7\u30fc\u30bf\u30b0\u30e9\u30e0 \u30d7\u30ed\u30c8\u30b3\u30eb (UDP) \u306e\u5358\u7d14\u306a\u901a\u904e<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/webrtc.org\/\" rel=\"nofollow noopener\" target=\"_blank\">WebRTC.org \u2013 STUN\/TURN \u306b\u3064\u3044\u3066<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.voip-info.org\/stun\/\" rel=\"nofollow noopener\" target=\"_blank\">VoIP \u60c5\u5831 \u2013 STUN \u30b5\u30fc\u30d0\u30fc\u304a\u3088\u3073\u30d7\u30ed\u30c8\u30b3\u30eb\u60c5\u5831<\/a><\/li>\n<\/ol>\n\n\n\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001STUN \u30b5\u30fc\u30d0\u30fc\u3001\u6700\u65b0\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30ad\u30f3\u30b0\u306b\u304a\u3051\u308b STUN \u30b5\u30fc\u30d0\u30fc\u306e\u91cd\u8981\u6027\u3001\u304a\u3088\u3073\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u3068\u306e\u5171\u751f\u95a2\u4fc2\u306b\u3064\u3044\u3066\u5305\u62ec\u7684\u306b\u7406\u89e3\u3057\u307e\u3059\u3002<\/p>","protected":false},"featured_media":479188,"menu_order":0,"template":"","meta":{"_acf_changed":false,"content-type":"","inline_featured_image":false,"footnotes":""},"class_list":["post-479187","wiki","type-wiki","status-publish","has-post-thumbnail","hentry"],"acf":{"faq_title":"Frequently Asked Questions about <mark><\/mark>","faq_items":[{"question":"What is a STUN Server?","answer":"A STUN (Session Traversal Utilities for NAT) server is a standardized protocol used in network applications to discover public Internet Protocol (IP) addresses and the type of NAT firewall they are behind. It's essential for enabling applications to traverse Network Address Translator (NAT) gateways and is widely used in VoIP, video conferencing, and real-time communication."},{"question":"When was the STUN Server Protocol First Defined?","answer":"The STUN protocol was initially defined in RFC 3489, published in March 2003 by the Internet Engineering Task Force (IETF). It has seen several updates, with the latest significant version defined in RFC 5389 in October 2008."},{"question":"How Does the STUN Server Work?","answer":"The STUN server works by receiving a query from a client behind a NAT, processing the request, and responding with the client's public IP address and port number. It consists of a listening component, a response component, and a mapping component, working together in a stateless manner to facilitate communication between hosts located behind NAT devices."},{"question":"What are the Key Features of a STUN Server?","answer":"Key features of a STUN server include its ability to traverse NAT, lightweight design, security measures such as authentication, and versatility in various real-time applications."},{"question":"What Types of STUN Servers Exist?","answer":"There are different types of STUN servers, including Classic STUN for traditional NAT traversal, TURN (Traversal Using Relays around NAT), and ICE (Interactive Connectivity Establishment)."},{"question":"What are Some Problems and Solutions Related to STUN Server Usage?","answer":"Some problems associated with STUN server usage include incompatibility with certain NAT types (Symmetric NAT) and security concerns. Solutions include utilizing TURN servers for complex NAT scenarios and implementing proper authentication and encryption."},{"question":"What are the Future Perspectives of STUN Technology?","answer":"Future perspectives of STUN technology include the integration with artificial intelligence, increased security measures, and enhanced scalability, driven by the ongoing development of real-time applications and IoT devices."},{"question":"How are Proxy Servers Associated with STUN Servers?","answer":"Proxy servers and STUN servers can work together to enhance privacy and security. While the STUN server facilitates NAT traversal, proxy servers add an extra layer of anonymity and content filtering."},{"question":"Where Can I Find More Information about STUN Servers?","answer":"More information about STUN servers can be found at <a href=\"https:\/\/tools.ietf.org\/html\/rfc5389\" target=\"_new\">IETF's Official RFC 5389<\/a>, <a href=\"https:\/\/www.html5rocks.com\/en\/tutorials\/webrtc\/infrastructure\/\" target=\"_new\">WebRTC's Overview of STUN\/TURN<\/a>, and <a href=\"https:\/\/oneproxy.pro\" target=\"_new\">OneProxy Services<\/a>."}]},"_links":{"self":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/479187","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\/479187\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/media\/479188"}],"wp:attachment":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/media?parent=479187"}],"curies":[{"name":"\u3046\u30fc\u3093","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}