{"id":88453,"date":"2020-07-14T07:46:19","date_gmt":"2020-07-14T05:46:19","guid":{"rendered":"https:\/\/prohoster.info\/blog\/administrirovanie\/pryamoj-vpn-tunnel-mezhdu-kompyuterami-cherez-naty-provajderov-bez-vps-s-pomoshhyu-stun-servera-i-yandeks-diska"},"modified":"2026-05-21T17:02:16","modified_gmt":"2026-05-21T15:02:16","slug":"pryamoj-vpn-tunnel-mezhdu-kompyuterami-cherez-naty-provajderov-bez-vps-s-pomoshhyu-stun-servera-i-yandeks-diska","status":"publish","type":"post","link":"https:\/\/prohoster.info\/it\/blog\/administrirovanie\/pryamoj-vpn-tunnel-mezhdu-kompyuterami-cherez-naty-provajderov-bez-vps-s-pomoshhyu-stun-servera-i-yandeks-diska","title":{"rendered":"Tunnel VPN diretto tra computer attraverso i NAT dei provider (senza VPS, usando un server STUN e Yandex.Disk)","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 <a href=\"https:\/\/habr.com\/ru\/post\/478452\/\" rel=\"nofollow\">\u0441\u0442\u0430\u0442\u044c\u0438<\/a> \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043c\u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u044f\u043c\u043e\u0439 <a href=\"https:\/\/prohoster.info\/vpn\">VPN<\/a>-\u0442\u0443\u043d\u043d\u0435\u043b\u044c \u043c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430\u043c\u0438 \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0438\u043c\u0438\u0441\u044f \u0437\u0430 NAT&#8217;\u0430\u043c\u0438 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432. \u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u043b\u0441\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u2014 \u043f\u043e\u0441\u0440\u0435\u0434\u043d\u0438\u043a\u0430 (\u0430\u0440\u0435\u043d\u0434\u043e\u0432\u0430\u043d\u043d\u044b\u0439 <a href=\"https:\/\/prohoster.info\/vps\/ssd-vps\">VPS<\/a> \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0449\u0438\u0439 \u0440\u043e\u043b\u044c, \u0447\u0442\u043e-\u0442\u043e \u0442\u0438\u043f\u0430 STUN-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0443\u0437\u043b\u043e\u0432 \u0434\u043b\u044f \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f). \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043a\u0430\u043a \u043e\u0431\u043e\u0448\u0435\u043b\u0441\u044f \u0431\u0435\u0437 VPS, \u043d\u043e \u043f\u043e\u0441\u0440\u0435\u0434\u043d\u0438\u043a\u0438 \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c \u0438 \u0438\u043c\u0438 \u0431\u044b\u043b\u0438 STUN-\u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u042f\u043d\u0434\u0435\u043a\u0441.\u0414\u0438\u0441\u043a\u2026<br \/>\n<img decoding=\"async\" style=\"display: block; margin: 0 auto;\" src=\"\/wp-content\/uploads\/2020\/07\/1c2a8596270c3c8d94d85c0b28d99211.JPG\" alt=\"\u041f\u0440\u044f\u043c\u043e\u0439 VPN-\u0442\u0443\u043d\u043d\u0435\u043b\u044c \u043c\u0435\u0436\u0434\u0443 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 NAT'\u044b \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432 (\u0431\u0435\u0437 VPS, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e STUN-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u042f\u043d\u0434\u0435\u043a\u0441.\u0434\u0438\u0441\u043a\u0430)\" \/><br \/>\n<a rel=\"nofollow\" name=\"habracut\"><\/a><\/p>\n<h3>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h3>\n<p>\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043f\u0440\u043e\u0448\u043b\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u0430 \u044f \u043f\u043e\u043d\u044f\u043b, \u0447\u0442\u043e \u0433\u043b\u0430\u0432\u043d\u044b\u043c \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u043e\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0431\u044b\u043b\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0441\u0440\u0435\u0434\u043d\u0438\u043a\u0430 \u2014 \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b (VPS) \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0443\u0437\u043b\u0430, \u043a\u0443\u0434\u0430 \u0438 \u043a\u0430\u043a \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f. \u0423\u0447\u0438\u0442\u044b\u0432\u0430\u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 STUN (<a href=\"https:\/\/ru.wikipedia.org\/wiki\/STUN\" rel=\"nofollow\">\u043a\u043e\u0438\u0445 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e<\/a>) \u0434\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0442\u0435\u043a\u0443\u0449\u0438\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f. \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 TCPDump \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 STUN-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0441 \u043a\u043b\u0438\u0435\u043d\u0442\u0430\u043c\u0438 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043d\u0435\u0447\u0438\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u043e\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435. \u041f\u043e\u0433\u0443\u0433\u043b\u0438\u0432 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u043d\u0430\u0442\u043a\u043d\u0443\u043b\u0441\u044f \u043d\u0430 <a href=\"https:\/\/tools.ietf.org\/html\/rfc3489#section-11.1\" rel=\"nofollow\">\u0441\u0442\u0430\u0442\u044c\u044e \u0441 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430<\/a>. \u042f \u043f\u043e\u043d\u044f\u043b \u0447\u0442\u043e \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441 \u043a STUN-\u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u044f \u043d\u0435 \u043c\u043e\u0433\u0443 \u0438 \u0443\u0431\u0440\u0430\u043b \u0437\u0430\u0434\u0443\u043c\u043a\u0443 \u0432 \u00ab\u0434\u0430\u043b\u0435\u043a\u0438\u0439 \u044f\u0449\u0438\u043a\u00bb.<\/p>\n<h3>\u0422\u0435\u043e\u0440\u0438\u044f<\/h3>\n<p>\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c STUN-\u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 Debian \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u0430<\/p>\n<pre><code class=\"bash\"># apt install stun-server<\/code><\/pre>\n<p>\u0438 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u0445 \u044f \u0443\u0432\u0438\u0434\u0435\u043b \u043f\u0430\u043a\u0435\u0442 stun-client, \u043d\u043e \u043a\u0430\u043a-\u0442\u043e \u043d\u0435 \u043f\u0440\u0438\u0434\u0430\u043b \u044d\u0442\u043e\u043c\u0443 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f. \u041d\u043e \u043f\u043e\u0437\u0436\u0435 \u044f \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u043b \u043f\u0440\u043e \u043f\u0430\u043a\u0435\u0442 stun-client \u0438 \u0440\u0435\u0448\u0438\u043b \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u043a\u0430\u043a \u043e\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043f\u043e\u0433\u0443\u0433\u043b\u0438\u0432 \u0438 \u043f\u043e\u044f\u043d\u0434\u0435\u043a\u0441\u0438\u0432 \u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b:<\/p>\n<pre><code class=\"bash\"># apt install stun-client\n# stun stun.ekiga.net -p 21234 -v\n<\/code><\/pre>\n<p>\u0412 \u043e\u0442\u0432\u0435\u0442 \u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b:<\/p>\n<blockquote><p>STUN client version 0.97<br \/>\nOpened port 21234 with fd 3<br \/>\nOpened port 21235 with fd 4<br \/>\nEncoding stun message:<br \/>\nEncoding ChangeRequest: 0<\/p>\n<p>About to send msg of len 28 to 216.93.246.18:3478<br \/>\nEncoding stun message:<br \/>\nEncoding ChangeRequest: 4<\/p>\n<p>About to send msg of len 28 to 216.93.246.18:3478<br \/>\nEncoding stun message:<br \/>\nEncoding ChangeRequest: 2<\/p>\n<p>About to send msg of len 28 to 216.93.246.18:3478<br \/>\nReceived stun message: 92 bytes<br \/>\nMappedAddress = &lt;\u041c\u043e\u0439 IP&gt;:2885<br \/>\nSourceAddress = 216.93.246.18:3478<br \/>\nChangedAddress = 216.93.246.17:3479<br \/>\nUnknown attribute: 32800<br \/>\nServerName = Vovida.org 0.98-CPC<br \/>\nReceived message of type 257 id=1<br \/>\nEncoding stun message:<br \/>\nEncoding ChangeRequest: 0<\/p>\n<p>About to send msg of len 28 to 216.93.246.17:3478<br \/>\nEncoding stun message:<br \/>\nEncoding ChangeRequest: 4<\/p>\n<p>About to send msg of len 28 to 216.93.246.18:3478<br \/>\nEncoding stun message:<br \/>\nEncoding ChangeRequest: 2<\/p>\n<p>About to send msg of len 28 to 216.93.246.18:3478<br \/>\nEncoding stun message:<br \/>\nEncoding ChangeRequest: 0<\/p>\n<p>About to send msg of len 28 to &lt;\u041c\u043e\u0439 IP&gt;:2885<br \/>\nReceived stun message: 28 bytes<br \/>\nChangeRequest = 0<br \/>\nReceived message of type 1 id=11<br \/>\nEncoding stun message:<br \/>\nEncoding ChangeRequest: 0<\/p>\n<p>About to send msg of len 28 to 216.93.246.17:3478<br \/>\nEncoding stun message:<br \/>\nEncoding ChangeRequest: 4<\/p>\n<p>About to send msg of len 28 to 216.93.246.18:3478<br \/>\nEncoding stun message:<br \/>\nEncoding ChangeRequest: 2<\/p>\n<p>About to send msg of len 28 to 216.93.246.18:3478<br \/>\nReceived stun message: 92 bytes<br \/>\nMappedAddress = &lt;\u041c\u043e\u0439 IP&gt;:2885<br \/>\nSourceAddress = 216.93.246.17:3479<br \/>\nChangedAddress = 216.93.246.18:3478<br \/>\nUnknown attribute: 32800<br \/>\nServerName = Vovida.org 0.98-CPC<br \/>\nReceived message of type 257 id=10<br \/>\nEncoding stun message:<br \/>\nEncoding ChangeRequest: 4<\/p>\n<p>About to send msg of len 28 to 216.93.246.18:3478<br \/>\nEncoding stun message:<br \/>\nEncoding ChangeRequest: 2<\/p>\n<p>About to send msg of len 28 to 216.93.246.18:3478<br \/>\nEncoding stun message:<br \/>\nEncoding ChangeRequest: 4<\/p>\n<p>About to send msg of len 28 to 216.93.246.18:3478<br \/>\nEncoding stun message:<br \/>\nEncoding ChangeRequest: 2<\/p>\n<p>About to send msg of len 28 to 216.93.246.18:3478<br \/>\nEncoding stun message:<br \/>\nEncoding ChangeRequest: 4<\/p>\n<p>About to send msg of len 28 to 216.93.246.18:3478<br \/>\nEncoding stun message:<br \/>\nEncoding ChangeRequest: 2<\/p>\n<p>About to send msg of len 28 to 216.93.246.18:3478<br \/>\nEncoding stun message:<br \/>\nEncoding ChangeRequest: 4<\/p>\n<p>About to send msg of len 28 to 216.93.246.18:3478<br \/>\nEncoding stun message:<br \/>\nEncoding ChangeRequest: 2<\/p>\n<p>About to send msg of len 28 to 216.93.246.18:3478<br \/>\nEncoding stun message:<br \/>\nEncoding ChangeRequest: 4<\/p>\n<p>About to send msg of len 28 to 216.93.246.18:3478<br \/>\nEncoding stun message:<br \/>\nEncoding ChangeRequest: 2<\/p>\n<p>About to send msg of len 28 to 216.93.246.18:3478<br \/>\ntest I = 1<br \/>\ntest II = 0<br \/>\ntest III = 0<br \/>\ntest I(2) = 1<br \/>\nis nat = 1<br \/>\nmapped IP same = 1<br \/>\nhairpin = 1<br \/>\npreserver port = 0<br \/>\nPrimary: Independent Mapping, Port Dependent Filter, random port, will hairpin<br \/>\nReturn value is 0x000006<\/p><\/blockquote>\n<p>\u0421\u0442\u0440\u043e\u043a\u0430 \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c<\/p>\n<blockquote><p>MappedAddress = &lt;\u041c\u043e\u0439 IP&gt;:2885<\/p><\/blockquote>\n<p>\u043a\u0430\u043a \u0440\u0430\u0437 \u0442\u043e, \u0447\u0442\u043e \u043d\u0430\u0434\u043e! \u041e\u043d\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u043b\u0430 \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0434\u043b\u044f \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c UDP \u043f\u043e\u0440\u0442\u0443 21234. \u041d\u043e \u044d\u0442\u043e \u0432\u0441\u0435\u0433\u043e \u043b\u0438\u0448\u044c \u043f\u043e\u043b \u0434\u0435\u043b\u0430, \u0432\u0441\u0442\u0430\u043b \u0432\u043e\u043f\u0440\u043e\u0441 \u043a\u0430\u043a \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u043c\u0443 \u0443\u0437\u043b\u0443 \u0438 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c VPN-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430, \u0430 \u043c\u043e\u0436\u0435\u0442 Telegram?! \u0412\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u043c\u043d\u043e\u0433\u043e \u0438 \u0440\u0435\u0448\u0438\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u042f\u043d\u0434\u0435\u043a\u0441.\u0434\u0438\u0441\u043a, \u0442\u0430\u043a \u043a\u0430\u043a \u043f\u043e\u043f\u0430\u0434\u0430\u043b\u0430\u0441\u044c \u043c\u043d\u0435 <a href=\"https:\/\/fritool.ru\/curl-for-webdav\/\" rel=\"nofollow\">\u0441\u0442\u0430\u0442\u044c\u044f \u043e \u0440\u0430\u0431\u043e\u0442\u0435 Curl \u0447\u0435\u0440\u0435\u0437 WebDav \u0441 \u042f\u043d\u0434\u0435\u043a\u0441.\u0434\u0438\u0441\u043a\u043e\u043c<\/a>. \u041f\u043e\u0434\u0443\u043c\u0430\u0432 \u043d\u0430\u0434 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u044f \u043f\u0440\u0438\u0448\u0435\u043b \u043a \u0442\u0430\u043a\u043e\u0439 \u0441\u0445\u0435\u043c\u0435:<\/p>\n<ol>\n<li>\u0421\u0438\u0433\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e \u0433\u043e\u0442\u043e\u0432\u043d\u043e\u0441\u0442\u0438 \u0443\u0437\u043b\u043e\u0432 \u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u043d\u0430\u043b\u0438\u0447\u0438\u0435\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0441 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u043c\u0435\u0442\u043a\u043e\u0439 \u043d\u0430 \u042f\u043d\u0434\u0435\u043a\u0441.\u0434\u0438\u0441\u043a\u0435;<\/li>\n<li>\u0415\u0441\u043b\u0438 \u0443\u0437\u043b\u044b \u0433\u043e\u0442\u043e\u0432\u044b, \u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043e\u0442 STUN-\u0441\u0435\u0440\u0432\u0435\u0440\u0430;<\/li>\n<li>\u0412\u044b\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043d\u0430 \u042f\u043d\u0434\u0435\u043a\u0441.\u0434\u0438\u0441\u043a;<\/li>\n<li>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0438 \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0443\u0437\u043b\u0430 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 \u043d\u0430 \u042f\u043d\u0434\u0435\u043a\u0441.\u0434\u0438\u0441\u043a\u0435;<\/li>\n<li>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u043c \u0443\u0437\u043b\u043e\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e OpenVPN.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h3>\u041f\u0440\u0430\u043a\u0442\u0438\u043a\u0430<\/h3>\n<p>\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0434\u0443\u043c\u0430\u0432, \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u043e\u043f\u044b\u0442\u0430 \u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438, \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 \u0441\u043a\u043e\u0440\u0443\u044e \u0440\u0443\u043a\u0443. \u041d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f:<\/p>\n<pre><code class=\"bash\"># apt install openvpn stun-client curl <\/code><\/pre>\n<p>\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u0430\u043c \u0441\u043a\u0440\u0438\u043f\u0442:<\/p>\n<p><b class=\"spoiler_title\">\u041f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442<\/b><\/p>\n<pre><code class=\"bash\"># cat vpn8.sh<\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre><code class=\"bash\">#!\/bin\/bash\n######################## \u0417\u0430\u0434\u0430\u0435\u043c \u0446\u0432\u0435\u0442\u043d\u043e\u0439 \u0442\u0435\u043a\u0441\u0442 ###\nWARN='33[37;1;41m'\t\t\t\t#\nEND='33[0m'\t\t\t\t\t#\nRED='33[0;31m'         #  ${RED}\t\t#\nGREEN='33[0;32m'      #  ${GREEN}\t\t#\n#################################################\n####################### \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u044b\u043c\u0438\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 #########################################################\nal=\"echo readlink dirname grep awk md5sum shuf nc curl sleep openvpn cat stun\"\nch=0\nfor i in $al; do which $i &gt; \/dev\/null || echo -e \"${WARN}\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c $i ${END}\"; which $i &gt; \/dev\/null || ch=1; done\nif (( $ch &gt; 0 )); then echo -e \"${WARN}\u041e\u0439, \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f${END}\"; exit; fi\n#######################################################################################################################\n\nif [[ $1 == '' ]]; then echo -e \"${WARN}\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f (\u043b\u044e\u0431\u043e\u0435 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u0441\u043b\u043e\u0432\u043e, \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u0435 \u0441 \u0434\u0432\u0443\u0445 \u0441\u0442\u043e\u0440\u043e\u043d!) ${END} t\n${GREEN}\u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0432 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435 \u043f\u0440\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \/etc\/rc.local \u0441\u0442\u0440\u043e\u043a\u0443 nohup \/&lt;\u043f\u0443\u0442\u044c \u043a \u0444\u0430\u0439\u043b\u0443&gt;\/vpn8.sh  &gt; \/var\/log\/vpn8.log 2&gt;\/dev\/hull &amp; ${END}\"; exit; fi\nABSOLUTE_FILENAME=`readlink -f \"$0\"`                                                    # \u043f\u043e\u043b\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u0434\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430\nDIR=`dirname \"$ABSOLUTE_FILENAME\"`                                                      # \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043b\u0435\u0436\u0438\u0442 \u0441\u043a\u0440\u0438\u043f\u0442\n############################### \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u044f \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 ##################################\nkey=\"$DIR\/secret.key\"\nif [ ! -f \"$key\" ]; then\n\t\t\t\techo -e \"${WARN}\u0421\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 VPN-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d, \u0434\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u043a\u043b\u044e\u0447\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435: \nopenvpn --genkey --secret secret.key \u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435: \u043a\u043b\u044e\u0447 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u0434\u043e\u043b\u0436\u0435\u043d \n\u0431\u044b\u0442\u044c \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u043c \u0441 \u0434\u0432\u0443\u0445 \u0441\u0442\u043e\u0440\u043e\u043d!!!${END}\n # ls -l secret.key\n -rw------- 1 root root 637 \u043d\u043e\u044f 27 11:12 secret.key\n # chmod 600 secret.key\";\n\t\t\t\texit;\n\t\t\t\tfi\n########################################################################################################################\n\nABSOLUTE_FILENAME=`readlink -f \"$0\"`                                                    # \u043f\u043e\u043b\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u0434\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430\nDIR=`dirname \"$ABSOLUTE_FILENAME\"`                                                      # \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043b\u0435\u0436\u0438\u0442 \u0441\u043a\u0440\u0438\u043f\u0442\nname=$(uname -n | md5sum | awk '{print $1}')\nvpn=$(echo $1 | md5sum | awk '{print $1}')\nstun=\"stun.ekiga.net\" \t# STUN \u0441\u0435\u0440\u0432\u0435\u0440\nusername=\"Yandex\"\t# \u041b\u043e\u0433\u0438\u043d \u043e\u0442 \u042f\u043d\u0434\u0435\u043a\u0441.\u0434\u0438\u0441\u043a\u0430\t\npassword=\"Password\"\t# \u041f\u0430\u0440\u043e\u043b\u044c \u043e\u0442 \u042f\u043d\u0434\u0435\u043a\u0441.\u0434\u0438\u0441\u043a\u0430\nlocalport=`shuf -i 20000-65000 -n 1`\t# \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u043e\u0440\u0442\u0430\n\necho \"$(date) \u0421\u043e\u0437\u0434\u0430\u044e \u043f\u0430\u043f\u043a\u0443 \u043d\u0430 \u042f\u043d\u0434\u0435\u043a\u0441.\u0434\u0438\u0441\u043a\u0435\"\ncurl -X MKCOL --user \"${username}:${password}\" https:\/\/webdav.yandex.ru\/vpn-$vpn\necho \"$(date) \u041e\u0447\u0438\u0449\u0430\u044e \u043f\u0430\u043f\u043a\u0443 \u043e\u0442 \u0432\u0441\u044f\u043a\u043e\u0433\u043e \u043c\u0443\u0441\u043e\u0440\u0430\"\nfor i in `curl --silent --user \"$username:$password\" -X PROPFIND -H \"Depth: 1\" https:\/\/webdav.yandex.ru\/vpn-$vpn\/ | sed 's\/&gt;&lt;\/n\/g' | grep \"d:displayname\" | sed 's\/d:displayname\/\/g' | sed 's\/&gt;\/\/g' | sed 's\/&lt;\/\/' | sed 's\/\/\/\/g' | grep -v $(date +%Y-%m-%d-%H-%M)`; do\n\techo \"$(date) Delete: $i\"\n\tcurl -X DELETE --user \"${username}:${password}\" https:\/\/webdav.yandex.ru\/vpn-$vpn\/$i\n\tdone\n\nuntil [ $c ];do\n\n\tuntil [[ $b ]]; do\n\t\techo \"$(date) \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u044e \u043f\u0430\u043f\u043a\u0443\"\n\t\tdate=`date +%Y-%m-%d-%H-%M`\n\t\tmydata=`curl --silent --user \"${username}:${password}\" -X PROPFIND -H \"Depth: 1\" https:\/\/webdav.yandex.ru\/vpn-$vpn\/ | sed 's\/&gt;&lt;\/&gt;n&lt;\/g' | grep $name | grep $date | grep \"d:displayname\"`\n\t\tif [[ -z $mydata ]]; \tthen\n\t\t\t\t\t\techo \"$(date) \u0424\u0430\u0439\u043b \u0433\u043e\u0442\u043e\u0432\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\"\n\t\t\t\t\t        echo \"$date\" &gt; \"\/tmp\/$date-$name-ready.txt\"\n\t\t\t\t\t        curl -T \"\/tmp\/$date-$name-ready.txt\" --user \"$username:$password\" https:\/\/webdav.yandex.ru\/vpn-$vpn\/$date-$name-ready.txt\n\t\t\t\t\telse\n\t\t\t\t\t\techo \"$(date) \u0424\u0430\u0439\u043b \u0433\u043e\u0442\u043e\u0432\u043d\u043e\u0441\u0442\u0438 \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 - $date\"\n\t\t\t\t\tfi\n\t\tremote=`curl --silent --user \"${username}:${password}\" -X PROPFIND -H \"Depth: 1\" https:\/\/webdav.yandex.ru\/vpn-$vpn\/ | sed 's\/&gt;&lt;\/&gt;n&lt;\/g' | grep -v $name | grep $date | grep \"d:displayname\"`\n\t\tif [[ -z $remote ]];\tthen\n\t\t\t\t\t\techo -e \"$(date) ${RED} \u0423\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0439 \u0443\u0437\u0435\u043b \u043d\u0435 \u0433\u043e\u0442\u043e\u0432 ${END}\"\n\t\t\t\t\t\techo \"$(date) \u0416\u0434\u0443\"\n\t\t\t\t\t\tsleep 20\n\t\t\t\t\telse\n\t\t\t\t\t\techo -e \"$(date) ${GREEN} \u0423\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0439 \u0443\u0437\u0435\u043b \u0433\u043e\u0442\u043e\u0432 ${END}\"\n\t\t\t\t\t\tb=1\n\t\t\t\t\t\ta=''\n\t\t\t\t\tfi\n\tdone\n\n\tuntil [ $a ]; do\n\t\techo \"$(date) \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0442 STUN \u0441\u0435\u0440\u0432\u0435\u0440\u0430: $stun\"\n                mydata=`stun $stun -p $localport -v 2&gt;&amp;1 | grep MappedAddress | sort | uniq`\n                echo -e \"$(date) ${GREEN}\u041c\u043e\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f: $mydata${END}\"\n                echo \"$mydata\" &gt; \"$DIR\/mydata\"\n                echo \"$(date) \u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u042f\u043d\u0434\u0435\u043a\u0441.\u0434\u0438\u0441\u043a\"\n                curl -T \"$DIR\/mydata\" --user \"$username:$password\" https:\/\/webdav.yandex.ru\/vpn-$vpn\/$name.txt\n\t\techo \"$(date) \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0443\u0437\u043b\u0430\"\n\t\tfilename=$(curl --silent --user \"${username}:${password}\" -X PROPFIND -H \"Depth: 1\" https:\/\/webdav.yandex.ru\/vpn-$vpn\/ | sed 's\/&gt;&lt;\/n\/g' | grep \"d:displayname&gt;\" | grep \"txt\" | grep -v \"$name\" | grep -v \"ready\" | sed 's|.*d:displayname&gt;||' | sed 's\/&lt;\/ \/g' | awk '{print $1}')\n\t\techo \"$(date) \u0427\u0442\u0435\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0443\u0437\u043b\u0430: $filename\"\n\t\taddress=$(curl --silent --user \"$username:$password\" https:\/\/webdav.yandex.ru\/vpn-$vpn\/$filename | sort | uniq | head -n1 | sed 's\/:\/ \/g')\n\t\techo \"$(date) \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 IP-\u0430\u0434\u0440\u0435\u0441\u0430 \u0438 \u043f\u043e\u0440\u0442\u0430\"\n\t\tip=$(echo \"$address\" | awk '{print $3}')\n\t\tport=$(echo \"$address\" | awk '{print $4}')\n\t\tif [[ -n \"$ip\" &amp;&amp; -n \"$port\" ]]; then\n\t\t\techo -e \"$(date) ${GREEN} \u0421\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 $ip $port ${END}\"\n       \t\t \topenvpn --remote $ip --rport $port --lport $localport \n\t       \t \t    --proto udp --dev tap --float --auth-nocache --verb 3 --mute 20 \n\t       \t \t    --ifconfig 10.45.54.2 255.255.255.252 \n\t       \t\t    --secret \"$DIR\/secret.key\" \n\t       \t\t    --auth SHA256 --cipher AES-256-CBC \n\t        \t    --ncp-disable --ping 10  --ping-exit 30 \n\t        \t    --comp-lzo yes\n\t\t\techo -e \"$(date) ${WARN} \u0421\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0440\u0430\u0437\u043e\u0440\u0432\u0430\u043d\u043e${END}\"\n\t\t\ta=1\n\t\t\tb=''\n\t\t\telse\n\t\t\ta=1\n\t\t\tb=''\n\t\t\tfi\n\tdone\ndone<\/code><\/pre>\n<p>\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043d\u0443\u0436\u043d\u043e:<\/p>\n<ol>\n<li>\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u0431\u0443\u0444\u0435\u0440 \u0438 \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:\n<pre><code class=\"bash\"># nano vpn8.sh <\/code><\/pre>\n<\/li>\n<li>\u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043b\u043e\u0433\u0438\u043d \u0438 \u043f\u0430\u0440\u043e\u043b\u044c \u043e\u0442 \u042f\u043d\u0434\u0435\u043a\u0441.\u0434\u0438\u0441\u043a\u0430.<\/li>\n<li>\u0432 \u043f\u043e\u043b\u0435 &#171;&#8212;ifconfig 10.45.54.(1 \u0438\u043b\u0438 2) 255.255.255.252&#187; \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 IP-\u0430\u0434\u0440\u0435\u0441 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430<\/li>\n<li>c\u043e\u0437\u0434\u0430\u0442\u044c <b>secret.key<\/b> \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:\n<pre><code class=\"bash\"># openvpn --genkey --secret secret.key <\/code><\/pre>\n<\/li>\n<li>\u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u043c:\n<pre><code class=\"bash\"># chmod +x vpn8.sh<\/code><\/pre>\n<\/li>\n<li>\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442:\n<pre><code class=\"bash\"># .\/vpn8.sh nZbVGBuX5dtturD<\/code><\/pre>\n<p>\u0433\u0434\u0435 nZbVGBuX5dtturD \u2014 ID-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 <a href=\"https:\/\/strongpasswordgenerator.com\/\" rel=\"nofollow\">\u0442\u0443\u0442<\/a><\/li>\n<\/ol>\n<p>\u041d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u043c \u0443\u0437\u043b\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0432\u0441\u0451 \u0442\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0437\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 secret.key \u0438 ID-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f, \u043e\u043d\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u044b\u043c\u0438.<\/p>\n<p>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 (\u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0432\u0440\u0435\u043c\u044f \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0441\u0438\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043e):<\/p>\n<pre><code class=\"bash\">cat vpn10.sh<\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre><code class=\"bash\">#!\/bin\/bash\nstuns=\"stun.sipnet.ru stun.ekiga.net\"   \t\t# \u0421\u043f\u0438\u0441\u043e\u043a STUN \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0431\u0435\u043b\nusername=\" Login \"\t\t# \u041b\u043e\u0433\u0438\u043d \u043e\u0442 \u042f\u043d\u0434\u0435\u043a\u0441.\u0434\u0438\u0441\u043a\u0430\npassword=\" Password \"   \t# \u041f\u0430\u0440\u043e\u043b\u044c \u043e\u0442 \u042f\u043d\u0434\u0435\u043a\u0441.\u0434\u0438\u0441\u043a\u0430\nintip=\"10.23.22.1\"\t\t# IP-\u0430\u0434\u0440\u0435\u0441 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\n\nWARN='33[37;1;41m'\nEND='33[0m'\nRED='33[0;31m'\nGREEN='33[0;32m'\nal=\"ip echo readlink dirname grep awk md5sum openssl sha256sum shuf curl sleep openvpn cat stun\"\nch=0\nfor i in $al; do which $i &gt; \/dev\/null || echo -e \"${WARN}\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c $i ${END}\"; which $i &gt; \/dev\/null || ch=1; done\nif (( $ch &gt; 0 )); then echo -e \"${WARN}\u041e\u0439, \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f${END}\"; exit; fi\nif [[ $1 == '' ]];\n\tthen\n\t\techo -e \"${WARN}\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f (\u043b\u044e\u0431\u043e\u0435 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u0441\u043b\u043e\u0432\u043e, \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u0435 \u0441 \u0434\u0432\u0443\u0445 \u0441\u0442\u043e\u0440\u043e\u043d!) ${END} t\n\t\t${GREEN}\u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0432 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435 \u043f\u0440\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \/etc\/rc.local \u0441\u0442\u0440\u043e\u043a\u0443 nohup \/&lt;\u043f\u0443\u0442\u044c \u043a \u0444\u0430\u0439\u043b\u0443&gt;\/vpn10.sh  &gt; \/var\/log\/vpn10.log 2&gt;\/dev\/hull &amp; ${END}\"\n\t\texit\nfi\nABSOLUTE_FILENAME=`readlink -f \"$0\"`                                                    # \u043f\u043e\u043b\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u0434\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430\nDIR=`dirname \"$ABSOLUTE_FILENAME\"`                                                      # \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043b\u0435\u0436\u0438\u0442 \u0441\u043a\u0440\u0438\u043f\u0442\nkey=\"$DIR\/secret.key\"\nuntil [[ -n \"$iftosrv\" ]]\n\tdo\n\t\techo \"$(date) \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\"; iftosrv=`ip route get 8.8.8.8 | head -n 1 | sed 's|.*dev ||' | awk '{print $1}'`\n\t\tsleep 5\ndone\ntimedatectl\nname=$(uname -n | md5sum | awk '{print $1}')\nvpn=$(echo $1 | md5sum | awk '{print $1}')\necho \"$(date) \u0421\u043e\u0437\u0434\u0430\u044e \u043f\u0430\u043f\u043a\u0443 \u043d\u0430 \u042f\u043d\u0434\u0435\u043a\u0441.\u0434\u0438\u0441\u043a\u0435\"\ncurl -X MKCOL --user \"${username}:${password}\" https:\/\/webdav.yandex.ru\/vpn-$vpn\necho \"$(date) ID \u043d\u0430 \u0434\u0438\u0441\u043a\u0435: $vpn\"\nuntil [ $c ];do\n\techo \"$(date) \u041e\u0447\u0438\u0449\u0430\u044e \u043f\u0430\u043f\u043a\u0443 \u043e\u0442 \u0432\u0441\u044f\u043a\u043e\u0433\u043e \u043c\u0443\u0441\u043e\u0440\u0430\"\n\tfor i in `curl --silent --user \"$username:$password\" -X PROPFIND -H \"Depth: 1\" https:\/\/webdav.yandex.ru\/vpn-$vpn\/ | sed 's\/&gt;&lt;\/n\/g' | grep \"d:displayname\" | sed 's\/d:displayname\/\/g' | sed 's\/&gt;\/\/g' | sed 's\/&lt;\/\/' | sed 's\/\/\/\/g' | grep -v $(date +%Y-%m-%d-%H-%M)`\n               do\n               echo -e \"$(date)${RED} \u0423\u0434\u0430\u043b\u044f\u044e \u0441\u0442\u0430\u0440\u044b\u0439 \u0444\u0430\u0439\u043b: $i${END}\"\n               curl -X DELETE --user \"${username}:${password}\" https:\/\/webdav.yandex.ru\/vpn-$vpn\/$i\n               done\n\techo \"$(date) ID \u043d\u0430 \u0434\u0438\u0441\u043a\u0435: $vpn\"\n        openvpn --genkey --secret \"$key\"\n        passwd=`echo \"$vpn-tt\" | sha256sum | awk '{print $1}'`\n        openssl AES-256-CBC -e -in \"$key\" -out \"$DIR\/file.enc\" -k \"$passwd\" -base64\n        curl -T \"$DIR\/file.enc\" --user \"$username:$password\" https:\/\/webdav.yandex.ru\/vpn-$vpn\/key.enc\n        rm \"$DIR\"\/file.enc\n\techo -e \"$(date) ${GREEN}\u0424\u0430\u0437\u0430 1 - \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0433\u043e\u0442\u043e\u0432\u043d\u043e\u0441\u0442\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0443\u0437\u043b\u0430${END}\"\n\tgo=3\n\tlocalport=`shuf -i 20000-65000 -n 1`    # \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u043e\u0440\u0442\u0430\n\tstart=''\n\tremote=''\n\ttimeout1=''\n\tnextcheck=''\n\ttimestart=''\n\tuntil [[ $b ]]\n\t\tdo\n\t\techo \"$(date) \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u044e \u043f\u0430\u043f\u043a\u0443\"\n\t\tdate=`date +%s`\n\t\ttimeout1=60\n\t\techo \"$(date) \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430 \u0433\u043e\u0442\u043e\u0432\u043d\u043e\u0441\u0442\u0438 $date\"\n\t\techo \"$date\" &gt; \"\/tmp\/ready-$date-$name.txt\"\n\t\tcurl -T \"\/tmp\/ready-$date-$name.txt\" --user \"$username:$password\" https:\/\/webdav.yandex.ru\/vpn-$vpn\/ready-$name.txt\n\t\treadyfile=`curl --silent --user \"${username}:${password}\" -X PROPFIND -H \"Depth: 1\" https:\/\/webdav.yandex.ru\/vpn-$vpn\/ | sed 's\/&gt;&lt;\/&gt;n&lt;\/g' | grep -v $name | grep \"ready\" | grep \"d:displayname\" | sed 's\/&lt;d:displayname&gt;\/\/g' | sed 's\/&lt;\/d:displayname&gt;\/\/g'`\n\t\tif [[ -z $readyfile ]]\n\t\t\tthen\n\t\t\t\techo -e \"$(date) ${RED} \u0423\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0439 \u0443\u0437\u0435\u043b \u043d\u0435 \u0433\u043e\u0442\u043e\u0432 ${END}\"\n\t\t\t\techo \"$(date) \u0416\u0434\u0443 60 \u0441\u0435\u043a\u0443\u043d\u0434\"\n\t\t\t\tsleep $timeout1\n\t\t\telse\n\t\t\t\tremote=$(curl --silent --user \"$username:$password\" https:\/\/webdav.yandex.ru\/vpn-$vpn\/$readyfile)\n\t\t\t\techo -e \"$(date) ${GREEN} \u0423\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0439 \u0443\u0437\u0435\u043b \u0433\u043e\u0442\u043e\u0432 ${END}\"\n\t\t\t\tstart=`curl --silent --user \"${username}:${password}\" -X PROPFIND -H \"Depth: 1\" https:\/\/webdav.yandex.ru\/vpn-$vpn\/ | sed 's\/&gt;&lt;\/&gt;n&lt;\/g' | grep \"start\" | grep \"d:displayname\" | sed 's\/-\/ \/g' | awk '{print $2}'`\n\t\t\t\tif [[ -z $start ]]\n\t\t\t\t\tthen\n                                                let nextcheck=$timeout1-$date+$remote\n\t\t\t\t\t\tlet timestart=$date+$timeout1-$nextcheck\n\t\t\t\t\t\tgo=$nextcheck\n\t\t\t\t\t\techo \"$timestart\" &gt; \"\/tmp\/start-$date-$name.txt\"\n\t\t\t\t\t\tcurl -T \"\/tmp\/start-$date-$name.txt\" --user \"$username:$password\" https:\/\/webdav.yandex.ru\/vpn-$vpn\/start-$date-$name.txt\n\t\t\t\t\telse\n\t\t\t\t\t\techo \"$(date) \u0436\u0434\u0443 $go \u0441\u0435\u043a\u0443\u043d\u0434\"\n\t\t\t\t\t\tsleep $go\n\t\t\t\t\t\tb=1\n\t\t\t\t\t\ta=''\n\n\t\t\t\t\tfi\n\n\t\t\tfi\n\tdone\necho -e \"$(date) ${GREEN}\u0424\u0430\u0437\u0430 2 - \u041e\u0431\u043c\u0435\u043d \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f${END}\"\nmydata=''\nfilename=''\naddress=''\nmyip=''\nip=''\nport=''\nex=0\n\tuntil [ $a ]; do\n                until [[ -n \"$mydata\" ]]; do\n\t\t\t\tk=`echo \"$stuns\" | wc -w`\n\t\t\t\tx=1\n\t\t\t\tz=`shuf -i 1-$k -n 1`\n\t\t\t\tfor st in $stuns; do\n\t\t\t\t\tif [[ $x == $z ]]; then\n\t\t\t\t\t\tstun=$st;\n\t\t\t\t\tfi;\n\t\t\t\t\t(( x++ ));\n\t\t\t\tdone\n                                echo \"$(date) \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0442 STUN \u0441\u0435\u0440\u0432\u0435\u0440\u0430: $stun\"\n\t\t\t\tsleep 5 &amp;&amp; for pid in $(ps xa | grep \"stun \"$stun\" 1 -p \"$localport\" -v\" | grep -v grep | awk '{print $1}'); do kill $pid; done &amp;\n                                mydata=`stun \"$stun\" 1 -p \"$localport\" -v 2&gt;&amp;1 | grep \"MappedAddress\" | sort | uniq`\n                done\n\t\t\techo -e \"$(date) ${GREEN}\u041c\u043e\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f: $mydata${END}\"\n               \t \techo \"$(date) \u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u042f\u043d\u0434\u0435\u043a\u0441.\u0434\u0438\u0441\u043a\"\n\t\t\techo \"$mydata\" &gt; \"$DIR\/mydata\"\n\t\t\techo \"IntIP $intip\" &gt;&gt; \"$DIR\/mydata\"\n\t\t\tcurl -T \"$DIR\/mydata\" --user \"$username:$password\" https:\/\/webdav.yandex.ru\/vpn-$vpn\/$name-ipport.txt\n\t\t\trm \"$DIR\/mydata\"\n\t\t\tsleep 5\n\t\t\techo \"$(date) \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0443\u0437\u043b\u0430\"\n\t\t\tfilename=$(curl --silent --user \"${username}:${password}\" -X PROPFIND -H \"Depth: 1\" https:\/\/webdav.yandex.ru\/vpn-$vpn\/ | sed 's\/&gt;&lt;\/n\/g' | grep \"d:displayname&gt;\" | grep \"ipport\" | grep -v \"$name\" |  sed 's|.*d:displayname&gt;||' | sed 's\/&lt;\/ \/g' | awk '{print $1}')\n\t\t\tif [[ -n \"$filename\" ]]\n\t\t\t\tthen\n\t\t\t\t\techo \"$(date) \u0427\u0442\u0435\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0443\u0437\u043b\u0430: $filename\"\n\t\t\t\t\taddress=$(curl --silent --user \"$username:$password\" https:\/\/webdav.yandex.ru\/vpn-$vpn\/$filename | grep \"MappedAddress\" | head -n1 | sed 's\/:\/ \/g')\n\t\t\t\t\tintip2=$(curl --silent --user \"$username:$password\" https:\/\/webdav.yandex.ru\/vpn-$vpn\/$filename | grep \"IntIP\" | head -n1 | awk '{print $2}')\n\t\t\t\t\techo \"$(date) \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 IP-\u0430\u0434\u0440\u0435\u0441\u0430 \u0438 \u043f\u043e\u0440\u0442\u0430: $address $sesid2 $tunid2\"\n\t\t\t\t\tip=$(echo \"$address\" | awk '{print $3}')\n\t\t\t\t\tport=$(echo \"$address\" | awk '{print $4}')\n\t\t\t\t\tmyip=`ip route get \"$ip\" | head -n 1 | sed 's|.*src ||' | awk '{print $1}'`\n\t\t\t\t\tif [[ -n \"$ip\" &amp;&amp; -n \"$port\" &amp;&amp; -n \"$myip\" &amp;&amp; -n \"$localport\" ]];\n\t\t\t\t\t\tthen\n\t\t\t\t\t\t\techo -e \"$(date) ${GREEN} \u0421\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 $ip $port ${END}\"\n\t\t\t\t\t\t\techo -e  \"`date` ${GREEN} $myip:$localport -&gt; $ip:$port ${END}\"\n\t                \t        \t\tcurl --silent --user \"$username:$password\" https:\/\/webdav.yandex.ru\/vpn-$vpn\/key.enc &gt; \"$DIR\/secret.enc\"\n\t                        \t\t\topenssl AES-256-CBC -d -in \"$DIR\/secret.enc\" -out \"$key\" -k \"$passwd\" -base64\n\t                        \t\t\tchmod 600 \"$key\"\n\t                        \t\t\trm \"$DIR\/secret.enc\"\n\t                        \t\t\topenvpn --remote $ip --rport $port --lport $localport \n\t                        \t\t\t--proto udp --dev tun --float --auth-nocache --verb 3 --mute 20 \n\t                        \t\t\t--ifconfig \"$intip\" \"$intip2\" \n\t                        \t\t\t--secret \"$key\" \n\t                        \t\t\t--auth SHA256 --cipher AES-256-CBC \n\t                        \t\t\t--ncp-disable --ping 10 --ping-exit 20 \n\t                        \t\t\t--comp-lzo yes\n\t\t\t\t\t\t\ta=1\n\t\t\t\t\t\t\tb=''\n                                         fi\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tif (( $ex &gt;= 5 ))\n\t\t\t\t\t\t\t\tthen\n\t\t\t\t\t\t\t\t\techo \"$(date) \u0421\u0431\u0440\u043e\u0441\"\n\t\t\t\t\t\t\t\t\ta=1\n\t\t\t\t\t\t\t\t\tb=''\n\t\t\t\t\t\t\tfi\n\t\t\t\t\t\t\t(( ex++ ))\n\t\t\t\t\tsleep 5\n\t\t\tfi\n\t\tdone\ndone\n<\/code><\/pre>\n<p>\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043d\u0443\u0436\u043d\u043e:<\/p>\n<ol>\n<li>\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u0431\u0443\u0444\u0435\u0440 \u0438 \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:\n<pre><code class=\"bash\"># nano vpn10.sh <\/code><\/pre>\n<\/li>\n<li>\u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043b\u043e\u0433\u0438\u043d (2\u044f \u0441\u0442\u0440\u043e\u043a\u0430) \u0438 \u043f\u0430\u0440\u043e\u043b\u044c \u043e\u0442 \u042f\u043d\u0434\u0435\u043a\u0441.\u0434\u0438\u0441\u043a\u0430 (3\u044f \u0441\u0442\u0440\u043e\u043a\u0430).<\/li>\n<li>\u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 IP-\u0430\u0434\u0440\u0435\u0441 \u0442\u0443\u043d\u043d\u0435\u043b\u044f (4\u044f \u0441\u0442\u0440\u043e\u043a\u0430).<\/li>\n<li>\u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u043c:\n<pre><code class=\"bash\"># chmod +x vpn10.sh<\/code><\/pre>\n<\/li>\n<li>\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442:\n<pre><code class=\"bash\"># .\/vpn10.sh nZbVGBuX5dtturD<\/code><\/pre>\n<p>\u0433\u0434\u0435 nZbVGBuX5dtturD \u2014 ID-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 <a href=\"https:\/\/strongpasswordgenerator.com\/\" rel=\"nofollow\">\u0442\u0443\u0442<\/a><\/li>\n<\/ol>\n<p>\u041d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u043c \u0443\u0437\u043b\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0432\u0441\u0451 \u0442\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435, \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 <a href=\"https:\/\/prohoster.info\/lir\/ipv4\">IP-\u0430\u0434\u0440\u0435\u0441<\/a> \u0442\u0443\u043d\u043d\u0435\u043b\u044f \u0438 ID-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f.<\/p>\n<p>\u0414\u043b\u044f \u0430\u0432\u0442\u043e\u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043f\u0440\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u00abnohup \/&lt;\u043f\u0443\u0442\u044c \u0434\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430&gt;\/vpn10.sh nZbVGBuX5dtturD &gt; \/var\/log\/vpn10.log 2&gt;\/dev\/null &amp;\u00bb \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u044e\u0441\u044f \u0432 \u0444\u0430\u0439\u043b\u0435 \/etc\/rc.local<\/p>\n<h3>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h3>\n<p>\u0421\u043a\u0440\u0438\u043f\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d \u043d\u0430 Ubuntu (18.04, 19.10, 20.04) \u0438 Debian 9. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u044e\u0431\u043e\u0439 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0435\u0440\u0432\u0438\u0441, \u043d\u043e \u0434\u043b\u044f \u043e\u043f\u044b\u0442\u0430 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u042f\u043d\u0434\u0435\u043a\u0441.\u0434\u0438\u0441\u043a.<br \/>\n\u0412 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u0432 \u0431\u044b\u043b\u043e \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043e, \u0447\u0442\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0442\u0438\u043f\u044b NAT \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432 \u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435. \u0412 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0443 \u0441\u043e\u0442\u043e\u0432\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432, \u0433\u0434\u0435 \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u044b.<\/p>\n<p>\u041f\u043b\u0430\u043d\u0438\u0440\u0443\u044e \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 \u043f\u043b\u0430\u043d\u0435:<\/p>\n<ul>\n<li>\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 secret.key \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435, \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0438 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u042f\u043d\u0434\u0435\u043a\u0441.\u0434\u0438\u0441\u043a \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0439 \u0443\u0437\u0435\u043b (\u0423\u0447\u0442\u0435\u043d\u043e \u0432 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435)<\/li>\n<li>\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f IP-\u0430\u0434\u0440\u0435\u0441\u043e\u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432<\/li>\n<li>\u0428\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0435\u0440\u0435\u0434 \u0432\u044b\u0433\u0440\u0443\u0437\u043a\u043e\u0439 \u043d\u0430 \u042f\u043d\u0434\u0435\u043a\u0441.\u0434\u0438\u0441\u043a<\/li>\n<li>\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u0434\u0430<\/li>\n<\/ul>\n<p>\u0414\u0430 \u0431\u0443\u0434\u0435\u0442 IPv6 \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u0434\u043e\u043c\u0435!<\/p>\n<p>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043e! <b>\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u044b \u0438 DEB-\u043f\u0430\u043a\u0435\u0442 \u0442\u0443\u0442<\/b> \u2014 <a href=\"https:\/\/yadi.sk\/d\/A8966EnXxzZtCw\" rel=\"nofollow\">yandex.disk<\/a><\/p>\n<p>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a: <a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/481034\/\">habr.com<\/a><\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043c\u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u044f\u043c\u043e\u0439 VPN-\u0442\u0443\u043d\u043d\u0435\u043b\u044c \u043c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430\u043c\u0438 \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0438\u043c\u0438\u0441\u044f \u0437\u0430 NAT&#8217;\u0430\u043c\u0438 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432. \u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u043b\u0441\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u2014 \u043f\u043e\u0441\u0440\u0435\u0434\u043d\u0438\u043a\u0430 (\u0430\u0440\u0435\u043d\u0434\u043e\u0432\u0430\u043d\u043d\u044b\u0439 VPS \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0449\u0438\u0439 \u0440\u043e\u043b\u044c, \u0447\u0442\u043e-\u0442\u043e \u0442\u0438\u043f\u0430 STUN-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0443\u0437\u043b\u043e\u0432 \u0434\u043b\u044f \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f). \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043a\u0430\u043a \u043e\u0431\u043e\u0448\u0435\u043b\u0441\u044f \u0431\u0435\u0437 VPS, \u043d\u043e \u043f\u043e\u0441\u0440\u0435\u0434\u043d\u0438\u043a\u0438 \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":88454,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-88453","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043c\u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u044f\u043c\u043e\u0439 VPN-\u0442\u0443\u043d\u043d\u0435\u043b\u044c \u043c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430\u043c\u0438 \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0438\u043c\u0438\u0441\u044f \u0437\u0430 NAT&#039;\u0430\u043c\u0438 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432. \u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u043b\u0441\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u2014 \u043f\u043e\u0441\u0440\u0435\u0434\u043d\u0438\u043a\u0430 (\u0430\u0440\u0435\u043d\u0434\u043e\u0432\u0430\u043d\u043d\u044b\u0439 VPS \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0449\u0438\u0439 \u0440\u043e\u043b\u044c, \u0447\u0442\u043e-\u0442\u043e \u0442\u0438\u043f\u0430 STUN-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0443\u0437\u043b\u043e\u0432 \u0434\u043b\u044f \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f). \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043a\u0430\u043a \u043e\u0431\u043e\u0448\u0435\u043b\u0441\u044f \u0431\u0435\u0437 VPS, \u043d\u043e \u043f\u043e\u0441\u0440\u0435\u0434\u043d\u0438\u043a\u0438 \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/it\/blog\/administrirovanie\/pryamoj-vpn-tunnel-mezhdu-kompyuterami-cherez-naty-provajderov-bez-vps-s-pomoshhyu-stun-servera-i-yandeks-diska\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"it_IT\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041f\u0440\u044f\u043c\u043e\u0439 VPN-\u0442\u0443\u043d\u043d\u0435\u043b\u044c \u043c\u0435\u0436\u0434\u0443 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 NAT\u2019\u044b \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432 (\u0431\u0435\u0437 VPS, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e STUN-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u042f\u043d\u0434\u0435\u043a\u0441.\u0434\u0438\u0441\u043a\u0430) | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043c\u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u044f\u043c\u043e\u0439 VPN-\u0442\u0443\u043d\u043d\u0435\u043b\u044c \u043c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430\u043c\u0438 \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0438\u043c\u0438\u0441\u044f \u0437\u0430 NAT&#039;\u0430\u043c\u0438 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432. \u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u043b\u0441\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u2014 \u043f\u043e\u0441\u0440\u0435\u0434\u043d\u0438\u043a\u0430 (\u0430\u0440\u0435\u043d\u0434\u043e\u0432\u0430\u043d\u043d\u044b\u0439 VPS \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0449\u0438\u0439 \u0440\u043e\u043b\u044c, \u0447\u0442\u043e-\u0442\u043e \u0442\u0438\u043f\u0430 STUN-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0443\u0437\u043b\u043e\u0432 \u0434\u043b\u044f \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f). \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043a\u0430\u043a \u043e\u0431\u043e\u0448\u0435\u043b\u0441\u044f \u0431\u0435\u0437 VPS, \u043d\u043e \u043f\u043e\u0441\u0440\u0435\u0434\u043d\u0438\u043a\u0438 \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/it\/blog\/administrirovanie\/pryamoj-vpn-tunnel-mezhdu-kompyuterami-cherez-naty-provajderov-bez-vps-s-pomoshhyu-stun-servera-i-yandeks-diska\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-07-14T05:46:19+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-05-21T15:02:16+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Tunnel VPN diretto tra computer attraverso i NAT dei provider (senza VPS, utilizzando un server STUN e Yandex.Disk) | ProHoster","description":"Continuazione dell'articolo su come sono riuscito a organizzare un tunnel VPN diretto tra due computer dietro i NAT dei provider. Nell'articolo precedente ho descritto il processo di connessione utilizzando una terza parte \u2014 un VPS affittato che fungeva da qualcosa come un server STUN e trasmettitore di dati per la connessione. In questo articolo spiegher\u00f2 come ho fatto a farne a meno, ma i intermediari sono rimasti.","canonical_url":"https:\/\/prohoster.info\/it\/blog\/administrirovanie\/pryamoj-vpn-tunnel-mezhdu-kompyuterami-cherez-naty-provajderov-bez-vps-s-pomoshhyu-stun-servera-i-yandeks-diska","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"it_IT","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041f\u0440\u044f\u043c\u043e\u0439 VPN-\u0442\u0443\u043d\u043d\u0435\u043b\u044c \u043c\u0435\u0436\u0434\u0443 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 NAT\u2019\u044b \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432 (\u0431\u0435\u0437 VPS, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e STUN-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u042f\u043d\u0434\u0435\u043a\u0441.\u0434\u0438\u0441\u043a\u0430) | ProHoster","og:description":"\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043c\u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u044f\u043c\u043e\u0439 VPN-\u0442\u0443\u043d\u043d\u0435\u043b\u044c \u043c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430\u043c\u0438 \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0438\u043c\u0438\u0441\u044f \u0437\u0430 NAT'\u0430\u043c\u0438 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432. \u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u043b\u0441\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u2014 \u043f\u043e\u0441\u0440\u0435\u0434\u043d\u0438\u043a\u0430 (\u0430\u0440\u0435\u043d\u0434\u043e\u0432\u0430\u043d\u043d\u044b\u0439 VPS \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0449\u0438\u0439 \u0440\u043e\u043b\u044c, \u0447\u0442\u043e-\u0442\u043e \u0442\u0438\u043f\u0430 STUN-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0443\u0437\u043b\u043e\u0432 \u0434\u043b\u044f \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f). \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043a\u0430\u043a \u043e\u0431\u043e\u0448\u0435\u043b\u0441\u044f \u0431\u0435\u0437 VPS, \u043d\u043e \u043f\u043e\u0441\u0440\u0435\u0434\u043d\u0438\u043a\u0438 \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c","og:url":"https:\/\/prohoster.info\/it\/blog\/administrirovanie\/pryamoj-vpn-tunnel-mezhdu-kompyuterami-cherez-naty-provajderov-bez-vps-s-pomoshhyu-stun-servera-i-yandeks-diska","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-07-14T05:46:19+00:00","article:modified_time":"2026-05-21T15:02:16+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"88453","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 13:30:41","updated":"2022-09-27 23:57:34"},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/posts\/88453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/comments?post=88453"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/posts\/88453\/revisions"}],"predecessor-version":[{"id":181625,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/posts\/88453\/revisions\/181625"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/media\/88454"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/media?parent=88453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/categories?post=88453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/tags?post=88453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}