{"id":56187,"date":"2020-02-06T00:00:00","date_gmt":"2020-02-05T21:00:00","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/perehod-s-openvpn-na-wireguard-dlya-obedineniya-setej-v-odnu-set-l2"},"modified":"2020-02-18T14:04:24","modified_gmt":"2020-02-18T11:04:24","slug":"perehod-s-openvpn-na-wireguard-dlya-obedineniya-setej-v-odnu-set-l2","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/perehod-s-openvpn-na-wireguard-dlya-obedineniya-setej-v-odnu-set-l2","title":{"rendered":"Kalimi nga OpenVPN n\u00eb WireGuard p\u00ebr t\u00eb bashkuar rrjetet n\u00eb nj\u00eb rrjet L2","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"\u041f\u0435\u0440\u0435\u0445\u043e\u0434 \u0441 OpenVPN \u043d\u0430 WireGuard \u0434\u043b\u044f \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441\u0435\u0442\u0435\u0439 \u0432 \u043e\u0434\u043d\u0443 \u0441\u0435\u0442\u044c L2\" src=\"\/wp-content\/uploads\/2020\/02\/51f497ed96a6b2eeb58cce368fd5ec13.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u0425\u043e\u0442\u0435\u043b \u0431\u044b \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043e\u043f\u044b\u0442\u043e\u043c \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441\u0435\u0442\u0435\u0439 \u0432 \u0442\u0440\u0435\u0445 \u0433\u0435\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0445 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0430\u0445, \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0448\u043b\u044e\u0437\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0440\u043e\u0443\u0442\u0435\u0440\u044b \u0441 OpenWRT, \u0432 \u043e\u0434\u043d\u0443 \u043e\u0431\u0449\u0443\u044e \u0441\u0435\u0442\u044c. \u041f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441\u0435\u0442\u0435\u0439 \u043c\u0435\u0436\u0434\u0443 L3 \u0441 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u043f\u043e\u0434\u0441\u0435\u0442\u0435\u0439 \u0438 L2 \u0441 \u0431\u0440\u0438\u0434\u0436\u0438\u043d\u0433\u043e\u043c, \u043a\u043e\u0433\u0434\u0430 \u0432\u0441\u0435 \u0443\u0437\u043b\u044b \u0441\u0435\u0442\u0438 \u0431\u0443\u0434\u0443\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0432 \u043e\u0434\u043d\u043e\u0439 \u043f\u043e\u0434\u0441\u0435\u0442\u0438, \u0431\u044b\u043b\u043e \u043e\u0442\u0434\u0430\u043d\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u0435 \u0432\u0442\u043e\u0440\u043e\u043c\u0443 \u0441\u043f\u043e\u0441\u043e\u0431\u0443, \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u043c\u0443 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435, \u043d\u043e \u0434\u0430\u044e\u0449\u0438\u043c \u0431\u041e\u043b\u044c\u0448\u0438\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u0442\u0430\u043a \u043a\u0430\u043a \u0432 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0435\u043c\u043e\u0439 \u0441\u0435\u0442\u0438 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 Wake-on-Lan \u0438 DLNA. <br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h2>\u0427\u0430\u0441\u0442\u044c 1: \u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f<\/h2>\n<p>\n\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u044d\u0442\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0431\u044b\u043b \u0432\u044b\u0431\u0440\u0430\u043d OpenVPN, \u0442\u0430\u043a \u043a\u0430\u043a, \u0432\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e tap, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \u043c\u043e\u0441\u0442, \u0430 \u0432\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, OpenVPN \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 TCP, \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u0442\u0430\u043a\u0436\u0435 \u043d\u0435\u043c\u0430\u043b\u043e\u0432\u0430\u0436\u043d\u043e, \u0432\u0435\u0434\u044c \u043d\u0438 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u043a\u0432\u0430\u0440\u0442\u0438\u0440 \u043d\u0435 \u0438\u043c\u0435\u043b\u043e\u0441\u044c \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e IP-\u0430\u0434\u0440\u0435\u0441\u0430, \u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c STUN \u043c\u043d\u0435 \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c, \u0442\u0430\u043a \u043a\u0430\u043a \u043c\u043e\u0439 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440 \u043f\u043e\u0447\u0435\u043c\u0443-\u0442\u043e \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u0435\u0442 \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 UDP \u0438\u0437 \u0441\u0432\u043e\u0438\u0445 \u0441\u0435\u0442\u0435\u0439, \u0432 \u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u0430\u043a \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b TCP \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u043b \u043c\u043d\u0435 \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u043f\u043e\u0440\u0442 VPN-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 \u0430\u0440\u0435\u043d\u0434\u0443\u0435\u043c\u044b\u0439 VPS \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 SSH. \u0414\u0430, \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u0434\u0430\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0443, \u0442\u0430\u043a \u043a\u0430\u043a \u0434\u0430\u043d\u043d\u044b\u0435 \u0448\u0438\u0444\u0440\u0443\u044e\u0442\u0441\u044f \u0434\u0432\u0430\u0436\u0434\u044b, \u043d\u043e \u0432\u0432\u043e\u0434\u0438\u0442\u044c VPS \u0432 \u0441\u0432\u043e\u044e \u0447\u0430\u0441\u0442\u043d\u0443\u044e \u0441\u0435\u0442\u044c \u044f \u043d\u0435 \u0437\u0430\u0445\u043e\u0442\u0435\u043b, \u0442\u0430\u043a \u043a\u0430\u043a \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u0441\u044f \u0440\u0438\u0441\u043a \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0442\u0440\u0435\u0442\u044c\u0438\u043c\u0438 \u043b\u0438\u0446\u0430\u043c\u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u043d\u0430\u0434 \u043d\u0438\u043c, \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0438\u043c\u0435\u0442\u044c \u0432 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0439 \u0441\u0435\u0442\u0438 \u0442\u0430\u043a\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u044f\u0432\u043b\u044f\u043b\u043e\u0441\u044c \u043a\u0440\u0430\u0439\u043d\u0435 \u043d\u0435\u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0438 \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u0437\u0430\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0437\u0430 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043e\u0432\u0435\u0440\u0445\u0435\u0434\u043e\u043c. <\/p>\n<p>\u0414\u043b\u044f \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u0430 \u043f\u043e\u0440\u0442\u0430 \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0435, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440, \u0431\u044b\u043b\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 sshtunnel. \u041e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0442\u043e\u043d\u043a\u043e\u0441\u0442\u0438 \u0435\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043d\u0435 \u0431\u0443\u0434\u0443 \u2014 \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043b\u0435\u0433\u043a\u043e, \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0442\u043c\u0435\u0447\u0443, \u0447\u0442\u043e \u0435\u0435 \u0437\u0430\u0434\u0430\u0447\u0435\u0439 \u0431\u044b\u043b \u043f\u0440\u043e\u0431\u0440\u043e\u0441 TCP-\u043f\u043e\u0440\u0442\u0430 1194 \u0441 \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u043d\u0430 VPS. \u0414\u0430\u043b\u0435\u0435 \u0431\u044b\u043b \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d \u0441\u0435\u0440\u0432\u0435\u0440 OpenVPN \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 tap0, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0437\u0430\u0432\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0432 \u043c\u043e\u0441\u0442 br-lan. \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0432 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u0441 \u043d\u043e\u0443\u0442\u0431\u0443\u043a\u0430 \u2014 \u0441\u0442\u0430\u043b\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u0438\u0434\u0435\u044f \u0441 \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u043e\u043c \u043f\u043e\u0440\u0442\u0430 \u0441\u0435\u0431\u044f \u043e\u043f\u0440\u0430\u0432\u0434\u0430\u043b\u0430 \u0438 \u043c\u043e\u0439 \u043d\u043e\u0443\u0442\u0431\u0443\u043a \u0441\u0442\u0430\u043b \u0447\u043b\u0435\u043d\u043e\u043c \u0441\u0435\u0442\u0438 \u0440\u043e\u0443\u0442\u0435\u0440\u0430, \u0445\u043e\u0442\u044f \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438 \u0432 \u043d\u0435\u0439 \u043d\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u043b\u0441\u044f.<\/p>\n<p>\u0414\u0435\u043b\u043e \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u043e\u0441\u044c \u0437\u0430 \u043c\u0430\u043b\u044b\u043c: \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c IP-\u0430\u0434\u0440\u0435\u0441\u0430 \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0430\u0445 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u0438 \u043d\u0435 \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u043e\u0432\u0430\u043b\u0438 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u044b \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 OpenVPN-\u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432.<br \/>\n\u0411\u044b\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u043d\u044b \u0442\u0430\u043a\u0438\u0435 IP-\u0430\u0434\u0440\u0435\u0441\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u0432 \u0438 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u044b DHCP-\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432:<\/p>\n<ul>\n<li> <b>192.168.10.1<\/b> \u0441 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u043e\u043c <b>192.168.10.2<\/b> \u2014 <b>192.168.10.80<\/b> \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/li>\n<li> <b>192.168.10.100<\/b> \u0441 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u043e\u043c <b>192.168.10.101<\/b> \u2014 <b>192.168.10.149<\/b> \u0434\u043b\u044f \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u0432 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0435 \u21162<\/li>\n<li> <b>192.168.10.150 <\/b>\u0441 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u043e\u043c <b>192.168.10.151<\/b> \u2014 <b>192.168.10.199<\/b> \u0434\u043b\u044f \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u0432 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0435 \u21163<\/li>\n<\/ul>\n<p>\n\u0422\u0430\u043a\u0436\u0435 \u0431\u044b\u043b\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0437\u043d\u0430\u0447\u0438\u0442\u044c \u0438\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u0438 \u0430\u0434\u0440\u0435\u0441\u0430 \u0434\u043b\u044f \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u0432-\u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 OpenVPN-\u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043f\u0443\u0442\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432 \u0435\u0433\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u0441\u0442\u0440\u043e\u0447\u043a\u0438:<\/p>\n<pre><code class=\"plaintext\">ifconfig-pool-persist \/etc\/openvpn\/ipp.txt 0<\/code><\/pre>\n<p>\n\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0441\u0442\u0440\u043e\u043a \u0432 \u0444\u0430\u0439\u043b \/etc\/openvpn\/ipp.txt:<\/p>\n<pre><code class=\"plaintext\">flat1_id 192.168.10.100\nflat2_id 192.168.10.150\n<\/code><\/pre>\n<p>\n\u0433\u0434\u0435 flat1_id \u0438 flat2_id \u2014 \u044d\u0442\u043e \u0438\u043c\u0435\u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0435 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432 \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a OpenVPN<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0430\u0445 \u0431\u044b\u043b\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u044b OpenVPN-\u043a\u043b\u0438\u0435\u043d\u0442\u044b, \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 tap0 \u043d\u0430 \u043e\u0431\u043e\u0438\u0445 \u0431\u044b\u043b\u0438 \u0437\u0430\u043d\u0435\u0441\u0435\u043d\u044b \u0432 \u043c\u043e\u0441\u0442 br-lan. \u041d\u0430 \u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0432\u0441\u0435 \u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0435, \u0442\u0430\u043a \u043a\u0430\u043a \u0432\u0441\u0435 \u0442\u0440\u0438 \u0441\u0435\u0442\u0438 \u0432\u0438\u0434\u044f\u0442 \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0430 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043a\u0430\u043a \u0435\u0434\u0438\u043d\u043e\u0435 \u0446\u0435\u043b\u043e\u0435. \u041e\u0434\u043d\u0430\u043a\u043e, \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u0430\u0441\u044c \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u0438\u044f\u0442\u043d\u0430\u044f \u0434\u0435\u0442\u0430\u043b\u044c: \u0438\u043d\u043e\u0433\u0434\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043c\u043e\u0433\u043b\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c IP-\u0430\u0434\u0440\u0435\u0441 \u043d\u0435 \u043e\u0442 \u0441\u0432\u043e\u0435\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430, \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0432\u044b\u0442\u0435\u043a\u0430\u044e\u0449\u0438\u043c\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u044f\u043c\u0438. \u041f\u043e \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0435, \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 \u0432 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u0438\u0437 \u043a\u0432\u0430\u0440\u0442\u0438\u0440 \u043d\u0435 \u0443\u0441\u043f\u0435\u0432\u0430\u043b \u043e\u0442\u0432\u0435\u0442\u0438\u0442\u044c \u0432\u043e\u0432\u0440\u0435\u043c\u044f \u043d\u0430 DHCPDISCOVER \u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u043b\u043e \u043d\u0435 \u0441\u0432\u043e\u0439 \u0430\u0434\u0440\u0435\u0441. \u042f \u043f\u043e\u043d\u044f\u043b, \u0447\u0442\u043e \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0432 tap0 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0438\u0437 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u0432, \u043d\u043e, \u043a\u0430\u043a \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u043e\u0441\u044c, iptables \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c, \u0435\u0441\u043b\u0438 \u043e\u043d\u043e \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u0430\u0441\u0442\u044c\u044e \u043c\u043e\u0441\u0442\u0430 \u0438 \u043c\u043d\u0435 \u043d\u0430 \u043f\u043e\u043c\u043e\u0449\u044c \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u0440\u0438\u0439\u0442\u0438 ebtables. \u041a \u043c\u043e\u0435\u043c\u0443 \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0432 \u043c\u043e\u0438\u0445 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0430\u0445 \u0435\u0433\u043e \u043d\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0438 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0437\u044b \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430. \u0421\u0434\u0435\u043b\u0430\u0432 \u044d\u0442\u043e \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u0442\u0430\u043a\u0438\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0432 \/etc\/rc.local \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0431\u044b\u043b\u0430 \u0440\u0435\u0448\u0435\u043d\u0430:<\/p>\n<pre><code class=\"bash\">ebtables -A INPUT --in-interface tap0 --protocol ipv4 --ip-protocol udp --ip-destination-port 67:68 -j DROP\nebtables -A INPUT --in-interface tap0 --protocol ipv4 --ip-protocol udp --ip-source-port 67:68 -j DROP\nebtables -A FORWARD --out-interface tap0 --protocol ipv4 --ip-protocol udp --ip-destination-port 67:68 -j DROP\nebtables -A FORWARD --out-interface tap0 --protocol ipv4 --ip-protocol udp --ip-source-port 67:68 -j DROP\n<\/code><\/pre>\n<p>\n\u0422\u0430\u043a\u0430\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043b\u0430 \u043d\u0430 \u043f\u0440\u043e\u0442\u044f\u0436\u0435\u043d\u0438\u0438 \u0442\u0440\u0435\u0445 \u043b\u0435\u0442.<\/p>\n<h2>\u0427\u0430\u0441\u0442\u044c 2: \u0417\u043d\u0430\u043a\u043e\u043c\u0441\u0442\u0432\u043e \u0441 WireGuard<\/h2>\n<p>\n\u0412 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0432 \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435 \u0432\u0441\u0435 \u0447\u0430\u0449\u0435 \u0441\u0442\u0430\u043b\u0438 \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u043e WireGuard, \u0432\u043e\u0441\u0445\u0438\u0449\u0430\u044f\u0441\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u043e\u0439 \u0435\u0433\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438, \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c\u044e \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438, \u043d\u0438\u0437\u043a\u0438\u043c \u043f\u0438\u043d\u0433\u043e\u043c \u043f\u0440\u0438 \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043c\u043e\u0439 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438. \u041f\u043e\u0438\u0441\u043a \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u043d\u0435\u043c \u0434\u0430\u0432\u0430\u043b \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e \u043d\u0438 \u0440\u0430\u0431\u043e\u0442\u0430 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0447\u043b\u0435\u043d\u0430 \u043c\u043e\u0441\u0442\u0430, \u043d\u0438 \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 TCP \u0438\u043c \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043d\u0430\u0432\u043e\u0434\u0438\u043b\u043e \u043c\u0435\u043d\u044f \u043d\u0430 \u043c\u044b\u0441\u043b\u0438 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432 OpenVPN \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u043f\u043e-\u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443 \u043d\u0435\u0442. \u0422\u0430\u043a \u044f \u043e\u0442\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u043b \u0437\u043d\u0430\u043a\u043e\u043c\u0441\u0442\u0432\u043e \u0441 WireGuard.<\/p>\n<p>\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u043d\u0435\u0439 \u043d\u0430\u0437\u0430\u0434 \u043f\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c, \u0442\u0430\u043a \u0438\u043b\u0438 \u0438\u043d\u0430\u0447\u0435 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u043c \u0441 IT, \u043f\u0440\u043e\u043b\u0435\u0442\u0435\u043b\u0430 \u043d\u043e\u0432\u043e\u0441\u0442\u044c \u043e \u0442\u043e\u043c, \u0447\u0442\u043e WireGuard \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u0431\u0443\u0434\u0435\u0442 \u0432\u043a\u043b\u044e\u0447\u0435\u043d \u0432 \u044f\u0434\u0440\u043e Linux, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0432\u0435\u0440\u0441\u0438\u0438 5.6. \u041d\u043e\u0432\u043e\u0441\u0442\u043d\u044b\u0435 \u0441\u0442\u0430\u0442\u044c\u0438, \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430, \u0445\u0432\u0430\u043b\u0438\u043b\u0438 WireGuard. \u042f \u0432\u043d\u043e\u0432\u044c \u043f\u043e\u0433\u0440\u0443\u0437\u0438\u043b\u0441\u044f \u0432 \u043f\u043e\u0438\u0441\u043a\u0438 \u043f\u0443\u0442\u0435\u0439 \u0437\u0430\u043c\u0435\u043d\u044b \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u0434\u043e\u0431\u0440\u043e\u0433\u043e OpenVPN. \u041d\u0430 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u044f \u043d\u0430\u043f\u043e\u0440\u043e\u043b\u0441\u044f \u043d\u0430 <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/227859\/\">\u044d\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u044e<\/a><\/noindex>. \u0412 \u043d\u0435\u0439 \u0433\u043e\u0432\u043e\u0440\u0438\u043b\u043e\u0441\u044c \u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 Ethernet-\u0442\u0443\u043d\u043d\u0435\u043b\u044f \u043f\u043e\u0432\u0435\u0440\u0445 L3 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 GRE. \u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u0432\u0441\u0435\u043b\u0438\u043b\u0430 \u0432 \u043c\u0435\u043d\u044f \u043d\u0430\u0434\u0435\u0436\u0434\u0443. \u041e\u0441\u0442\u0430\u0432\u0430\u043b\u043e\u0441\u044c \u043d\u0435\u044f\u0441\u043d\u043e \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u043c UDP. \u041f\u043e\u0438\u0441\u043a \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043b \u043c\u0435\u043d\u044f \u043a \u0441\u0442\u0430\u0442\u044c\u044f\u043c \u043e\u0431 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 socat \u0432 \u0441\u0432\u044f\u0437\u043a\u0435 \u0441 SSH-\u0442\u0443\u043d\u043d\u0435\u043b\u0435\u043c, \u0434\u043b\u044f \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u0430 UDP-\u043f\u043e\u0440\u0442\u0430, \u043e\u0434\u043d\u0430\u043a\u043e, \u0432 \u043d\u0438\u0445 \u043e\u0442\u043c\u0435\u0447\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f, \u0442\u043e \u0435\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 VPN-\u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c \u0431\u044b \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0439. \u041c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u0430 \u0438\u0434\u0435\u044f \u043f\u043e\u0434\u043d\u044f\u0442\u044c VPN-\u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 VPS, \u0430 \u0434\u043b\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c GRE, \u043d\u043e, \u043a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, GRE \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u0442 \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u0442\u0440\u0435\u0442\u044c\u0438\u043c\u0438 \u043b\u0438\u0446\u0430\u043c\u0438, \u0432 \u0438\u0445 \u0440\u0443\u043a\u0430\u0445 \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432\u0435\u0441\u044c \u0442\u0440\u0430\u0444\u0438\u043a \u043c\u0435\u0436\u0434\u0443 \u043c\u043e\u0438\u043c\u0438 \u0441\u0435\u0442\u044f\u043c\u0438, \u0447\u0442\u043e \u043c\u0435\u043d\u044f \u043d\u0435 \u0443\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043b\u043e \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435.<\/p>\n<p>\u0412\u043d\u043e\u0432\u044c \u0431\u044b\u043b\u043e \u043f\u0440\u0438\u043d\u044f\u0442\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0432 \u043f\u043e\u043b\u044c\u0437\u0443 \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043f\u0443\u0442\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f VPN \u043f\u043e\u0432\u0435\u0440\u0445 VPN \u043f\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0445\u0435\u043c\u0435:<\/p>\n<p><b>VPN \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f:<\/b><br \/>\n<b>VPS<\/b> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <i>\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c<\/i> \u0441 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u043c \u0430\u0434\u0440\u0435\u0441\u043e\u043c 192.168.30.1<br \/>\n<b>\u041c\u0421<\/b> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <i>\u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c<\/i> VPS \u0441 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u043c \u0430\u0434\u0440\u0435\u0441\u043e\u043c 192.168.30.2<br \/>\n<b>\u041c\u041a2<\/b> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <i>\u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c<\/i> VPS \u0441 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u043c \u0430\u0434\u0440\u0435\u0441\u043e\u043c 192.168.30.3<br \/>\n<b>\u041c\u041a3<\/b> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <i>\u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c<\/i> VPS \u0441 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u043c \u0430\u0434\u0440\u0435\u0441\u043e\u043c 192.168.30.4<\/p>\n<p><b>VPN \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f:<\/b><br \/>\n<b>\u041c\u0421<\/b> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <i>\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c<\/i> \u0441 \u0432\u043d\u0435\u0448\u043d\u0438\u043c \u0430\u0434\u0440\u0435\u0441\u043e\u043c 192.168.30.2 \u0438 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u043c 192.168.31.1<br \/>\n<b>\u041c\u041a2<\/b> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <i>\u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c<\/i> <b>\u041c\u0421<\/b> \u0441 \u0430\u0434\u0440\u0435\u0441\u043e\u043c 192.168.30.2 \u0438 \u0438\u043c\u0435\u0435\u0442 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 IP 192.168.31.2<br \/>\n<b>\u041c\u041a3<\/b> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <i>\u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c<\/i> <b>\u041c\u0421<\/b> \u0441 \u0430\u0434\u0440\u0435\u0441\u043e\u043c 192.168.30.2 \u0438 \u0438\u043c\u0435\u0435\u0442 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 IP 192.168.31.3<\/p>\n<p>* <b>\u041c\u0421<\/b> \u2014 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440-\u0441\u0435\u0440\u0432\u0435\u0440 \u0432 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0435 1, <b>\u041c\u041a2<\/b> \u2014 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 \u0432 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0435 2, <b>\u041c\u041a3<\/b> \u2014 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 \u0432 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0435 3<br \/>\n* \u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u044b \u0432 \u0441\u043f\u043e\u0439\u043b\u0435\u0440\u0435 \u0432 \u043a\u043e\u043d\u0446\u0435 \u0441\u0442\u0430\u0442\u044c\u0438.<\/p>\n<p>\u0418 \u0442\u0430\u043a, \u043f\u0438\u043d\u0433\u0438 \u043c\u0435\u0436\u0434\u0443 \u0443\u0437\u043b\u0430\u043c\u0438 \u0441\u0435\u0442\u0438 192.168.31.0\/24 \u0445\u043e\u0434\u044f\u0442, \u043f\u043e\u0440\u0430 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 GRE-\u0442\u0443\u043d\u043d\u0435\u043b\u044f. \u041f\u0435\u0440\u0435\u0434 \u044d\u0442\u0438\u043c, \u0434\u0430\u0431\u044b \u043d\u0435 \u0442\u0435\u0440\u044f\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430\u043c, \u0441\u0442\u043e\u0438\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c SSH-\u0442\u0443\u043d\u043d\u0435\u043b\u0438 \u0434\u043b\u044f \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u0430 22 \u043f\u043e\u0440\u0442\u0430 \u043d\u0430 VPS, \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0447\u0442\u043e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0430 10022-\u043e\u043c \u043f\u043e\u0440\u0442\u0443 VPS \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 \u0438\u0437 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b 2, \u0430 \u043d\u0430 11122-\u043f\u043e\u0440\u0442\u0443 VPS \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 \u0438\u0437 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b 3. \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u0430 \u043b\u0443\u0447\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0432\u0441\u0435 \u0442\u0435\u043c-\u0436\u0435 sshtunnel, \u0442\u0430\u043a \u043a\u0430\u043a \u043e\u043d \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442 \u0442\u0443\u043d\u043d\u0435\u043b\u044c \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0435\u0433\u043e \u043f\u0430\u0434\u0435\u043d\u0438\u044f. <\/p>\n<p>\u0422\u0443\u043d\u043d\u0435\u043b\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043a SSH \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0431\u0440\u043e\u0448\u0435\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442:<\/p>\n<pre><code class=\"bash\">ssh root@\u041c\u041e\u0419_VPS -p 10022<\/code><\/pre>\n<p>\n\u0414\u0430\u043b\u0435\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c OpenVPN:<\/p>\n<pre><code class=\"bash\">\/etc\/init.d\/openvpn stop<\/code><\/pre>\n<p>\n\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043c GRE-\u0442\u0443\u043d\u043d\u0435\u043b\u044c \u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0435 \u0438\u0437 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b 2:<\/p>\n<pre><code class=\"bash\">ip link add grelan0 type gretap remote 192.168.31.1 local 192.168.31.2\nip link set grelan0 up\n<\/code><\/pre>\n<p>\n\u0418 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0432 \u043c\u043e\u0441\u0442:<\/p>\n<pre><code class=\"bash\">brctl addif br-lan grelan0\n<\/code><\/pre>\n<p>\n\u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u0443\u044e \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0443 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043c \u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0435-\u0441\u0435\u0440\u0432\u0435\u0440\u0435:<\/p>\n<pre><code class=\"bash\">ip link add grelan0 type gretap remote 192.168.31.2 local 192.168.31.1\nip link set grelan0 up\n<\/code><\/pre>\n<p>\n\u0418, \u0442\u0430\u043a\u0436\u0435, \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0432 \u043c\u043e\u0441\u0442:<\/p>\n<pre><code class=\"bash\">brctl addif br-lan grelan0\n<\/code><\/pre>\n<p>\n\u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u043f\u0438\u043d\u0433\u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0445\u043e\u0434\u0438\u0442\u044c \u0432 \u043d\u043e\u0432\u0443\u044e \u0441\u0435\u0442\u044c \u0438 \u044f, \u0441 \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u0435\u043d\u0438\u0435\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0441\u044c \u043f\u0438\u0442\u044c \u043a\u043e\u0444\u0435. \u0417\u0430\u0442\u0435\u043c, \u0447\u0442\u043e\u0431\u044b \u043e\u0446\u0435\u043d\u0438\u0442\u044c, \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441\u0435\u0442\u044c \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u043c \u043a\u043e\u043d\u0446\u0435 \u043f\u0440\u043e\u0432\u043e\u0434\u0430, \u044f \u043f\u044b\u0442\u0430\u044e\u0441\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043f\u043e SSH \u043a \u043e\u0434\u043d\u043e\u043c\u0443 \u0438\u0437 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043e\u0432 \u0432 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0435 2, \u043d\u043e ssh-\u043a\u043b\u0438\u0435\u043d\u0442 \u00ab\u0437\u0430\u0432\u0438\u0441\u0430\u0435\u0442\u00bb, \u043d\u0435 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044f \u0432\u0432\u0435\u0441\u0442\u0438 \u043f\u0430\u0440\u043e\u043b\u044c. \u041f\u0440\u043e\u0431\u0443\u044e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u044d\u0442\u043e\u043c\u0443 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0443 \u043f\u043e telnet \u043d\u0430 22 \u043f\u043e\u0440\u0442 \u0438 \u0432\u0438\u0436\u0443 \u0441\u0442\u0440\u043e\u043a\u0443, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f, SSH-\u0441\u0435\u0440\u0432\u0435\u0440 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442, \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u043d\u0435 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u043c\u043d\u0435 \u0432\u043e\u0439\u0442\u0438.<\/p>\n<pre><code class=\"bash\">$ telnet 192.168.10.110 22\nSSH-2.0-OpenSSH_8.1\n<\/code><\/pre>\n<p>\n\u041f\u044b\u0442\u0430\u044e\u0441\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u043d\u0435\u043c\u0443 \u0436\u0435 \u043f\u043e VNC \u0438 \u0432\u0438\u0436\u0443 \u0447\u0435\u0440\u043d\u044b\u0439 \u044d\u043a\u0440\u0430\u043d. \u042f \u0443\u0431\u0435\u0436\u0434\u0430\u044e \u0441\u0435\u0431\u044f, \u0447\u0442\u043e \u0434\u0435\u043b\u043e \u0432 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435, \u0432\u0435\u0434\u044c \u043a \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0443 \u0438\u0437 \u044d\u0442\u043e\u0439 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b \u044f \u0441\u043f\u043e\u043a\u043e\u0439\u043d\u043e \u043c\u043e\u0433\u0443 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043f\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u043c\u0443 \u0430\u0434\u0440\u0435\u0441\u0443. \u041e\u0434\u043d\u0430\u043a\u043e, \u044f \u0440\u0435\u0448\u0430\u044e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a SSH \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430 \u0447\u0435\u0440\u0435\u0437 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 \u0438 \u0441 \u0443\u0434\u0438\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0432\u0430\u044e, \u0447\u0442\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0443\u0434\u0430\u0435\u0442\u0441\u044f, \u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432\u043f\u043e\u043b\u043d\u0435 \u0448\u0442\u0430\u0442\u043d\u043e, \u043d\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0442\u0430\u043a\u0436\u0435 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u043c\u043e\u0435\u043c\u0443 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0443.<\/p>\n<p>\u042f \u0432\u044b\u0432\u043e\u0436\u0443 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e grelan0 \u0438\u0437 \u043c\u043e\u0441\u0442\u0430 \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e OpenVPN \u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0435 \u0432 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0435 2 \u0438 \u0443\u0431\u0435\u0436\u0434\u0430\u044e\u0441\u044c, \u0447\u0442\u043e \u0441\u0435\u0442\u044c \u0432\u043d\u043e\u0432\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043e \u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u043d\u0435 \u043e\u0431\u0440\u044b\u0432\u0430\u044e\u0442\u0441\u044f. \u041f\u043e\u0438\u0441\u043a\u043e\u043c \u043d\u0430\u0442\u044b\u043a\u0430\u044e\u0441\u044c \u043d\u0430 \u0444\u043e\u0440\u0443\u043c\u044b, \u0433\u0434\u0435 \u043b\u044e\u0434\u0438 \u0436\u0430\u043b\u0443\u044e\u0442\u0441\u044f \u043d\u0430 \u0442\u0430\u043a\u0438\u0435 \u0436\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u0433\u0434\u0435 \u0438\u043c \u0441\u043e\u0432\u0435\u0442\u0443\u044e\u0442 \u043f\u043e\u0434\u043d\u044f\u0442\u044c MTU. \u0421\u043a\u0430\u0437\u0430\u043d\u043e \u2014 \u0441\u0434\u0435\u043b\u0430\u043d\u043e. \u041e\u0434\u043d\u0430\u043a\u043e, \u043f\u043e\u043a\u0430 MTU \u043d\u0435 \u0431\u044b\u043b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u2014 7000 \u0434\u043b\u044f \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 gretap, \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u043b\u0438\u0441\u044c \u043b\u0438\u0431\u043e \u043e\u0431\u0440\u044b\u0432\u044b \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0439 TCP, \u043b\u0438\u0431\u043e \u043d\u0438\u0437\u043a\u0430\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438. \u0418\u0437-\u0437\u0430 \u0432\u044b\u0441\u043e\u043a\u043e\u0433\u043e MTU \u0434\u043b\u044f gretap \u2014 MTU \u0434\u043b\u044f \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0439 WireGuard \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0438 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f \u0431\u044b\u043b\u0438 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u0432 8000 \u0438 7500 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e.<\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u043b \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u0443\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0438 \u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0435 \u0438\u0437 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b 3, \u0441 \u0442\u043e\u0439 \u043b\u0438\u0448\u044c \u0440\u0430\u0437\u043d\u0438\u0446\u0435\u0439, \u0447\u0442\u043e \u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0441\u044f \u0432\u0442\u043e\u0440\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 gretap \u0441 \u0438\u043c\u0435\u043d\u0435\u043c grelan1, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0430\u043a\u0436\u0435 \u0431\u044b\u043b \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 \u043c\u043e\u0441\u0442 br-lan.<\/p>\n<p>\u0412\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0441\u0431\u043e\u0440\u043a\u0443 gretap \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e:<\/p>\n<p>\u041f\u043e\u043c\u0435\u0441\u0442\u0438\u043b \u044d\u0442\u0438 \u0441\u0442\u0440\u043e\u043a\u0438 \u0432 \/etc\/rc.local \u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0435 \u0432 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0435 2:<\/p>\n<pre><code class=\"plaintext\">ip link add grelan0 type gretap remote 192.168.31.1 local 192.168.31.2\nip link set dev grelan0 mtu 7000\nip link set grelan0 up\nbrctl addif br-lan grelan0\n<\/code><\/pre>\n<p>\n\u0414\u043e\u0431\u0430\u0432\u0438\u043b \u044d\u0442\u043e \u0432 \/etc\/rc.local \u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0435 \u0432 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0435 3:<\/p>\n<pre><code class=\"plaintext\">ip link add grelan0 type gretap remote 192.168.31.1 local 192.168.31.3\nip link set dev grelan0 mtu 7000\nip link set grelan0 up\nbrctl addif br-lan grelan0\n<\/code><\/pre>\n<p>\n\u0418 \u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0435-\u0441\u0435\u0440\u0432\u0435\u0440\u0435:<\/p>\n<pre><code class=\"plaintext\">ip link add grelan0 type gretap remote 192.168.31.2 local 192.168.31.1\nip link set dev grelan0 mtu 7000\nip link set grelan0 up\nbrctl addif br-lan grelan0\n\nip link add grelan1 type gretap remote 192.168.31.3 local 192.168.31.1\nip link set dev grelan1 mtu 7000\nip link set grelan1 up\nbrctl addif br-lan grelan1\n<\/code><\/pre>\n<p>\n\u041f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0445 \u0440\u043e\u0443\u0442\u0435\u0440\u043e\u0432 \u044f \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b, \u0447\u0442\u043e \u043e\u043d\u0438 \u043f\u043e \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u043d\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443. \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0432\u0448\u0438\u0441\u044c \u043a \u0438\u0445 SSH (\u0431\u043b\u0430\u0433\u043e, \u044f \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b sshtunnel \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e) \u0431\u044b\u043b\u043e \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043e, \u0447\u0442\u043e WireGuard \u0437\u0430\u0447\u0435\u043c-\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0434\u043b\u044f endpoint, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u0439. \u0422\u0430\u043a, \u0434\u043b\u044f 192.168.30.2 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432 \u0431\u044b\u043b \u0443\u043a\u0430\u0437\u0430\u043d \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 pppoe-wan, \u0442\u043e \u0435\u0441\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442, \u0445\u043e\u0442\u044f \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0434\u043e \u043d\u0435\u0433\u043e \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u043b \u0431\u044b\u0442\u044c \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 wg0. \u041f\u043e\u0441\u043b\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u043e\u0441\u044c. \u041d\u0430\u0439\u0442\u0438 \u0433\u0434\u0435-\u0442\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c WireGuard \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u044d\u0442\u0438\u0445 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432 \u043c\u043d\u0435 \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c. \u0411\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e, \u044f \u0434\u0430\u0436\u0435 \u043d\u0435 \u043f\u043e\u043d\u044f\u043b, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u044d\u0442\u043e OpenWRT, \u043b\u0438\u0431\u043e \u0441\u0430\u043c\u043e\u0433\u043e WireGuard. \u041d\u0435 \u0441\u0442\u0430\u0432 \u0434\u043e\u043b\u0433\u043e \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439, \u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043d\u0430 \u043e\u0431\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u0432 \u0441\u043a\u0440\u0438\u043f\u0442, \u0437\u0430\u0446\u0438\u043a\u043b\u0435\u043d\u043d\u044b\u0439 \u043f\u043e \u0442\u0430\u0439\u043c\u0435\u0440\u0443, \u0441\u0442\u0440\u043e\u043a\u0443 \u0443\u0434\u0430\u043b\u044f\u0432\u0448\u0443\u044e \u044d\u0442\u043e\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442: <\/p>\n<pre><code class=\"bash\">route del 192.168.30.2\n<\/code><\/pre>\n<p><\/p>\n<h2>\u041f\u043e\u0434\u0432\u043e\u0434\u044f \u0438\u0442\u043e\u0433\u0438<\/h2>\n<p>\n\u041f\u043e\u043b\u043d\u043e\u0433\u043e \u043e\u0442\u043a\u0430\u0437\u0430 \u043e\u0442 OpenVPN \u044f \u043f\u043e\u043a\u0430 \u043d\u0435 \u0434\u043e\u0431\u0438\u043b\u0441\u044f, \u0442\u0430\u043a \u043a\u0430\u043a \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0438\u043d\u043e\u0433\u0434\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043a \u043d\u043e\u0432\u043e\u0439 \u0441\u0435\u0442\u0438 \u0441 \u043d\u043e\u0443\u0442\u0431\u0443\u043a\u0430, \u043b\u0438\u0431\u043e \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430, \u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 gretap \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043d\u0430 \u043d\u0438\u0445 \u0432 \u043e\u0431\u0449\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430, \u043d\u043e, \u043d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u044d\u0442\u043e, \u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u0432 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u0435\u0436\u0434\u0443 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0430\u043c\u0438 \u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 VNC \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0435 \u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u0435\u0443\u0434\u043e\u0431\u0441\u0442\u0432. \u041f\u0438\u043d\u0433 \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u043b\u0441\u044f \u043d\u0435\u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u043d\u043e \u0441\u0442\u0430\u043b \u0431\u043e\u043b\u0435\u0435 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u043c:<\/p>\n<p>\u041f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 OpenVPN:<\/p>\n<pre><code class=\"plaintext\">[r0ck3r@desktop ~]$ ping -c 20 192.168.10.110\nPING 192.168.10.110 (192.168.10.110) 56(84) bytes of data.\n64 bytes from 192.168.10.110: icmp_seq=1 ttl=64 time=133 ms\n...\n64 bytes from 192.168.10.110: icmp_seq=20 ttl=64 time=125 ms\n\n--- 192.168.10.110 ping statistics ---\n20 packets transmitted, 20 received, 0% packet loss, time 19006ms\nrtt min\/avg\/max\/mdev = 124.722\/126.152\/136.907\/3.065 ms\n<\/code><\/pre>\n<p>\n\u041f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 WireGuard:<\/p>\n<pre><code class=\"plaintext\">[r0ck3r@desktop ~]$ ping -c 20 192.168.10.110\nPING 192.168.10.110 (192.168.10.110) 56(84) bytes of data.\n64 bytes from 192.168.10.110: icmp_seq=1 ttl=64 time=124 ms\n...\n64 bytes from 192.168.10.110: icmp_seq=20 ttl=64 time=124 ms\n--- 192.168.10.110 ping statistics ---\n20 packets transmitted, 20 received, 0% packet loss, time 19003ms\nrtt min\/avg\/max\/mdev = 123.954\/124.423\/126.708\/0.675 ms\n<\/code><\/pre>\n<p>\n\u041d\u0430 \u043d\u0435\u0433\u043e \u0432 \u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0432\u043b\u0438\u044f\u0435\u0442 \u0432\u044b\u0441\u043e\u043a\u0438\u0439 \u043f\u0438\u043d\u0433 \u0434\u043e VPS, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e 61.5 \u043c\u0441<\/p>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e, \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u043b\u0430\u0441\u044c \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e. \u0422\u0430\u043a, \u0432 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0435 \u0441 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u043c-\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u044f \u0438\u043c\u0435\u044e \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0443 30 \u043c\u0431\u0438\u0442\/\u0441\u0435\u043a, \u0430 \u0432 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0430\u0445 \u043f\u043e 5 \u043c\u0431\u0438\u0442\/\u0441\u0435\u043a. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c, \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f OpenVPN \u043c\u043d\u0435 \u043d\u0435 \u0443\u0434\u0430\u0432\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0441\u0442\u0438\u0447\u044c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u0435\u0436\u0434\u0443 \u0441\u0435\u0442\u044f\u043c\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 3,8 \u043c\u0431\u0438\u0442\/\u0441\u0435\u043a \u043f\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0438\u044f\u043c\u0438 iperf, \u0432 \u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u0430\u043a WireGuard \u00ab\u043f\u0440\u043e\u043a\u0430\u0447\u0430\u043b\u00bb \u0435\u0435 \u0434\u043e \u0442\u0435\u0445 \u0436\u0435 5 \u043c\u0431\u0438\u0442\/\u0441\u0435\u043a.<\/p>\n<p><b class=\"spoiler_title\">\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f WireGuard \u043d\u0430 VPS<\/b><code>[Interface]<br \/>\nAddress = 192.168.30.1\/24<br \/>\nListenPort = 51820<br \/>\nPrivateKey = &lt;\u0417\u0410\u041a\u0420\u042b\u0422\u042b\u0419_\u041a\u041b\u042e\u0427_\u0414\u041b\u042f_VPS&gt;<\/p>\n<p>[Peer]<br \/>\nPublicKey = &lt;\u041e\u0422\u041a\u0420\u042b\u0422\u042b\u0419_\u041a\u041b\u042e\u0427_VPN_1_\u041c\u0421&gt;<br \/>\nAllowedIPs = 192.168.30.2\/32<\/p>\n<p>[Peer]<br \/>\nPublicKey = &lt;\u041e\u0422\u041a\u0420\u042b\u0422\u042b\u0419_\u041a\u041b\u042e\u0427_VPN_2_\u041c\u041a2&gt;<br \/>\nAllowedIPs = 192.168.30.3\/32<\/p>\n<p>[Peer]<br \/>\nPublicKey = &lt;\u041e\u0422\u041a\u0420\u042b\u0422\u042b\u0419_\u041a\u041b\u042e\u0427_VPN_2_\u041c\u041a3&gt;<br \/>\nAllowedIPs = 192.168.30.4\/32<\/code><\/p>\n<p><b class=\"spoiler_title\">\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f WireGuard \u043d\u0430 \u041c\u0421 (\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \/etc\/config\/network)<\/b><\/p>\n<pre><code class=\"plaintext\">#VPN \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f - \u043a\u043b\u0438\u0435\u043d\u0442\nconfig interface 'wg0'\n        option proto 'wireguard'\n        list addresses '192.168.30.2\/24'\n        option private_key '\u0417\u0410\u041a\u0420\u042b\u0422\u042b\u0419_\u041a\u041b\u042e\u0427_VPN_1_\u041c\u0421'\n        option auto '1'\n        option mtu '8000'\n\nconfig wireguard_wg0\n        option public_key '\u041e\u0422\u041a\u0420\u042b\u0422\u042b\u0419_\u041a\u041b\u042e\u0427_VPN_1_VPS'\n        option endpoint_port '51820'\n        option route_allowed_ips '1'\n        option persistent_keepalive '25'\n        list allowed_ips '192.168.30.0\/24'\n        option endpoint_host 'IP_\u0410\u0414\u0420\u0415\u0421_VPS'\n\n#VPN \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f - \u0441\u0435\u0440\u0432\u0435\u0440\nconfig interface 'wg1'\n        option proto 'wireguard'\n        option private_key '\u0417\u0410\u041a\u0420\u042b\u0422\u042b\u0419_\u041a\u041b\u042e\u0427_VPN_2_\u041c\u0421'\n        option listen_port '51821'\n        list addresses '192.168.31.1\/24'\n        option auto '1'\n        option mtu '7500'\n\nconfig wireguard_wg1\n        option public_key '\u041e\u0422\u041a\u0420\u042b\u0422\u042b\u0419_\u041a\u041b\u042e\u0427_VPN_2_\u041c\u041a2'\n        list allowed_ips '192.168.31.2'\n\nconfig wireguard_wg1ip link add grelan0 type gretap remote 192.168.31.1 local 192.168.31.3\n\n        option public_key '\u041e\u0422\u041a\u0420\u042b\u0422\u042b\u0419_\u041a\u041b\u042e\u0427_VPN_2_\u041c\u041a3'\n        list allowed_ips '192.168.31.3'\n<\/code><\/pre>\n<p><b class=\"spoiler_title\">\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f WireGuard \u043d\u0430 \u041c\u041a2 (\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \/etc\/config\/network)<\/b><\/p>\n<pre><code class=\"plaintext\">#VPN \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f - \u043a\u043b\u0438\u0435\u043d\u0442\nconfig interface 'wg0'\n        option proto 'wireguard'\n        list addresses '192.168.30.3\/24'\n        option private_key '\u0417\u0410\u041a\u0420\u042b\u0422\u042b\u0419_\u041a\u041b\u042e\u0427_VPN_1_\u041c\u041a2'\n        option auto '1'\n        option mtu '8000'\n\nconfig wireguard_wg0\n        option public_key '\u041e\u0422\u041a\u0420\u042b\u0422\u042b\u0419_\u041a\u041b\u042e\u0427_VPN_1_VPS'\n        option endpoint_port '51820'\n        option persistent_keepalive '25'\n        list allowed_ips '192.168.30.0\/24'\n        option endpoint_host 'IP_\u0410\u0414\u0420\u0415\u0421_VPS'\n\n#VPN \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f - \u043a\u043b\u0438\u0435\u043d\u0442\nconfig interface 'wg1'\n        option proto 'wireguard'\n        option private_key '\u0417\u0410\u041a\u0420\u042b\u0422\u042b\u0419_\u041a\u041b\u042e\u0427_VPN_2_\u041c\u041a2'\n        list addresses '192.168.31.2\/24'\n        option auto '1'\n        option listen_port '51821'\n        option mtu '7500'\n\nconfig wireguard_wg1\n        option public_key '\u041e\u0422\u041a\u0420\u042b\u0422\u042b\u0419_\u041a\u041b\u042e\u0427_VPN_2_\u041c\u0421'\n        option endpoint_host '192.168.30.2'\n        option endpoint_port '51821'\n        option persistent_keepalive '25'\n        list allowed_ips '192.168.31.0\/24'\n<\/code><\/pre>\n<p><b class=\"spoiler_title\">\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f WireGuard \u043d\u0430 \u041c\u041a3 (\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \/etc\/config\/network)<\/b><\/p>\n<pre><code class=\"plaintext\">#VPN \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f - \u043a\u043b\u0438\u0435\u043d\u0442\nconfig interface 'wg0'\n        option proto 'wireguard'\n        list addresses '192.168.30.4\/24'\n        option private_key '\u0417\u0410\u041a\u0420\u042b\u0422\u042b\u0419_\u041a\u041b\u042e\u0427_VPN_1_\u041c\u041a3'\n        option auto '1'\n        option mtu '8000'\n\nconfig wireguard_wg0\n        option public_key '\u041e\u0422\u041a\u0420\u042b\u0422\u042b\u0419_\u041a\u041b\u042e\u0427_VPN_1_VPS'\n        option endpoint_port '51820'\n        option persistent_keepalive '25'\n        list allowed_ips '192.168.30.0\/24'\n        option endpoint_host 'IP_\u0410\u0414\u0420\u0415\u0421_VPS'\n\n#VPN \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f - \u043a\u043b\u0438\u0435\u043d\u0442\nconfig interface 'wg1'\n        option proto 'wireguard'\n        option private_key '\u0417\u0410\u041a\u0420\u042b\u0422\u042b\u0419_\u041a\u041b\u042e\u0427_VPN_2_\u041c\u041a3'\n        list addresses '192.168.31.3\/24'\n        option auto '1'\n        option listen_port '51821'\n        option mtu '7500'\n\nconfig wireguard_wg1\n        option public_key '\u041e\u0422\u041a\u0420\u042b\u0422\u042b\u0419_\u041a\u041b\u042e\u0427_VPN_2_\u041c\u0421'\n        option endpoint_host '192.168.30.2'\n        option endpoint_port '51821'\n        option persistent_keepalive '25'\n        list allowed_ips '192.168.31.0\/24'\n<\/code><\/pre>\n<p>\u0412 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f\u0445 \u0434\u043b\u044f VPN \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f \u044f \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e \u043a\u043b\u0438\u0435\u043d\u0442\u0430\u043c WireGuard \u043f\u043e\u0440\u0442 51821. \u041f\u043e \u0438\u0434\u0435\u0435 \u044d\u0442\u043e \u043d\u0435 \u043d\u0443\u0436\u043d\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u043a\u043b\u0438\u0435\u043d\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0441 \u043b\u044e\u0431\u043e\u0433\u043e \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u043d\u0435\u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0440\u0442\u0430, \u043d\u043e \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0437\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c \u0432\u0441\u0435 \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u0445 wg0 \u0432\u0441\u0435\u0445 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u0432, \u043a\u0440\u043e\u043c\u0435 \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 UDP-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0439 \u043d\u0430 \u043f\u043e\u0440\u0442 51821.<\/p>\n<p>\u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0447\u0442\u043e \u0441\u0442\u0430\u0442\u044c\u044f \u0431\u0443\u0434\u0435\u0442 \u043a\u043e\u043c\u0443-\u0442\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u0430.<\/p>\n<p><b>P.S. <\/b>\u0422\u0430\u043a\u0436\u0435, \u0445\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441\u0432\u043e\u0438\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0448\u043b\u0435\u0442 \u043c\u043d\u0435 PUSH-\u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 WirePusher, \u043a\u043e\u0433\u0434\u0430 \u0432 \u043c\u043e\u0435\u0439 \u0441\u0435\u0442\u0438 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u043e\u0432\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e. \u0412\u043e\u0442 \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0441\u043a\u0440\u0438\u043f\u0442: <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/r0ck3r\/device_discover\" rel=\"nofollow\">github.com\/r0ck3r\/device_discover<\/a><\/noindex>.<\/p>\n<p><b>UPDATE:<\/b> \u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f OpenVPN-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432<\/p>\n<p><b class=\"spoiler_title\">OpenVPN-\u0441\u0435\u0440\u0432\u0435\u0440<\/b><\/p>\n<pre><code class=\"plaintext\">client-to-client\n\nca \/etc\/openvpn\/server\/ca.crt\ncert \/etc\/openvpn\/server\/vpn-server.crt\ndh \/etc\/openvpn\/server\/dh.pem\nkey \/etc\/openvpn\/server\/vpn-server.key\n\ndev tap\nifconfig-pool-persist \/etc\/openvpn\/ipp.txt 0\nkeepalive 10 60\nproto tcp4\nserver-bridge 192.168.10.1 255.255.255.0 192.168.10.80 192.168.10.254\nstatus \/var\/log\/openvpn-status.log\nverb 3\ncomp-lzo<\/code><\/pre>\n<p><b class=\"spoiler_title\">OpenVPN-\u043a\u043b\u0438\u0435\u043d\u0442<\/b><\/p>\n<pre><code class=\"plaintext\">client\ntls-client\ndev tap\nproto tcp\nremote VPS_IP 1194 # Change to your router's External IP\nresolv-retry infinite\nnobind\n\nca client\/ca.crt\ncert client\/client.crt\nkey client\/client.key\ndh client\/dh.pem\n\ncomp-lzo\npersist-tun\npersist-key\nverb 3<\/code><\/pre>\n<p>\n\u0414\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b easy-rsa<br \/>\n<br \/>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/486864\/\">habr.com<\/a><\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0425\u043e\u0442\u0435\u043b \u0431\u044b \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043e\u043f\u044b\u0442\u043e\u043c \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441\u0435\u0442\u0435\u0439 \u0432 \u0442\u0440\u0435\u0445 \u0433\u0435\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0445 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0430\u0445, \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0448\u043b\u044e\u0437\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0440\u043e\u0443\u0442\u0435\u0440\u044b \u0441 OpenWRT, \u0432 \u043e\u0434\u043d\u0443 \u043e\u0431\u0449\u0443\u044e \u0441\u0435\u0442\u044c. \u041f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441\u0435\u0442\u0435\u0439 \u043c\u0435\u0436\u0434\u0443 L3 \u0441 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u043f\u043e\u0434\u0441\u0435\u0442\u0435\u0439 \u0438 L2 \u0441 \u0431\u0440\u0438\u0434\u0436\u0438\u043d\u0433\u043e\u043c, \u043a\u043e\u0433\u0434\u0430 \u0432\u0441\u0435 \u0443\u0437\u043b\u044b \u0441\u0435\u0442\u0438 \u0431\u0443\u0434\u0443\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0432 \u043e\u0434\u043d\u043e\u0439 \u043f\u043e\u0434\u0441\u0435\u0442\u0438, \u0431\u044b\u043b\u043e \u043e\u0442\u0434\u0430\u043d\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u0435 \u0432\u0442\u043e\u0440\u043e\u043c\u0443 \u0441\u043f\u043e\u0441\u043e\u0431\u0443, \u0431\u043e\u043b\u0435\u0435 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":56188,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-56187","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=\"\u0425\u043e\u0442\u0435\u043b \u0431\u044b \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043e\u043f\u044b\u0442\u043e\u043c \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441\u0435\u0442\u0435\u0439 \u0432 \u0442\u0440\u0435\u0445 \u0433\u0435\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0445 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0430\u0445, \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0448\u043b\u044e\u0437\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0440\u043e\u0443\u0442\u0435\u0440\u044b \u0441 OpenWRT, \u0432 \u043e\u0434\u043d\u0443 \u043e\u0431\u0449\u0443\u044e \u0441\u0435\u0442\u044c. \u041f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441\u0435\u0442\u0435\u0439 \u043c\u0435\u0436\u0434\u0443 L3 \u0441 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u043f\u043e\u0434\u0441\u0435\u0442\u0435\u0439 \u0438 L2 \u0441 \u0431\u0440\u0438\u0434\u0436\u0438\u043d\u0433\u043e\u043c, \u043a\u043e\u0433\u0434\u0430 \u0432\u0441\u0435 \u0443\u0437\u043b\u044b \u0441\u0435\u0442\u0438 \u0431\u0443\u0434\u0443\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0432 \u043e\u0434\u043d\u043e\u0439 \u043f\u043e\u0434\u0441\u0435\u0442\u0438, \u0431\u044b\u043b\u043e \u043e\u0442\u0434\u0430\u043d\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u0435 \u0432\u0442\u043e\u0440\u043e\u043c\u0443 \u0441\u043f\u043e\u0441\u043e\u0431\u0443, \u0431\u043e\u043b\u0435\u0435\" \/>\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\/sq\/blog\/administrirovanie\/perehod-s-openvpn-na-wireguard-dlya-obedineniya-setej-v-odnu-set-l2\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"sq_AL\" \/>\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\u0435\u0440\u0435\u0445\u043e\u0434 \u0441 OpenVPN \u043d\u0430 WireGuard \u0434\u043b\u044f \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441\u0435\u0442\u0435\u0439 \u0432 \u043e\u0434\u043d\u0443 \u0441\u0435\u0442\u044c L2 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0425\u043e\u0442\u0435\u043b \u0431\u044b \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043e\u043f\u044b\u0442\u043e\u043c \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441\u0435\u0442\u0435\u0439 \u0432 \u0442\u0440\u0435\u0445 \u0433\u0435\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0445 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0430\u0445, \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0448\u043b\u044e\u0437\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0440\u043e\u0443\u0442\u0435\u0440\u044b \u0441 OpenWRT, \u0432 \u043e\u0434\u043d\u0443 \u043e\u0431\u0449\u0443\u044e \u0441\u0435\u0442\u044c. \u041f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441\u0435\u0442\u0435\u0439 \u043c\u0435\u0436\u0434\u0443 L3 \u0441 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u043f\u043e\u0434\u0441\u0435\u0442\u0435\u0439 \u0438 L2 \u0441 \u0431\u0440\u0438\u0434\u0436\u0438\u043d\u0433\u043e\u043c, \u043a\u043e\u0433\u0434\u0430 \u0432\u0441\u0435 \u0443\u0437\u043b\u044b \u0441\u0435\u0442\u0438 \u0431\u0443\u0434\u0443\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0432 \u043e\u0434\u043d\u043e\u0439 \u043f\u043e\u0434\u0441\u0435\u0442\u0438, \u0431\u044b\u043b\u043e \u043e\u0442\u0434\u0430\u043d\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u0435 \u0432\u0442\u043e\u0440\u043e\u043c\u0443 \u0441\u043f\u043e\u0441\u043e\u0431\u0443, \u0431\u043e\u043b\u0435\u0435\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/perehod-s-openvpn-na-wireguard-dlya-obedineniya-setej-v-odnu-set-l2\" \/>\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-02-05T21:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-02-18T11:04:24+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\udd47Kalimi nga OpenVPN n\u00eb WireGuard p\u00ebr t\u00eb bashkuar rrjetet n\u00eb nj\u00eb rrjet L2 | ProHoster","description":"D\u00ebshiroja t\u00eb ndaj p\u00ebrvoj\u00ebn e bashkimit t\u00eb rrjeteve n\u00eb tre apartamente t\u00eb larg\u00ebta gjeografikisht, ku n\u00eb secil\u00ebn p\u00ebrdoren router-a me OpenWRT si kalim, n\u00eb nj\u00eb rrjet t\u00eb p\u00ebrbashk\u00ebt. Kur u zgjodh m\u00ebnyra e bashkimit t\u00eb rrjeteve mes L3 me rrug\u00ebzim t\u00eb n\u00ebnrrjeteve dhe L2 me urat, kur t\u00eb gjitha nyjet e rrjetit do t\u00eb ishin n\u00eb t\u00eb nj\u00ebjt\u00ebn n\u00ebnrrjet, u preferua m\u00ebnyra e dyt\u00eb, m\u00eb","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/perehod-s-openvpn-na-wireguard-dlya-obedineniya-setej-v-odnu-set-l2","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","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\u0435\u0440\u0435\u0445\u043e\u0434 \u0441 OpenVPN \u043d\u0430 WireGuard \u0434\u043b\u044f \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441\u0435\u0442\u0435\u0439 \u0432 \u043e\u0434\u043d\u0443 \u0441\u0435\u0442\u044c L2 | ProHoster","og:description":"\u0425\u043e\u0442\u0435\u043b \u0431\u044b \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043e\u043f\u044b\u0442\u043e\u043c \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441\u0435\u0442\u0435\u0439 \u0432 \u0442\u0440\u0435\u0445 \u0433\u0435\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0445 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0430\u0445, \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0448\u043b\u044e\u0437\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0440\u043e\u0443\u0442\u0435\u0440\u044b \u0441 OpenWRT, \u0432 \u043e\u0434\u043d\u0443 \u043e\u0431\u0449\u0443\u044e \u0441\u0435\u0442\u044c. \u041f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441\u0435\u0442\u0435\u0439 \u043c\u0435\u0436\u0434\u0443 L3 \u0441 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u043f\u043e\u0434\u0441\u0435\u0442\u0435\u0439 \u0438 L2 \u0441 \u0431\u0440\u0438\u0434\u0436\u0438\u043d\u0433\u043e\u043c, \u043a\u043e\u0433\u0434\u0430 \u0432\u0441\u0435 \u0443\u0437\u043b\u044b \u0441\u0435\u0442\u0438 \u0431\u0443\u0434\u0443\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0432 \u043e\u0434\u043d\u043e\u0439 \u043f\u043e\u0434\u0441\u0435\u0442\u0438, \u0431\u044b\u043b\u043e \u043e\u0442\u0434\u0430\u043d\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u0435 \u0432\u0442\u043e\u0440\u043e\u043c\u0443 \u0441\u043f\u043e\u0441\u043e\u0431\u0443, \u0431\u043e\u043b\u0435\u0435","og:url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/perehod-s-openvpn-na-wireguard-dlya-obedineniya-setej-v-odnu-set-l2","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-02-05T21:00:00+00:00","article:modified_time":"2020-02-18T11:04:24+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"56187","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 12:25:16","updated":"2022-09-28 11:13:02"},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/56187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=56187"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/56187\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media\/56188"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=56187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=56187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=56187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}