{"id":162539,"date":"2012-12-14T02:56:03","date_gmt":"2012-12-13T22:56:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=162539"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=162539","title":{"rendered":"<span class=\"post_title\">\u041a\u0430\u043a \u043c\u044b \u0441\u043d\u0438\u0436\u0430\u043b\u0438 \u043f\u0438\u043d\u0433 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e OpenVPN<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u041f\u0440\u0438\u0432\u0435\u0442, %username%. \u0412\u0441\u0435 \u043d\u0430\u0447\u0430\u043b\u043e\u0441\u044c \u0441 \u043f\u043e\u043b\u0443\u043d\u043e\u0447\u043d\u043e\u0433\u043e \u0437\u0432\u043e\u043d\u043a\u0430 \u0432 \u0441\u043a\u0430\u0439\u043f. \u0421\u0443\u0442\u044c \u0431\u044b\u043b\u0430 \u0442\u0430\u043a\u043e\u0432\u0430: \u00ab\u0417\u044f\u0442\u044c, \u0443 \u043c\u0435\u043d\u044f \u043f\u0438\u043d\u0433 \u0432 \u0438\u0433\u0440\u0435 \u0432\u044b\u0441\u043e\u043a\u0438\u0439, \u043f\u043e\u043c\u043e\u0433\u0438\u00bb. \u0418 \u0432\u043e\u0442 \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043c\u043e\u0447\u044c. \u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u043f\u043e\u043c\u043e\u0449\u0438 \u0441\u0442\u0430\u043b <a href=\"http:\/\/openvpn.net\">OpenVPN<\/a>. \u041f\u043e\u0434 \u043a\u0430\u0442\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430, \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u043e\u0432 \u0438 \u043f\u043e\u044f\u0441\u043d\u0435\u043d\u0438\u0435 \u0441\u0443\u0442\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b. \u0418 \u0445\u043e\u0442\u044f \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u043c\u0430\u043d\u0443\u0430\u043b\u043e\u0432 \u0443\u0436\u0435 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0434\u0432\u043e\u0434\u043d\u044b\u0435 \u043a\u0430\u043c\u043d\u0438 \u0432 \u043d\u0438\u0445 \u043d\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u044b, \u0447\u0442\u043e \u0438 \u043f\u043e\u0441\u043b\u0443\u0436\u0438\u043b\u043e \u043f\u043e\u0432\u043e\u0434\u043e\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0439.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0418\u0442\u0430\u043a, \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432\u044b\u0441\u043e\u043a\u043e\u0433\u043e \u043f\u0438\u043d\u0433\u0430 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0430 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0443\u043a\u0440\u0430\u0438\u043d\u0441\u043a\u043e\u0433\u043e \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u00ab\u0423\u043a\u0440\u0422\u0435\u043b\u0435\u043a\u043e\u043c\u00bb (\u0421\u0440\u0430\u0437\u0443 \u0437\u0430\u043c\u0435\u0447\u0443, \u0441\u043c\u0435\u043d\u0430 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u043d\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u043f\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u0447\u0430\u0441\u0442\u043d\u043e\u0433\u043e \u0441\u0435\u043a\u0442\u043e\u0440\u0430, \u0433\u0434\u0435 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432, \u0437\u0430 \u0440\u0430\u0437\u0443\u043c\u043d\u044b\u0435 \u0434\u0435\u043d\u044c\u0433\u0438, \u043d\u0435\u0442). \u0421 \u0425\u0430\u0440\u044c\u043a\u043e\u0432\u0430 \u0434\u043e \u041c\u043e\u0441\u043a\u0432\u044b \u043f\u0438\u043d\u0433 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u0447\u0443\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 100 \u043c\u0441. \u041f\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0438 \u0431\u044b\u043b\u043e \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u0441\u0432\u044f\u0437\u044c \u0438\u0434\u0435\u0442 \u0447\u0435\u0440\u0435\u0437, \u0442\u043e \u043b\u0438 \u0413\u0435\u0440\u043c\u0430\u043d\u0438\u044e, \u0442\u043e \u043b\u0438 \u0428\u0432\u0435\u0439\u0446\u0430\u0440\u0438\u044e, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0431\u044b\u043b\u0430 \u043f\u043e\u0442\u0435\u0440\u044f \u043e\u043a\u043e\u043b\u043e 50 \u043c\u0441. \u00ab\u0425\u043c\u00bb \u2014 \u043f\u043e\u0434\u0443\u043c\u0430\u043b \u044f, \u0438 \u0440\u0435\u0448\u0438\u043b \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u043e \u0434\u0435\u043b\u043e. \u041f\u0438\u0441\u044c\u043c\u0430 \u0438 \u0437\u0432\u043e\u043d\u043a\u0438 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0443 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0434\u0430\u043b\u0438, \u043e\u0442\u0432\u0435\u0442 \u0431\u044b\u043b \u043e\u0434\u0438\u043d: \u00ab\u041c\u0430\u0440\u0448\u0440\u0443\u0442 \u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0435\u043b\u044c\u0437\u044f\u00bb. \u041d\u0443, \u0433\u0434\u0435 \u043d\u0430\u0448\u0430 \u043d\u0435 \u043f\u0440\u043e\u043f\u0430\u0434\u0430\u043b\u0430?! \u0420\u0435\u0448\u0435\u043d\u043e: OpenVPN \u0441\u0435\u0440\u0432\u0435\u0440 \u0432 \u041a\u0438\u0435\u0432\u0435 (\u0434\u043e \u043d\u0435\u0433\u043e \u0441\u0432\u044f\u0437\u044c \u043f\u0440\u044f\u043c\u0430\u044f) \u0441 \u043f\u0440\u044f\u043c\u044b\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u043c \u0434\u043e \u041c\u043e\u0441\u043a\u0432\u044b. \u0417\u0430\u0431\u0435\u0433\u0430\u044f \u0432\u043f\u0435\u0440\u0435\u0434, \u0441\u043e\u043e\u0431\u0449\u0443, \u0447\u0442\u043e \u043f\u0438\u043d\u0433 \u0441\u043d\u0438\u0437\u0438\u043b\u0441\u044f \u0432 2 \u0440\u0430\u0437\u0430, \u0441 100-120 \u0434\u043e 50-60 \u043c\u0441.<\/p>\n<p>  <b>\u0417\u0430\u0434\u0430\u0447\u0430<\/b>:  <\/p>\n<ul>\n<li>OpenVPN \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 \u0431\u0430\u0437\u043e\u0432\u044b\u043c\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438 <\/li>\n<li>OpenVPN \u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0430 Windows \u043c\u0430\u0448\u0438\u043d\u0435, \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0442\u0430\u043a, \u0447\u0442\u043e \u0431\u044b \u0432\u0435\u0441\u044c \u0442\u0440\u0430\u0444\u0438\u043a \u0448\u0435\u043b \u043f\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u043c\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0443 \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0440\u0430\u0444\u0438\u043a \u043a \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u043f\u043e\u0434\u0441\u0435\u0442\u0438 \u0448\u0435\u043b \u0447\u0435\u0440\u0435\u0437 \u0441\u0435\u0440\u0432\u0435\u0440 (\u0434\u0430\u0431\u044b \u043d\u0435 \u0437\u0430\u0441\u043e\u0440\u044f\u0442\u044c \u043a\u0430\u043d\u0430\u043b \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432\u0441\u044f\u043a\u0438\u043c\u0438 \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u0430\u043c\u0438, \u0432\u0435\u0434\u044c \u043c\u044b \u043f\u043e\u0442\u043e\u043c \u043d\u0430 \u043d\u0435\u0433\u043e \u0435\u0449\u0451 \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u043c) <\/li>\n<li>\u041e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c, \u043d\u043e \u0438 \u043f\u043e \u043f\u0430\u0440\u0435 \u00ab\u043b\u043e\u0433\u0438\u043d: \u043f\u0430\u0440\u043e\u043b\u044c\u00bb. \u041d\u0443 \u043d\u0435 \u0432\u0435\u0440\u0438\u0442 \u043d\u0430\u0448 \u0442\u0435\u0441\u0442\u044c \u0432 \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0441\u0442\u044c \u00ab\u043a\u0430\u043a\u0438\u0445-\u0442\u043e \u0442\u0430\u043c\u00bb \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432, \u0430 [sarcasm]\u043b\u043e\u0433\u0438\u043d-\u043f\u0430\u0440\u043e\u043b\u044c \u2013 \u044d\u0442\u043e \u0434\u0430, \u044d\u0442\u043e \u043d\u0430\u0434\u0435\u0436\u043d\u043e[\/sarcasm] <\/li>\n<\/ul>\n<p>  \u0412\u0441\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043a\u0430\u0441\u0430\u044e\u0442\u0441\u044f Ubuntu 11.04 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u0438 Windows 7 \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0435.<br \/>  \u0418\u0442\u0430\u043a, \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043e\u0444\u043e\u0440\u043c\u043b\u044f\u0435\u043c \u0437\u0430\u044f\u0432\u043a\u0443 \u043d\u0430 \u0442\u0435\u0441\u0442 VDS \u0438\u043b\u0438 VPS \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u041a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0443 \u0442\u0435\u0445\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u043b\u0443\u0447\u0448\u0435 \u0441\u0440\u0430\u0437\u0443 \u0443\u0442\u043e\u0447\u043d\u0438\u0442\u044c, \u0432\u043a\u043b\u044e\u0447\u0435\u043d \u043c\u043e\u0434\u0443\u043b\u044c \u00abtun\u00bb \u0432 \u044f\u0434\u0440\u0435 Ubuntu \u043d\u0430 \u0438\u0445 VDS \u0438\u043b\u0438 VPS. \u0410 \u0442\u043e \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 \u043d\u0443\u043b\u044f, \u0442\u0430\u043a \u043a\u0430\u043a \u0432 \u043f\u0435\u0440\u0432\u043e\u043c \u0431\u0430\u043d\u0430\u043b\u044c\u043d\u043e\u0435 \u00ab\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 OpenVZ\u00bb, \u043a\u0430\u043a \u0441\u043a\u0430\u0437\u0430\u043b \u043c\u043d\u0435 \u0441\u0430\u043f\u043f\u043e\u0440\u0442. \u0425\u043e\u0442\u044f \u043e\u0431 \u044d\u0442\u043e\u043c \u043d\u044e\u0430\u043d\u0441\u0435 \u043d\u0438 \u0432 \u043e\u0434\u043d\u043e\u043c \u043c\u0430\u043d\u0443\u0430\u043b\u0435 \u0442\u0430\u043a \u0438 \u043d\u0435 \u0443\u0432\u0438\u0434\u0435\u043b. \u0412 \u0438\u0442\u043e\u0433\u0435 -4 \u0447\u0430\u0441\u0430 \u0432\u0440\u0435\u043c\u0435\u043d\u0438(2 \u043d\u0430 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0438 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u0437\u0430\u044f\u0432\u043a\u0438 \u043d\u0430 \u0442\u0435\u0441\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0435\u0449\u0451 1 \u043d\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0438 \u0435\u0449\u0451 1 \u043d\u0430 \u00ab\u043f\u043e\u0447\u0435\u043c\u0443 \u043e\u043d\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u00bb).<\/p>\n<h2>\u0421\u0435\u0440\u0432\u0435\u0440<\/h2>\n<p>  \u041e\u0441\u043d\u043e\u0432\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c Ubuntu \u043d\u0435 \u043f\u0438\u0448\u0443, \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0431\u0440\u0430 \u0438 \u0442\u0430\u043a \u0432 \u0441\u0435\u0442\u0438 \u0432\u0430\u043b\u043e\u043c. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0440\u0430\u0437\u0443 \u043a \u0434\u0435\u043b\u0443.<br \/>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0441\u0430\u043c OpenVPN:  <\/p>\n<pre><code> apt-get install openvpn<\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0435\u043c \u043a \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432 \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0430.  <\/p>\n<pre><code>cd \/usr\/share\/doc\/openvpn\/examples\/easy-rsa\/2.0\/<\/code><\/pre>\n<p>  \u041c\u043e\u0436\u043d\u043e \u0441\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435(\u0447\u0442\u043e \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435)  <\/p>\n<pre><code>vi .\/vars #\u0441\u0430\u043c \u0444\u0430\u0439\u043b \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 export KEY_SIZE=1024 #\u0434\u043b\u0438\u043d\u0430 \u043a\u043b\u044e\u0447\u0430, \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u043e-\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u0442\u0430\u043a \u043a\u0430\u043a \u0443 \u043d\u0430\u0441 \u043e\u043d\u043b\u0430\u0439\u043d \u0438\u0433\u0440\u0430, \u0430 \u043d\u0435 \u0441\u0435\u0440\u0432\u0435\u0440 \u0426\u0420\u0423 export KEY_EXPIRE=3650 #\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0431\u0443\u0434\u0435\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u0435\u043d \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0432 \u0434\u043d\u044f\u0445. \u0414\u0443\u043c\u0430\u044e, \u044d\u0442\u0438\u0445 10 \u043b\u0435\u0442 \u043d\u0430\u043c \u0445\u0432\u0430\u0442\u0438\u0442 \u0441 \u0433\u043e\u043b\u043e\u0432\u043e\u044e #\u0434\u0430\u043b\u044c\u0448\u0435 \u043c\u043e\u0436\u0435\u043c \u0432\u043d\u0435\u0441\u0442\u0438 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 set KEY_COUNTRY=UA set KEY_PROVINCE=KH set KEY_CITY=Kharkov set KEY_ORG=Zadrot`s_Home set KEY_EMAIL=mail@host.domain   #\u043d\u0430\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0433\u043b\u044f\u043d\u0443\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0438 \u0437\u0430\u043f\u043e\u043c\u043d\u0438\u0442\u044c \u0438\u043b\u0438 \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u0437\u0434\u0435\u0441\u044c, \u0442\u0430\u043a \u043a\u0430\u043a \u0443 \u043c\u0435\u043d\u044f \u0438\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0432\u044b\u0437\u044b\u0432\u0430\u043b \u043e\u0448\u0438\u0431\u043a\u0443 (\u0438 \u043e\u043f\u044f\u0442\u044c \u0436\u0435, \u043d\u0438 \u0432 \u043e\u0434\u043d\u043e\u043c \u043c\u0430\u043d\u0443\u0430\u043b\u0435\u2026 \u044d\u0445) KEY_CONFIG=***.cnf <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432. \u0421\u0440\u0430\u0437\u0443 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0430\u044e, \u0435\u0441\u043b\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b \u043d\u0435 \u0445\u043e\u0442\u044f\u0442 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f, \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u0435\u0441\u0442\u044c \u043b\u0438 \u0444\u0430\u0439\u043b \u0438\u043c\u0435\u043d\u0435\u043c, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u043c \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0435 \u00abKEY_CONFIG\u00bb, \u0432 \u044d\u0442\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438. \u0410 \u0442\u043e \u0443 \u043c\u0435\u043d\u044f \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0435 \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u043e \u00abopenssl.cnf\u00bb, \u0430 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0431\u044b\u043b\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0444\u0430\u0439\u043b\u043e\u0432 \u00abopenssl-0-9-0.cnf\u00bb, \u00abopenssl-1.0.0-old.cnf\u00bb \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435. \u042f \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u0437\u044f\u043b \u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043b \u00abopenssl-1.0.0.cnf\u00bb \u0432 \u00abopenssl.cnf\u00bb \u0438, \u043e \u0447\u0443\u0434\u043e, \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e.  <\/p>\n<pre><code> .\/build-ca\t\t\t .\/build-key-server server\t .\/build-dh # \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043c \u0438\u0445 \u0432 \/etc\/openvpn\/ mv .\/keys\/ca.crt  \/etc\/openvpn mv .\/keys\/server.crt  \/etc\/openvpn mv .\/keys\/server.key  \/etc\/openvpn mv .\/keys\/dh1024.pem  \/etc\/openvpn  # \u0438 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 .\/build-key-pkcs12 gamer   #\u0432\u043c\u0435\u0441\u0442\u043e gamer \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043b\u044e\u0431\u0435 \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0438 \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c Export password, \u043e\u043d \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0435\u0449\u0451 <\/code><\/pre>\n<p>  \u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0435\u043c \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0441\u0430\u043c\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430  <\/p>\n<pre><code># \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0438 \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u201c\u043e\u0431\u0440\u0430\u0437\u0435\u0446\u201c \u043a\u043e\u043d\u0444\u0438\u0433\u0430 cp \/usr\/share\/doc\/openvpn\/examples\/sample-config-files\/server.conf.gz \/etc\/openvpn\/  gzip \u2013d server.conf.gz # \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0441\u0430\u043c \u043a\u043e\u043d\u0444\u0438\u0433 \u0444\u0430\u0439\u043b Vi server.conf # \u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0441\u0430\u043c\u0443\u044e \u043c\u0430\u043b\u043e\u0441\u0442\u044c     local \u0432\u043d\u0435\u0448\u043d\u0438\u0439_ip_\u0441\u0435\u0440\u0432\u0435\u0440\u0430  push &quot;redirect-gateway def1 bypass-dhcp&quot; # \u0435\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0412\u0415\u0421\u042c \u0442\u0440\u0430\u0444\u0438\u043a \u0447\u0435\u0440\u0435\u0437 \u043d\u0430\u0448 \u0441\u0435\u0440\u0432\u0435\u0440, \u0442\u043e \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u044d\u0442\u0443 \u0441\u0442\u0440\u043e\u043a\u0443  #\u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0438 dns \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u043f\u0440\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438(\u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043b\u0435\u0433\u043a\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f Windows \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432, \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u0442\u0430\u043d\u0446\u044b \u0441 \u0431\u0443\u0431\u043d\u043e\u043c \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u043e \u0447\u0435\u043c \u0442\u043e\u0436\u0435 \u0447\u0430\u0441\u0442\u043e \u0437\u0430\u0431\u044b\u0432\u0430\u044e\u0442 \u0432 \u043c\u0430\u043d\u0443\u0430\u043b\u0430\u0445)   push &quot;dhcp-option DNS *.*.*.*&quot;   push &quot;dhcp-option DNS *.*.*.*&quot;  verb 6 # \u044d\u0442\u0430 \u0441\u0442\u0440\u043e\u043a\u0430 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u0432\u0435\u0441\u0442\u0438 \u0431\u043e\u043b\u0435\u0435 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043b\u043e\u0433\u0438, \u0447\u0435\u043c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e. \u041f\u043e\u043b\u0435\u0437\u043d\u043e \u0434\u043b\u044f \u043e\u0442\u043b\u043e\u0432\u0430 \u043e\u0448\u0438\u0431\u043e\u043a \u043f\u043e\u0441\u043b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438  # \u0422\u0430\u043a \u0436\u0435 \u0434\u043b\u044f \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u043f\u043e \u043b\u043e\u0433\u0438\u043d\u0443-\u043f\u0430\u0440\u043e\u043b\u044e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c, \u0435\u0441\u043b\u0438 \u0412\u0430\u043c \u044d\u0442\u043e \u043d\u0435 \u043d\u0443\u0436\u043d\u043e - \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u0439\u0442\u0435 auth-user-pass-verify \/etc\/openvpn\/verify.sh via-file # \u041f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043b\u043e\u0433\u0438\u043d\u0430 \u0438 \u043f\u0430\u0440\u043e\u043b\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u0443 #client-cert-not-required # \u0420\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0439\u0442\u0435, \u0435\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u043b\u043e\u0433\u0438\u043d\u0443-\u043f\u0430\u0440\u043e\u043b\u044e, \u0431\u0435\u0437 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0445 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432 username-as-common-name # \u041a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u043f\u043e \u043b\u043e\u0433\u0438\u043d\u0443-\u043f\u0430\u0440\u043e\u043b\u044e tmp-dir \/etc\/openvpn\/tmp # \u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u0441\u0430\u043c\u0438 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0430\u043f\u043a\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u201cmkdir tmp\u201d script-security 2 <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442 verify.sh \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043b\u043e\u0433\u0438\u043d\u0430 \u0438 \u043f\u0430\u0440\u043e\u043b\u044f. <br \/>  \u041f\u043e\u0434 \u0441\u043f\u043e\u0439\u043b\u0435\u0440\u043e\u043c \u0442\u0435\u043a\u0441\u0442 \u0441\u043a\u0440\u0438\u043f\u0442\u0430   <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">verify.sh<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">#!\/bin\/sh ## format: username:password username:password ... ## you can even have same usernames with different passwords # USERS='user1:pass1 user2:pass2 user3:pass3' ## you could put username:password in ## a separate file and read it like this USERS=`cat \/etc\/openvpn\/user.pass` vpn_verify() { if [ ! $1 ] || [ ! $2 ]; then #echo &quot;No username or password: $*&quot; exit 1 fi ## it can also be done with grep or sed for i in $USERS; do if [ &quot;$i&quot; = &quot;$1:$2&quot; ]; then ## you can add here logging of users ## if you have enough space for log file #echo `date` $1:$2 &gt;&gt; your_log_file exit 0 fi done } if [ ! $1 ] || [ ! -e $1 ]; then #echo &quot;No file&quot; exit 1 fi ## $1 is file name which contains ## passed username and password vpn_verify `cat $1`  #echo &quot;No user with this password found&quot;  exit 1<\/code><\/pre>\n<p>  \u0418 \u0434\u0435\u043b\u0430\u0435\u043c \u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u043c: chmod +x verify.sh<br \/>  \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0444\u0430\u0439\u043b user.pass \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u201cuser1:pass1 user2:pass2 \u0438 \u0442\u0434\u201d \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0431\u0435\u043b.  <\/div>\n<\/div>\n<p>  \u0418 \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0430\u043a\u043a\u043e\u0440\u0434 \u2013 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 NAT \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u043f\u0443\u0441\u043a  <\/p>\n<pre><code>vi \/etc\/sysctl.conf net.ipv4.ip_forward=1 # \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0441\u0442\u0440\u043e\u043a\u0443 vi \/etc\/rc.local # \u0432\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435: iptables -A FORWARD -s 10.8.0.0\/24 -j ACCEPT iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -t nat -A POSTROUTING -s 10.8.0.0\/24 -o eth0 -j MASQUERADE #\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0439, \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c ifconfig <\/code><\/pre>\n<p>  \u041d\u0443 \u0447\u0442\u043e \u0436\u0435, \u0441\u0435\u0440\u0432\u0435\u0440 \u0433\u043e\u0442\u043e\u0432, \u043c\u043e\u0436\u0435\u043c \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0435\u0433\u043e \u0438 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442.<\/p>\n<h2>\u041a\u043b\u0438\u0435\u043d\u0442<\/h2>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c OpenVPN \u0434\u043b\u044f Win. \u0422\u0430\u043a \u043a\u0430\u043a \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043d\u0430\u0448\u0435\u0433\u043e \u00ab\u0441\u0435\u0440\u0432\u0438\u0441\u0430\u00bb (\u043e\u043d \u0436\u0435 \u00ab\u0422\u0435\u0441\u0442\u044c\u00bb) \u0441\u043b\u0430\u0431\u043e \u043f\u043e\u0434\u043a\u043e\u0432\u0430\u043d \u0432 \u043e\u043a\u043e\u043b\u043e\u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043d\u043e\u0439 \u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0435, \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u044f\u0440\u043b\u044b\u043a\u0430 \u0441\u0442\u0430\u0432\u0438\u043c \u00ab\u0417\u0430\u043f\u0443\u0441\u043a \u043e\u0442 \u0438\u043c\u0435\u043d\u0438 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430\u00bb, \u0447\u0442\u043e \u0431\u044b \u043d\u0435 \u0449\u0435\u043b\u043a\u0430\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u041f\u041a\u041c(\u0432 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435 \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b)<br \/>  \u0412\u044b\u0442\u044f\u0433\u0438\u0432\u0430\u0435\u043c \u043f\u043e SSH \u0438\u043b\u0438 FTP \u0441 \u043d\u0430\u0448\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0444\u0430\u0439\u043b\u044b:  <\/p>\n<pre><code>\/usr\/share\/doc\/openvpn\/examples\/easy-rsa\/2.0\/keys\/ca.crt \/usr\/share\/doc\/openvpn\/examples\/easy-rsa\/2.0\/keys\/gamer.crt \/usr\/share\/doc\/openvpn\/examples\/easy-rsa\/2.0\/keys\/gamer.csr \/usr\/share\/doc\/openvpn\/examples\/easy-rsa\/2.0\/keys\/gamer.key \/usr\/share\/doc\/openvpn\/examples\/easy-rsa\/2.0\/keys\/gamer.p12 <\/code><\/pre>\n<p>  \u0418 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0438\u0445 \u0432  <\/p>\n<pre><code>%ProgramFiles%\\OpenVPN\\config <\/code><\/pre>\n<p>  \u0422\u0430\u043c \u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 config.ovpn \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435\u043c:  <\/p>\n<pre><code># 123123 Client # \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 \u0440\u0435\u0436\u0438\u043c \u0440\u0430\u0431\u043e\u0442\u044b \u043a\u043b\u0438\u0435\u043d\u0442 dev tun  proto udp remote *.*.*.* 1194 #\u0441\u043e\u043e\u0431\u0449\u0430\u0435\u043c ip \u0438 \u043f\u043e\u0440\u0442 \u043d\u0430\u0448\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430(\u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0431\u0435\u043b) resolv-retry infinite nobind persist-key persist-tun ca ca.crt #\u0438\u043c\u044f \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 cert client.crt #\u0438\u043c\u044f \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 key client.key #\u0438\u043c\u044f \u043a\u043b\u044e\u0447\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 comp-lzo verb 3 remote-cert-tls server pull route 109.105.0.0 255.255.0.0 #\u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u043a \u043f\u043e\u0434\u0441\u0435\u0442\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u043d\u0430\u0448\u0435\u0439 \u0438\u0433\u0440\u044b, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c, \u0442\u043e \u0432\u0435\u0441\u044c \u0442\u0440\u0430\u0444\u0438\u043a \u043f\u043e\u0439\u0434\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 OpenVPN, \u0430 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u0433\u0440\u043e\u0432\u043e\u0439 auth-user-pass #\u0435\u0441\u043b\u0438 \u043d\u0435 \u043d\u0443\u0436\u043d\u0430 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u0447\u0435\u0440\u0435\u0437 \u043b\u043e\u0433\u0438\u043d-\u043f\u0430\u0440\u043e\u043b\u044c, \u0442\u043e \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0441\u0442\u0440\u043e\u043a\u0443  <\/code><\/pre>\n<p>  \u041d\u0443 \u0447\u0442\u043e \u0436\u0435, \u0432\u0441\u0435 \u0433\u043e\u0442\u043e\u0432\u043e, \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440, \u0438 \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0441\u044f \u043a \u043d\u0435\u043c\u0443 \u0447\u0435\u0440\u0435\u0437 \u0438\u043a\u043e\u043d\u043a\u0443 OpenVPN \u0432 \u0442\u0440\u0435\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043f\u0443\u043d\u043a\u0442 \u00ab\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0441\u044f\u00bb. \u0412\u0432\u043e\u0434\u0438\u043c \u043f\u0430\u0440\u043e\u043b\u044c \u043e\u0442 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430, \u043b\u043e\u0433\u0438\u043d, \u043f\u0430\u0440\u043e\u043b\u044c \u0438 \u0432\u0443\u0430\u043b\u044f:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c8\/f31\/fcb\/2c8f31fcb32baf95f87d88ba9aa22831.jpg\"\/><\/p>\n<p>  \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0434\u043e \u0438 \u043f\u043e\u0441\u043b\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a \u043d\u0430\u0448\u0435\u043c\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0443:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0411\u044b\u043b\u043e<\/b><\/p>\n<div class=\"spoiler_text\">\u041e\u0431\u043c\u0435\u043d \u043f\u0430\u043a\u0435\u0442\u0430\u043c\u0438 \u0441 pointblank.ru [109.105.130.101] \u0441 32 \u0431\u0430\u0439\u0442\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0445:<br \/>  \u041e\u0442\u0432\u0435\u0442 \u043e\u0442 109.105.130.101: \u0447\u0438\u0441\u043b\u043e \u0431\u0430\u0439\u0442=32 \u0432\u0440\u0435\u043c\u044f=107\u043c\u0441 TTL=245<br \/>  \u041e\u0442\u0432\u0435\u0442 \u043e\u0442 109.105.130.101: \u0447\u0438\u0441\u043b\u043e \u0431\u0430\u0439\u0442=32 \u0432\u0440\u0435\u043c\u044f=111\u043c\u0441 TTL=245<br \/>  \u041e\u0442\u0432\u0435\u0442 \u043e\u0442 109.105.130.101: \u0447\u0438\u0441\u043b\u043e \u0431\u0430\u0439\u0442=32 \u0432\u0440\u0435\u043c\u044f=104\u043c\u0441 TTL=245<br \/>  \u041e\u0442\u0432\u0435\u0442 \u043e\u0442 109.105.130.101: \u0447\u0438\u0441\u043b\u043e \u0431\u0430\u0439\u0442=32 \u0432\u0440\u0435\u043c\u044f=108\u043c\u0441 TTL=245<\/p>\n<p>  \u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 Ping \u0434\u043b\u044f 109.105.130.101:<br \/>   \u041f\u0430\u043a\u0435\u0442\u043e\u0432: \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e = 4, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043e = 4, \u043f\u043e\u0442\u0435\u0440\u044f\u043d\u043e = 0<br \/>   (0% \u043f\u043e\u0442\u0435\u0440\u044c)<br \/>  \u041f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0438\u0435\u043c\u0430-\u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0432 \u043c\u0441:<br \/>   \u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 = 104\u043c\u0441\u0435\u043a, \u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 = 111 \u043c\u0441\u0435\u043a, \u0421\u0440\u0435\u0434\u043d\u0435\u0435 = 107 \u043c\u0441\u0435\u043a  <\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u0442\u0430\u043b\u043e<\/b><\/p>\n<div class=\"spoiler_text\">\u041e\u0431\u043c\u0435\u043d \u043f\u0430\u043a\u0435\u0442\u0430\u043c\u0438 \u0441 pointblank.ru [109.105.130.101] \u0441 32 \u0431\u0430\u0439\u0442\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0445:<br \/>  \u041e\u0442\u0432\u0435\u0442 \u043e\u0442 109.105.130.101: \u0447\u0438\u0441\u043b\u043e \u0431\u0430\u0439\u0442=32 \u0432\u0440\u0435\u043c\u044f=55\u043c\u0441 TTL=248<br \/>  \u041e\u0442\u0432\u0435\u0442 \u043e\u0442 109.105.130.101: \u0447\u0438\u0441\u043b\u043e \u0431\u0430\u0439\u0442=32 \u0432\u0440\u0435\u043c\u044f=55\u043c\u0441 TTL=248<br \/>  \u041e\u0442\u0432\u0435\u0442 \u043e\u0442 109.105.130.101: \u0447\u0438\u0441\u043b\u043e \u0431\u0430\u0439\u0442=32 \u0432\u0440\u0435\u043c\u044f=58\u043c\u0441 TTL=248<br \/>  \u041e\u0442\u0432\u0435\u0442 \u043e\u0442 109.105.130.101: \u0447\u0438\u0441\u043b\u043e \u0431\u0430\u0439\u0442=32 \u0432\u0440\u0435\u043c\u044f=55\u043c\u0441 TTL=248<\/p>\n<p>  \u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 Ping \u0434\u043b\u044f 109.105.130.101:<br \/>   \u041f\u0430\u043a\u0435\u0442\u043e\u0432: \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e = 4, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043e = 4, \u043f\u043e\u0442\u0435\u0440\u044f\u043d\u043e = 0<br \/>   (0% \u043f\u043e\u0442\u0435\u0440\u044c)<br \/>  \u041f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0438\u0435\u043c\u0430-\u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0432 \u043c\u0441:<br \/>   \u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 = 55\u043c\u0441\u0435\u043a, \u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 = 58 \u043c\u0441\u0435\u043a, \u0421\u0440\u0435\u0434\u043d\u0435\u0435 = 55 \u043c\u0441\u0435\u043a  <\/div>\n<\/div>\n<p>  \u0412\u0441\u0435 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u044b, \u043f\u0438\u043d\u0433 \u0443\u043f\u0430\u043b \u0441 107 \u043c\u0441 \u0434\u043e 55 \u043c\u0441. <\/p>\n<h2>\u0418\u0442\u043e\u0433\u0438<\/h2>\n<p>  <strong>\u0427\u0442\u043e \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438<\/strong>:  <\/p>\n<ul>\n<li>\u0423\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u0435 \u043f\u0438\u043d\u0433\u0430 \u0434\u043e \u041c\u043e\u0441\u043a\u0432\u044b \u0432 2 \u0440\u0430\u0437\u0430<\/li>\n<li>\u0421\u0435\u0440\u0432\u0435\u0440 OpenVPN, \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0445 \u0446\u0435\u043b\u0435\u0439, \u043d\u043e \u0438 \u043a\u0430\u043a \u043b\u0438\u0447\u043d\u044b\u0439 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043a\u0430\u043d\u0430\u043b<\/li>\n<li>\u0414\u043e\u0432\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u0430\u043a \u043f\u043b\u0430\u0441\u0442\u0438\u043b\u0438\u043d\u043e\u0432\u044b\u0439 \u0441\u043b\u043e\u043d \u0442\u0435\u0441\u0442\u044f.<\/li>\n<\/ul>\n<p>  <strong>\u041f\u043e\u0442\u0440\u0430\u0447\u0435\u043d\u043e<\/strong>:   <\/p>\n<ul>\n<li>\u0427\u0430\u0441\u0430 2 \u0447\u0438\u0441\u0442\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 (\u043f\u0440\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u0438, \u0447\u0442\u043e \u043d\u0435 \u0441\u0442\u043e\u043b\u043a\u043d\u0435\u0442\u0435\u0441\u044c \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0433\u0440\u0430\u0431\u043b\u044f\u043c\u0438, \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u043c\u0438 \u0432 \u043f\u043e\u0441\u0442\u0435)<\/li>\n<li>6$\/\u043c\u0435\u0441 \u043d\u0430 VDS \u0441\u0435\u0440\u0432\u0435\u0440 <\/li>\n<\/ul>\n<p>  <strong>\u0412\u044b\u0432\u043e\u0434<\/strong>: \u0412\u0441\u0435 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u044b, \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0443\u0436\u0435 2 \u043d\u0435\u0434\u0435\u043b\u0438, \u0431\u0435\u0437 \u0435\u0434\u0438\u043d\u043e\u0433\u043e \u0441\u0431\u043e\u044f.<\/p>\n<p>  PS: \u041f\u0440\u043e\u0448\u0443 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043c\u043d\u0435 \u043d\u0430 \u043c\u043e\u0438 \u043e\u0448\u0438\u0431\u043a\u0438 (\u043a\u0430\u043a \u0433\u0440\u0430\u043c\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435, \u0442\u0430\u043a \u0438 \u0432\u0441\u0435 \u043f\u0440\u043e\u0447\u0438\u0435), \u0434\u043e\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0435 \u0432 \u044d\u0442\u043e\u043c \u043f\u043e\u0441\u0442\u0435. \t\t\t \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/162539\/\"> http:\/\/habrahabr.ru\/post\/162539\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u041f\u0440\u0438\u0432\u0435\u0442, %username%. \u0412\u0441\u0435 \u043d\u0430\u0447\u0430\u043b\u043e\u0441\u044c \u0441 \u043f\u043e\u043b\u0443\u043d\u043e\u0447\u043d\u043e\u0433\u043e \u0437\u0432\u043e\u043d\u043a\u0430 \u0432 \u0441\u043a\u0430\u0439\u043f. \u0421\u0443\u0442\u044c \u0431\u044b\u043b\u0430 \u0442\u0430\u043a\u043e\u0432\u0430: \u00ab\u0417\u044f\u0442\u044c, \u0443 \u043c\u0435\u043d\u044f \u043f\u0438\u043d\u0433 \u0432 \u0438\u0433\u0440\u0435 \u0432\u044b\u0441\u043e\u043a\u0438\u0439, \u043f\u043e\u043c\u043e\u0433\u0438\u00bb. \u0418 \u0432\u043e\u0442 \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043c\u043e\u0447\u044c. \u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u043f\u043e\u043c\u043e\u0449\u0438 \u0441\u0442\u0430\u043b <a href=\"http:\/\/openvpn.net\">OpenVPN<\/a>. \u041f\u043e\u0434 \u043a\u0430\u0442\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430, \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u043e\u0432 \u0438 \u043f\u043e\u044f\u0441\u043d\u0435\u043d\u0438\u0435 \u0441\u0443\u0442\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b. \u0418 \u0445\u043e\u0442\u044f \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u043c\u0430\u043d\u0443\u0430\u043b\u043e\u0432 \u0443\u0436\u0435 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0434\u0432\u043e\u0434\u043d\u044b\u0435 \u043a\u0430\u043c\u043d\u0438 \u0432 \u043d\u0438\u0445 \u043d\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u044b, \u0447\u0442\u043e \u0438 \u043f\u043e\u0441\u043b\u0443\u0436\u0438\u043b\u043e \u043f\u043e\u0432\u043e\u0434\u043e\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0439.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-162539","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/162539","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=162539"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/162539\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=162539"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=162539"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=162539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}