{"id":36873,"date":"2019-10-31T22:14:26","date_gmt":"2019-10-31T19:14:26","guid":{"rendered":"https:\/\/prohoster.info\/blog\/server-dvuhfaktornoj-avtorizatsii-linotp\/"},"modified":"2019-10-31T22:14:26","modified_gmt":"2019-10-31T19:14:26","slug":"server-dvuhfaktornoj-avtorizatsii-linotp","status":"publish","type":"post","link":"https:\/\/prohoster.info\/bg\/blog\/administrirovanie\/server-dvuhfaktornoj-avtorizatsii-linotp","title":{"rendered":"\u0421\u044a\u0440\u0432\u044a\u0440 \u0437\u0430 \u0434\u0432\u0443\u0444\u0430\u043a\u0442\u043e\u0440\u043d\u0430 \u0430\u0432\u0442\u0435\u043d\u0442\u0438\u043a\u0430\u0446\u0438\u044f LinOTP","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"\u0421\u044a\u0440\u0432\u044a\u0440 \u0437\u0430 \u0434\u0432\u0443\u0444\u0430\u043a\u0442\u043e\u0440\u043d\u0430 \u0430\u0432\u0442\u0435\u043d\u0442\u0438\u043a\u0430\u0446\u0438\u044f LinOTP\" src=\"\/wp-content\/uploads\/2019\/08\/8164a72d86173d429e3aaf4efdfee77c.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u0414\u043d\u0435\u0441 \u0438\u0441\u043a\u0430\u043c \u0434\u0430 \u0441\u043f\u043e\u0434\u0435\u043b\u044f \u043a\u0430\u043a \u0434\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043c \u0441\u044a\u0440\u0432\u044a\u0440 \u0437\u0430 \u0434\u0432\u0443\u0444\u0430\u043a\u0442\u043e\u0440\u043d\u0430 \u0430\u0432\u0442\u0435\u043d\u0442\u0438\u043a\u0430\u0446\u0438\u044f, \u0437\u0430 \u0437\u0430\u0449\u0438\u0442\u0430 \u043d\u0430 \u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u0430\u0442\u0430 \u043c\u0440\u0435\u0436\u0430, \u0441\u0430\u0439\u0442\u043e\u0432\u0435, \u0443\u0441\u043b\u0443\u0433\u0438, ssh. \u041d\u0430 \u0441\u044a\u0440\u0432\u044a\u0440\u0430 \u0449\u0435 \u0440\u0430\u0431\u043e\u0442\u0438 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044f: LinOTP + FreeRadius. <\/p>\n<p>\u0417\u0430\u0449\u043e \u043d\u0438 \u0435 \u043d\u0443\u0436\u0435\u043d? <br \/>\n\u0422\u043e\u0432\u0430 \u0435 \u043d\u0430\u043f\u044a\u043b\u043d\u043e \u0431\u0435\u0437\u043f\u043b\u0430\u0442\u043d\u043e, \u0443\u0434\u043e\u0431\u043d\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043a\u043e\u0435\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0438 \u0432 \u0440\u0430\u043c\u043a\u0438\u0442\u0435 \u043d\u0430 \u0432\u0430\u0448\u0430\u0442\u0430 \u043c\u0440\u0435\u0436\u0430, \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u0432\u044a\u043d\u0448\u043d\u0438 \u0434\u043e\u0441\u0442\u0430\u0432\u0447\u0438\u0446\u0438.<\/p>\n<p>\u0422\u043e\u0437\u0438 \u0441\u0435\u0440\u0432\u0438\u0441 \u0435 \u043c\u043d\u043e\u0433\u043e \u0443\u0434\u043e\u0431\u0435\u043d, \u0432\u0438\u0437\u0443\u0430\u043b\u043d\u043e \u0435 \u043e\u0447\u0435\u0432\u0438\u0434\u0435\u043d, \u0432 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0441 \u0434\u0440\u0443\u0433\u0438 \u043e\u043f\u0435\u043d\u0441\u043e\u0440\u0441 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438, \u0438 \u0441\u044a\u0449\u043e \u0442\u0430\u043a\u0430 \u043f\u043e\u0434\u0434\u044a\u0440\u0436\u0430 \u043e\u0433\u0440\u043e\u043c\u0435\u043d \u0431\u0440\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0438 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 login+password+(PIN+OTPToken)). \u0427\u0440\u0435\u0437 API \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u0430 \u0441 \u0443\u0441\u043b\u0443\u0433\u0438 \u0437\u0430 \u0438\u0437\u043f\u0440\u0430\u0449\u0430\u043d\u0435 \u043d\u0430 sms (LinOTP Config-&gt;Provider Config-&gt;SMS Provider), \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0430 \u043a\u043e\u0434\u043e\u0432\u0435 \u0437\u0430 \u043c\u043e\u0431\u0438\u043b\u043d\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043a\u0430\u0442\u043e Google Authenticator \u0438 \u043c\u043d\u043e\u0433\u043e \u0434\u0440\u0443\u0433\u0438. \u0421\u0447\u0438\u0442\u0430\u043c, \u0447\u0435 \u0435 \u043f\u043e-\u0443\u0434\u043e\u0431\u0435\u043d \u043e\u0442 \u0441\u0435\u0440\u0432\u0438\u0437\u0430, \u0440\u0430\u0437\u0433\u043b\u0435\u0436\u0434\u0430\u043d \u0432 <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/308988\/\">\u0441\u0442\u0430\u0442\u0438\u044f\u0442\u0430<\/a><\/noindex>.<\/p>\n<p>\u0422\u043e\u0437\u0438 \u0441\u044a\u0440\u0432\u044a\u0440 \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0438 \u0441 Cisco ASA, OpenVPN \u0441\u044a\u0440\u0432\u044a\u0440, Apache2, \u0438 \u043f\u043e \u043f\u0440\u0438\u043d\u0446\u0438\u043f \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441 \u0432\u0441\u0438\u0447\u043a\u043e, \u043a\u043e\u0435\u0442\u043e \u043f\u043e\u0434\u0434\u044a\u0440\u0436\u0430 \u0430\u0432\u0442\u0435\u043d\u0442\u0438\u043a\u0430\u0446\u0438\u044f \u0447\u0440\u0435\u0437 RADIUS \u0441\u044a\u0440\u0432\u044a\u0440 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0437\u0430 SSH \u0432 \u0446\u043e\u0434).<\/p>\n<p>\u0418\u0437\u0438\u0441\u043a\u0432\u0430 \u0441\u0435:<\/p>\n<p>1) Debian 8 (jessie) \u2014<b> \u0417\u0430\u0434\u044a\u043b\u0436\u0438\u0442\u0435\u043b\u043d\u043e!<\/b> (\u0442\u0435\u0441\u0442\u043e\u0432\u0430 \u0438\u043d\u0441\u0442\u0430\u043b\u0430\u0446\u0438\u044f \u043d\u0430 debian 9 \u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u0432 \u043a\u0440\u0430\u044f \u043d\u0430 \u0441\u0442\u0430\u0442\u0438\u044f\u0442\u0430)<\/p>\n<p>\u041d\u0430\u0447\u0430\u043b\u043e:<\/p>\n<p>\u0418\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043c\u0435 Debian 8.<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\n\u0414\u043e\u0431\u0430\u0432\u044f\u043c\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f LinOTP:<\/p>\n<pre><code class=\"bash\"># echo 'deb http:\/\/www.linotp.org\/apt\/debian jessie linotp' &gt; \/etc\/apt\/sources.list.d\/linotp.list<\/code><\/pre>\n<p>\n\u0414\u043e\u0431\u0430\u0432\u044f\u043c\u0435 \u043a\u043b\u044e\u0447\u043e\u0432\u0435\u0442\u0435:<\/p>\n<pre><code class=\"bash\"># gpg --search-keys 913DFF12F86258E5<\/code><\/pre>\n<p>\n\u041f\u043e\u043d\u044f\u043a\u043e\u0433\u0430 \u043f\u0440\u0438 \"\u0447\u0438\u0441\u0442\u0430\" \u0438\u043d\u0441\u0442\u0430\u043b\u0430\u0446\u0438\u044f, \u0441\u043b\u0435\u0434 \u0438\u0437\u043f\u044a\u043b\u043d\u0435\u043d\u0438\u0435\u0442\u043e \u043d\u0430 \u0442\u0430\u0437\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0430, Debian \u043c\u043e\u0436\u0435 \u0434\u0430 \u0438\u0437\u0432\u0435\u0434\u0435: <\/p>\n<pre><code class=\"plaintext\">gpg: \u0441\u044a\u0437\u0434\u0430\u0434\u0435\u043d \u043a\u0430\u0442\u0430\u043b\u043e\u0433 `\/root\/.gnupg'\ngpg: \u0441\u044a\u0437\u0434\u0430\u0434\u0435\u043d \u043d\u043e\u0432 \u0444\u0430\u0439\u043b \u0441 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f `\/root\/.gnupg\/gpg.conf'\ngpg: \u0412\u041d\u0418\u041c\u0410\u041d\u0418\u0415: \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438\u0442\u0435 \u0432 `\/root\/.gnupg\/gpg.conf` \u0432\u0441\u0435 \u043e\u0449\u0435 \u043d\u0435 \u0441\u0430 \u0430\u043a\u0442\u0438\u0432\u043d\u0438 \u043f\u0440\u0438 \u0442\u043e\u0432\u0430 \u0441\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u043d\u0435\ngpg: \u0441\u044a\u0437\u0434\u0430\u0434\u0435\u043d\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0441 \u043a\u043b\u044e\u0447\u043e\u0432\u0435 `\/root\/.gnupg\/secring.gpg'\ngpg: \u0441\u044a\u0437\u0434\u0430\u0434\u0435\u043d\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0441 \u043a\u043b\u044e\u0447\u043e\u0432\u0435 `\/root\/.gnupg\/pubring.gpg'\ngpg: \u043d\u0435 \u0441\u0430 \u0437\u0430\u0434\u0430\u0434\u0435\u043d\u0438 \u0441\u044a\u0440\u0432\u044a\u0440\u0438 \u0437\u0430 \u043a\u043b\u044e\u0447\u043e\u0432\u0435 (\u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0439\u0442\u0435 --keyserver)\ngpg: \u0433\u0440\u0435\u0448\u043a\u0430 \u043f\u0440\u0438 \u0442\u044a\u0440\u0441\u0435\u043d\u0435 \u043d\u0430 \u0441\u044a\u0440\u0432\u044a\u0440\u0430 \u0437\u0430 \u043a\u043b\u044e\u0447\u043e\u0432\u0435: \u043b\u043e\u0448 URI\n<\/code><\/pre>\n<p>\n\u0422\u043e\u0432\u0430 \u0435 \u043f\u044a\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u043d\u0430\u0442\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043d\u0430 gnupg. \u041d\u044f\u043c\u0430 \u043d\u0438\u0449\u043e \u0441\u0442\u0440\u0430\u0448\u043d\u043e. \u041f\u0440\u043e\u0441\u0442\u043e \u0438\u0437\u043f\u044a\u043b\u043d\u0435\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u0442\u0430 \u043e\u0442\u043d\u043e\u0432\u043e.<br \/>\n\u041d\u0430 \u0432\u044a\u043f\u0440\u043e\u0441\u0430 \u043d\u0430 Debian:<\/p>\n<pre><code class=\"plaintext\">gpg: \u0442\u044a\u0440\u0441\u0435\u043d\u0435 \u043d\u0430 \"913DFF12F86258E5\" \u043d\u0430 hkp \u0441\u044a\u0440\u0432\u0435\u0440\u0430 keys.gnupg.net\n(1)\tLSE LinOTP2 Packaging \n\t  2048 bit RSA \u043a\u043b\u044e\u0447 F86258E5, \u0441\u044a\u0437\u0434\u0430\u0434\u0435\u043d: 2010-05-10\n\u041a\u043b\u044e\u0447\u043e\u0432\u0435 1-1 \u043e\u0442 1 \u0437\u0430 \"913DFF12F86258E5\". \u0412\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u0447\u0438\u0441\u043b\u0430, N) \u0421\u043b\u0435\u0434\u0432\u0430\u0449 \u0438\u043b\u0438 Q) \u0418\u0437\u0445\u043e\u0434&gt;<\/code><\/pre>\n<p>\n\u041e\u0442\u0433\u043e\u0432\u0430\u0440\u044f\u043c\u0435: 1<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435: <\/p>\n<pre><code class=\"bash\"># gpg --export 913DFF12F86258E5 | apt-key add -<\/code><\/pre>\n<p><\/p>\n<pre><code class=\"bash\"># apt-get update<\/code><\/pre>\n<p>\n\u0418\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043c\u0435 mysql. \u0412 \u0442\u0435\u043e\u0440\u0435\u0442\u0438\u0447\u0435\u043d \u043f\u043b\u0430\u043d, \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 \u0434\u0440\u0443\u0433 SQL \u0441\u044a\u0440\u0432\u044a\u0440, \u043d\u043e \u0437\u0430 \u043e\u043f\u0440\u043e\u0441\u0442\u044f\u0432\u0430\u043d\u0435 \u0449\u0435 \u0433\u043e \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043c, \u0442\u044a\u0439 \u043a\u0430\u0442\u043e \u0435 \u043f\u0440\u0435\u043f\u043e\u0440\u044a\u0447\u0438\u0442\u0435\u043b\u0435\u043d \u0437\u0430 LinOTP.<\/p>\n<p>(\u0434\u043e\u043f\u044a\u043b\u043d\u0438\u0442\u0435\u043b\u043d\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f, \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u043d\u043e \u0437\u0430 \u043f\u0440\u0435\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0431\u0430\u0437\u0430\u0442\u0430 \u0434\u0430\u043d\u043d\u0438 LinOTP \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u043d\u0430\u043c\u0435\u0440\u0438\u0442\u0435 \u0432 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u043d\u0430\u0442\u0430 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043f\u043e <noindex><a rel=\"nofollow\" href=\"http:\/\/linotp.org\/doc\/latest\/part-installation\/server-installation\/deb_install.html#debian\">\u0432\u0440\u044a\u0437\u043a\u0430<\/a><\/noindex>. \u0422\u0430\u043c \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u043d\u0430\u043c\u0435\u0440\u0438\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u0442\u0430: dpkg-reconfigure linotp \u0437\u0430 \u043f\u0440\u043e\u043c\u044f\u043d\u0430 \u043d\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438\u0442\u0435, \u0430\u043a\u043e \u0432\u0435\u0447\u0435 \u0441\u0442\u0435 \u0438\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043b\u0438 mysql).<\/p>\n<pre><code class=\"bash\"># apt-get install mysql-server<\/code><\/pre>\n<p><\/p>\n<pre><code class=\"bash\"># apt-get update<\/code><\/pre>\n<p> (\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f\u0442\u0430 \u043e\u0442\u043d\u043e\u0432\u043e \u043d\u044f\u043c\u0430 \u0434\u0430 \u043d\u0430\u0432\u0440\u0435\u0434\u0438)<br \/>\n\u0418\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043c\u0435 LinOTP \u0438 \u0434\u043e\u043f\u044a\u043b\u043d\u0438\u0442\u0435\u043b\u043d\u0438 \u043c\u043e\u0434\u0443\u043b\u0438:<\/p>\n<pre><code class=\"bash\"># apt-get install linotp<\/code><\/pre>\n<p>\n\u041e\u0442\u0433\u043e\u0432\u0430\u0440\u044f\u043c\u0435 \u043d\u0430 \u0432\u044a\u043f\u0440\u043e\u0441\u0438\u0442\u0435 \u043d\u0430 \u0438\u043d\u0441\u0442\u0430\u043b\u0430\u0442\u043e\u0440\u0430: <br \/>\n\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 \u043b\u0438 Apache2: \u0434\u0430<br \/>\n\u0421\u044a\u0437\u0434\u0430\u0439\u0442\u0435 \u043f\u0430\u0440\u043e\u043b\u0430 \u0437\u0430 admin Linotp: \u00ab\u0412\u0430\u0448\u041f\u0430\u0440\u043e\u043b\u044c\u00bb<br \/>\n\u0413\u0435\u043d\u0435\u0440\u0438\u0440\u0430\u043c\u0435 \u0441\u0430\u043c\u043e\u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442?: \u0434\u0430<br \/>\n\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 \u043b\u0438 MySQL?: \u0434\u0430<br \/>\n\u041a\u044a\u0434\u0435 \u0441\u0435 \u043d\u0430\u043c\u0438\u0440\u0430 \u0431\u0430\u0437\u0430\u0442\u0430 \u0434\u0430\u043d\u043d\u0438: localhost<br \/>\n\u0421\u044a\u0437\u0434\u0430\u0432\u0430\u043c\u0435 \u0431\u0430\u0437\u0430 LinOTP (\u0438\u043c\u0435 \u043d\u0430 \u0431\u0430\u0437\u0430\u0442\u0430) \u043d\u0430 \u0441\u044a\u0440\u0432\u044a\u0440\u0430: LinOTP2<br \/>\n\u0421\u044a\u0437\u0434\u0430\u0432\u0430\u043c\u0435 \u043e\u0442\u0434\u0435\u043b\u0435\u043d \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b \u0437\u0430 \u0431\u0430\u0437\u0430\u0442\u0430 \u0434\u0430\u043d\u043d\u0438: LinOTP2<br \/>\n\u0417\u0430\u0434\u0430\u0432\u0430\u043c\u0435 \u043f\u0430\u0440\u043e\u043b\u0430 \u043d\u0430 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u044f: \u00ab\u0412\u0430\u0448\u041f\u0430\u0440\u043e\u043b\u044c\u00bb<br \/>\n\u0414\u0430 \u043b\u0438 \u0434\u0430 \u0441\u044a\u0437\u0434\u0430\u0434\u0435\u043c \u0431\u0430\u0437\u0430\u0442\u0430 \u0441\u0435\u0433\u0430? (\u043d\u0435\u0449\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e \u043d\u0430 \"\u0421\u0438\u0433\u0443\u0440\u043d\u0438 \u043b\u0438 \u0441\u0442\u0435, \u0447\u0435 \u0438\u0441\u043a\u0430\u0442\u0435 ...\"): \u0434\u0430<br \/>\n\u0412\u044a\u0432\u0435\u0434\u0435\u0442\u0435 root \u043f\u0430\u0440\u043e\u043b\u0430\u0442\u0430 \u0437\u0430 MySQL, \u043a\u043e\u044f\u0442\u043e \u0441\u044a\u0437\u0434\u0430\u0434\u043e\u0445\u0442\u0435 \u043f\u0440\u0438 \u0438\u043d\u0441\u0442\u0430\u043b\u0430\u0446\u0438\u044f\u0442\u0430: \u00ab\u0412\u0430\u0448\u041f\u0430\u0440\u043e\u043b\u044c\u00bb<br \/>\n\u0413\u043e\u0442\u043e\u0432\u043e.<\/p>\n<p>(\u043f\u043e \u0438\u0437\u0431\u043e\u0440, \u043c\u043e\u0436\u0435\u0442\u0435 \u0438 \u0434\u0430 \u043d\u0435 \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u0435)<\/p>\n<pre><code class=\"bash\"># apt-get install linotp-adminclient-cli <\/code><\/pre>\n<p>\n(\u043f\u043e \u0438\u0437\u0431\u043e\u0440, \u043c\u043e\u0436\u0435\u0442\u0435 \u0438 \u0434\u0430 \u043d\u0435 \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u0435)<\/p>\n<pre><code class=\"bash\"># apt-get install libpam-linotp  <\/code><\/pre>\n<p>\n\u0418 \u0442\u0430\u043a\u0430 \u043d\u0430\u0448\u0438\u044f\u0442 \u0443\u0435\u0431 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043d\u0430 Linotp \u0435 \u0441\u0435\u0433\u0430 \u0434\u043e\u0441\u0442\u044a\u043f\u0435\u043d \u043d\u0430 \u0430\u0434\u0440\u0435\u0441: <\/p>\n<pre><code class=\"plaintext\">&quot;&lt;b&gt;https&lt;\\\/b&gt;: \\\/\\\/IP_\\u0441\\u0435\\u0440\\u0432\\u0435\\u0440\\u0430\\\/manage&quot;<\/code><\/pre>\n<p>\n\u0417\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438\u0442\u0435 \u0432 \u0443\u0435\u0431 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0449\u0435 \u0433\u043e\u0432\u043e\u0440\u044f \u043f\u043e-\u043a\u044a\u0441\u043d\u043e.<\/p>\n<p>\u0421\u0435\u0433\u0430, \u043d\u0430\u0439-\u0432\u0430\u0436\u043d\u043e\u0442\u043e! \u0421\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u043c\u0435 FreeRadius \u0438 \u0433\u043e \u0441\u0432\u044a\u0440\u0437\u0432\u0430\u043c\u0435 \u0441 Linotp.<\/p>\n<p>\u0418\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043c\u0435 FreeRadius \u0438 \u043c\u043e\u0434\u0443\u043b\u0430 \u0437\u0430 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 LinOTP<\/p>\n<pre><code class=\"bash\"># apt-get install freeradius linotp-freeradius-perl<\/code><\/pre>\n<p>\n\u043f\u0440\u0430\u0432\u0438\u043c \u0431\u0435\u043a\u044a\u043f \u043d\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\u0442\u0435 client \u0438 Users \u043d\u0430 \u0440\u0430\u0434\u0438\u0443\u0441\u0430.<\/p>\n<pre><code class=\"bash\"># mv \/etc\/freeradius\/clients.conf  \/etc\/freeradius\/clients.old<\/code><\/pre>\n<p><\/p>\n<pre><code class=\"bash\"># mv \/etc\/freeradius\/users  \/etc\/freeradius\/users.old<\/code><\/pre>\n<p>\n\u0421\u044a\u0437\u0434\u0430\u0432\u0430\u043c\u0435 \u043f\u0440\u0430\u0437\u0435\u043d \u0444\u0430\u0439\u043b \u0437\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0430:<\/p>\n<pre><code class=\"bash\"># touch \/etc\/freeradius\/clients.conf<\/code><\/pre>\n<p>\n\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0430\u043c\u0435 \u043d\u0430\u0448\u0438\u044f \u043d\u043e\u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u0435\u043d \u0444\u0430\u0439\u043b (\u0431\u0435\u043a\u044a\u043f\u0432\u0430\u043d\u0438\u044f\u0442 \u043a\u043e\u043d\u0444\u0438\u0433 \u043c\u043e\u0436\u0435 \u0434\u0430 \u0441\u0435 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430 \u043a\u0430\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440)<\/p>\n<pre><code class=\"bash\"># nano \/etc\/freeradius\/clients.conf<\/code><\/pre>\n<p><\/p>\n<pre><code class=\"plaintext\">client 192.168.188.0\/24 {\nsecret  = passwd # \u043f\u0430\u0440\u043e\u043b\u0430\u0442\u0430 \u0437\u0430 \u0441\u0432\u044a\u0440\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0438\u0442\u0435\n}<\/code><\/pre>\n<p>\n\u0421\u043b\u0435\u0434\u0432\u0430\u0449\u0430 \u0441\u0442\u044a\u043f\u043a\u0430 \u0435 \u0434\u0430 \u0441\u044a\u0437\u0434\u0430\u0434\u0435\u043c \u0444\u0430\u0439\u043b\u0430 users:<\/p>\n<pre><code class=\"bash\"># touch \/etc\/freeradius\/users<\/code><\/pre>\n<p>\n\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0430\u043c\u0435 \u0444\u0430\u0439\u043b\u0430, \u043a\u0430\u0437\u0432\u0430\u0439\u043a\u0438 \u043d\u0430 \u0440\u0430\u0434\u0438\u0443\u0441\u0430, \u0447\u0435 \u0449\u0435 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043c\u0435 perl \u0437\u0430 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f.<\/p>\n<pre><code class=\"bash\"># nano \/etc\/freeradius\/users<\/code><\/pre>\n<p><\/p>\n<pre><code class=\"plaintext\">DEFAULT Auth-type := perl<\/code><\/pre>\n<p>\n\u0421\u043b\u0435\u0434 \u0442\u043e\u0432\u0430 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0430\u043c\u0435 \u0444\u0430\u0439\u043b\u0430 \/etc\/freeradius\/modules\/perl<\/p>\n<pre><code class=\"bash\"># nano \/etc\/freeradius\/modules\/perl<\/code><\/pre>\n<p>\n\u0422\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u043f\u043e\u0441\u043e\u0447\u0438\u043c \u043f\u044a\u0442\u044f \u0434\u043e perl \u0441\u043a\u0440\u0438\u043f\u0442\u0430 linotp \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u044a\u0440 module: <\/p>\n<pre><code class=\"plaintext\">Perl { .......\n.........\nmodule = \/usr\/lib\/linotp\/radius_linotp.pm<\/code><\/pre>\n<p>\n......<br \/>\n\u0421\u043b\u0435\u0434 \u0442\u043e\u0432\u0430 \u0441\u044a\u0437\u0434\u0430\u0432\u0430\u043c\u0435 \u0444\u0430\u0439\u043b, \u0432 \u043a\u043e\u0439\u0442\u043e \u043a\u0430\u0437\u0432\u0430\u043c\u0435 \u043e\u0442 \u043a\u043e\u0439 (\u0434\u043e\u043c\u0435\u0439\u043d, \u0431\u0430\u0437\u0430 \u0438\u043b\u0438 \u0444\u0430\u0439\u043b) \u0434\u0430 \u0432\u0437\u0435\u043c\u0430\u043c\u0435 \u0434\u0430\u043d\u043d\u0438.<\/p>\n<pre><code class=\"bash\"># touch \/etc\/linotp2\/rlm_perl.ini<\/code><\/pre>\n<p><\/p>\n<pre><code class=\"bash\"># nano \/etc\/linotp2\/rlm_perl.ini<\/code><\/pre>\n<p><\/p>\n<pre><code class=\"plaintext\">URL=https:\/\/IP_\u0432\u0430\u0448\u0438\u044f_LinOTP_\u0441\u044a\u0440\u0432\u044a\u0440(192.168.X.X)\/validate\/simplecheck\nREALM=webusers1c\nRESCONF=LocalUser\nDebug=True\nSSL_CHECK=False<\/code><\/pre>\n<p>\n\u0422\u0443\u043a \u0449\u0435 \u0441\u043f\u0440\u0430 \u043c\u0430\u043b\u043a\u043e \u043f\u043e-\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e, \u0442\u044a\u0439 \u043a\u0430\u0442\u043e \u0435 \u0432\u0430\u0436\u043d\u043e:<\/p>\n<p>\u041f\u044a\u043b\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043d\u0430 \u0444\u0430\u0439\u043b\u0430 \u0441 \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u0438:<br \/>\n#IP of the linotp server (IP \u0430\u0434\u0440\u0435\u0441 \u043d\u0430\u0448\u0435\u0433\u043e LinOTP \u0441\u0435\u0440\u0432\u0435\u0440\u0430)<br \/>\nURL=https:\/\/172.17.14.103\/validate\/simplecheck<br \/>\n#\u041d\u0430\u0448\u0430 \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432 \u0432\u0435\u0431 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 LinOTP.)<br \/>\nREALM=rearm1<br \/>\n#\u0418\u043c\u044f \u0433\u0440\u0443\u043f\u043f\u044b \u044e\u0437\u0432\u0435\u0440\u0435\u0439 \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u0432 \u0432\u0435\u0431\u043c\u043e\u0440\u0434\u0435 LinOTP.<br \/>\nRESCONF=flat_file<br \/>\n#optional: comment out if everything seems to work fine<br \/>\nDebug=True<br \/>\n#optional: use this, if you have selfsigned certificates, otherwise comment out (SSL \u0435\u0441\u043b\u0438 \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u0432\u043e\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0438 \u0445\u043e\u0442\u0438\u043c \u0435\u0433\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c)<br \/>\nSSL_CHECK=False<\/p>\n<p>\u0421\u043b\u0435\u0434 \u0442\u043e\u0432\u0430 \u0449\u0435 \u0441\u044a\u0437\u0434\u0430\u0434\u0435\u043c \u0444\u0430\u0439\u043b \/etc\/freeradius\/sites-available\/linotp<\/p>\n<pre><code class=\"bash\"># touch \/etc\/freeradius\/sites-available\/linotp<\/code><\/pre>\n<p><\/p>\n<pre><code class=\"bash\"># nano \/etc\/freeradius\/sites-available\/linotp<\/code><\/pre>\n<p>\n\u0418 \u0449\u0435 \u043a\u043e\u043f\u0438\u0440\u0430\u043c\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f\u0442\u0430 \u0432 \u043d\u0435\u0433\u043e (\u043d\u0435 \u0435 \u043d\u0443\u0436\u043d\u043e \u0434\u0430 \u043f\u0440\u043e\u043c\u0435\u043d\u044f\u0442\u0435 \u043d\u0438\u0449\u043e):<\/p>\n<pre><code class=\"plaintext\">authorize {\n#\u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0438\u0440\u0430 \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u043d\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u0430\u043d\u0438\u0442\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438 \u0437\u0430\u044f\u0432\u043a\u0438 \u043f\u0440\u0435\u0434\u0438 \u043f\u0440\u0435\u0434\u0430\u0432\u0430\u043d\u0435\u0442\u043e \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0442\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 (\u0432\u0438\u0436 '\/etc\/freeradius\/modules\/preprocess')\npreprocess\n#  \u0410\u043a\u043e \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0432\u0438\u0434\u043e\u0432\u0435 \u043e\u0431\u043b\u0430\u0441\u0442\u0438, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\n#  \u0438\u0441\u043a\u0430\u0442\u0435 \u0434\u0430 \u0437\u0430\u0434\u0430\u0434\u0435\u0442\u0435 \"ignore_null = yes\" \u0437\u0430 \u0432\u0441\u0438\u0447\u043a\u0438 \u0442\u044f\u0445.\n#  \u0412 \u043f\u0440\u043e\u0442\u0438\u0432\u0435\u043d \u0441\u043b\u0443\u0447\u0430\u0439, \u043a\u043e\u0433\u0430\u0442\u043e \u043f\u044a\u0440\u0432\u0438\u044f\u0442 \u0441\u0442\u0438\u043b \u043d\u0430 \u043e\u0431\u043b\u0430\u0441\u0442 \u043d\u0435 \u0441\u044a\u0432\u043f\u0430\u0434\u0430,\n#  \u0434\u0440\u0443\u0433\u0438\u0442\u0435 \u0441\u0442\u0438\u043b\u043e\u0432\u0435 \u043d\u044f\u043c\u0430 \u0434\u0430 \u0431\u044a\u0434\u0430\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0432\u0430\u043d\u0438.\n#\u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0432\u0430 \u0441\u043f\u0438\u0441\u044a\u043a \u043e\u0442 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 (\u0432\u0438\u0436 '\/etc\/freeradius\/modules\/realm')\nIPASS\n#\u0440\u0430\u0437\u0431\u0438\u0440\u0430 \u043d\u0435\u0449\u043e \u043a\u0430\u0442\u043e USER@REALM \u0438 \u043c\u043e\u0436\u0435 \u0434\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0438\u0442\u0435 (\u0432\u0438\u0436 '\/etc\/freeradius\/modules\/realm')\nsuffix\n#\u0440\u0430\u0437\u0431\u0438\u0440\u0430 USERREALM \u0438 \u043c\u043e\u0436\u0435 \u0434\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0438\u0442\u0435 (\u0432\u0438\u0436 '\/etc\/freeradius\/modules\/realm')\nntdomain\n#  \u0427\u0435\u0442\u0435 \u0444\u0430\u0439\u043b\u0430 'users', \u0437\u0430 \u0434\u0430 \u043d\u0430\u0443\u0447\u0438 \u0437\u0430 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u043d\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f, \u043a\u043e\u044f\u0442\u043e \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0441\u0435 \u043f\u0440\u0438\u043b\u0430\u0433\u0430 \u0437\u0430\n# \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u0438 (\u0432\u0438\u0436 '\/etc\/freeradius\/modules\/files')\nfiles\n# \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0432\u0430 \u043d\u0430 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f\u0442\u0430 \u0434\u0430 \u0438\u0437\u0442\u0435\u0447\u0435 (\u0432\u0438\u0436 '\/etc\/freeradius\/modules\/expiration')\nexpiration\n# \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0432\u0430 \u0434\u0430 \u0441\u0435 \u0434\u0435\u0444\u0438\u043d\u0438\u0440\u0430\u0442 \u0432\u0430\u043b\u0438\u0434\u043d\u0438 \u0447\u0430\u0441\u043e\u0432\u0438 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u0438 \u0437\u0430 \u0443\u0441\u043b\u0443\u0433\u0438 (\u0432\u0438\u0436 '\/etc\/freeradius\/modules\/logintime')\nlogintime\n# \u041d\u044f\u043c\u0430\u043c\u0435 radius_shortname_map!\npap\n}\n#\u0442\u0443\u043a \u0441\u0435 \u0438\u0437\u0432\u0438\u043a\u0432\u0430 \u043c\u043e\u0434\u0443\u043b\u044a\u0442 \u043d\u0430 linotp perl \u0437\u0430 \u043f\u043e-\u043d\u0430\u0442\u0430\u0442\u044a\u0448\u043d\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430\nauthenticate {\nperl\n}<\/code><\/pre>\n<p>\n\u0421\u043b\u0435\u0434 \u0442\u043e\u0432\u0430 \u0449\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u0438\u043c \u0441\u0438\u043c\u0432\u043e\u043b\u0435\u043d \u043b\u0438\u043d\u043a:<\/p>\n<pre><code class=\"bash\"># ln -s ..\/sites-available\/linotp \/etc\/freeradius\/sites-enabled<\/code><\/pre>\n<p>\n\u041b\u0438\u0447\u043d\u043e \u0430\u0437 \u0443\u0431\u0438\u0432\u0430\u043c \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u0438\u0442\u0435 \u0440\u0430\u0434\u0438\u0443\u0441 \u0441\u0430\u0439\u0442\u043e\u0432, \u043d\u043e \u0430\u043a\u043e \u0441\u0430 \u0432\u0438 \u043d\u0443\u0436\u043d\u0438, \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u043b\u0438 \u0434\u0430 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0430\u0442\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f\u0442\u0430 \u0438\u043c, \u0438\u043b\u0438 \u0434\u0430 \u0433\u0438 \u0434\u0435\u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u0442\u0435.<\/p>\n<pre><code class=\"bash\"># rm \/etc\/freeradius\/sites-enabled\/default<\/code><\/pre>\n<p><\/p>\n<pre><code class=\"bash\"># rm \/etc\/freeradius\/sites-enabled\/inner-tunnel<\/code><\/pre>\n<p><\/p>\n<pre><code class=\"bash\"># service freeradius reload<\/code><\/pre>\n<p>\n\u0421\u0435\u0433\u0430 \u0434\u0430 \u0441\u0435 \u0432\u044a\u0440\u043d\u0435\u043c \u043a\u044a\u043c \u0443\u0435\u0431 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0438 \u0434\u0430 \u0433\u043e \u0440\u0430\u0437\u0433\u043b\u0435\u0434\u0430\u043c\u0435 \u043f\u043e-\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e:<br \/>\n\u0412 \u0433\u043e\u0440\u043d\u0438\u044f \u0434\u0435\u0441\u0435\u043d \u044a\u0433\u044a\u043b \u043d\u0430\u0442\u0438\u0441\u043a\u0430\u043c\u0435 LinOTP Config -&gt; UserIdResolvers -&gt; New<br \/>\n\u0418\u0437\u0431\u0438\u0440\u0430\u043c\u0435 \u043a\u0430\u043a\u0432\u043e \u0438\u0441\u043a\u0430\u043c\u0435: LDAP (AD win, LDAP samba), SQL, \u0438\u043b\u0438 \u043b\u043e\u043a\u0430\u043b\u043d\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u0438 \u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0442\u0430 Flatfile. <\/p>\n<p>\u041f\u043e\u043f\u044a\u043b\u0432\u0430\u043c\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0438\u0442\u0435 \u043f\u043e\u043b\u0435\u0442\u0430.<\/p>\n<p>\u0421\u043b\u0435\u0434 \u0442\u043e\u0432\u0430 \u0441\u044a\u0437\u0434\u0430\u0432\u0430\u043c\u0435 REALMS:<br \/>\n\u0412 \u0433\u043e\u0440\u043d\u0438\u044f \u0434\u0435\u0441\u0435\u043d \u044a\u0433\u044a\u043b \u043d\u0430\u0442\u0438\u0441\u043a\u0430\u043c\u0435 LinOTP Config -&gt; Realms -&gt; New. <br \/>\n\u0438 \u0434\u0430\u0432\u0430\u043c\u0435 \u0438\u043c\u0435 \u043d\u0430 \u043d\u0430\u0448\u0438\u044f REALMS, \u043a\u0430\u043a\u0442\u043e \u0438 \u043a\u043b\u0438\u043a\u0432\u0430\u043c\u0435 \u043d\u0430 \u0441\u044a\u0437\u0434\u0430\u0434\u0435\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u0438 \u0442\u043e\u0432\u0430 UserIdResolvers.<\/p>\n<p>\u0412\u0441\u0438\u0447\u043a\u0438 \u0442\u0435\u0437\u0438 \u0434\u0430\u043d\u043d\u0438 \u0441\u0430 \u043d\u0443\u0436\u043d\u0438 \u043d\u0430 freeRadius \u0432 \u0444\u0430\u0439\u043b\u0430 \/etc\/linotp2\/rlm_perl.ini, \u0437\u0430 \u043a\u043e\u0435\u0442\u043e \u043f\u0438\u0441\u0430\u0445 \u043f\u043e-\u0433\u043e\u0440\u0435, \u0437\u0430\u0442\u043e\u0432\u0430, \u0430\u043a\u043e \u043d\u0435 \u0441\u0442\u0435 \u0433\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0430\u043b\u0438 \u0442\u043e\u0433\u0430\u0432\u0430, \u043d\u0430\u043f\u0440\u0430\u0432\u0435\u0442\u0435 \u0433\u043e \u0441\u0435\u0433\u0430.<\/p>\n<p>\u0421\u044a\u0440\u0432\u044a\u0440\u044a\u0442 \u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d.<\/p>\n<p>\u0414\u043e\u043f\u044a\u043b\u043d\u0435\u043d\u0438\u0435:<\/p>\n<p><b>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043d\u0430 LinOTP \u043d\u0430 Debian 9<\/b>:<\/p>\n<p>\u0418\u043d\u0441\u0442\u0430\u043b\u0430\u0446\u0438\u044f: <\/p>\n<pre><code class=\"bash\"># echo 'deb http:\/\/linotp.org\/apt\/debian stretch linotp' &gt; \/etc\/apt\/sources.list.d\/linotp.list <\/code><\/pre>\n<pre><code class=\"bash\"># apt-get install dirmngr<\/code><\/pre>\n<p><\/p>\n<pre><code class=\"bash\"># apt-key adv --recv-keys 913DFF12F86258E5\n<\/code><\/pre>\n<pre><code class=\"bash\"># apt-get update<\/code><\/pre>\n<p><\/p>\n<pre><code class=\"bash\"># apt-get install mysql-server<\/code><\/pre>\n<p> (\u043f\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043d\u0435, \u0432 Debian 9 mysql (mariaDB) \u043d\u0435 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430 \u0434\u0430 \u0441\u0435 \u0437\u0430\u0434\u0430\u0434\u0435 \u043f\u0430\u0440\u043e\u043b\u0430 \u0437\u0430 root, \u0432\u044a\u043f\u0440\u0435\u043a\u0438 \u0447\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u0435 \u0438 \u043f\u0440\u0430\u0437\u043d\u0430, \u043d\u043e \u0447\u0435\u0441\u0442\u043e \u0442\u043e\u0432\u0430 \u0432\u043e\u0434\u0438 \u0434\u043e \"\u0435\u043f\u0438\u0447\u043d\u0438 \u043f\u0440\u043e\u0432\u0430\u043b\u0438\", \u0437\u0430\u0442\u043e\u0432\u0430 \u043d\u0438\u0435 \u0432\u0441\u0435 \u043f\u0430\u043a \u0449\u0435 \u044f \u0437\u0430\u0434\u0430\u0434\u0435\u043c)<\/p>\n<pre><code class=\"bash\"># mysql -u root -p<\/code><\/pre>\n<pre><code class=\"bash\">use mysql;<\/code><\/pre>\n<pre><code class=\"bash\">UPDATE user SET Password = PASSWORD('\u0442\u0443\u0442_\u043f\u0430\u0440\u043e\u043b\u044c') WHERE User = 'root';\n<\/code><\/pre>\n<pre><code class=\"bash\">exit<\/code><\/pre>\n<pre><code class=\"bash\"># apt-get install linotp<\/code><\/pre>\n<pre><code class=\"bash\"># apt-get install linotp-adminclient-cli<\/code><\/pre>\n<pre><code class=\"bash\"># apt-get install python-ldap<\/code><\/pre>\n<pre><code class=\"bash\"># apt install freeradius<\/code><\/pre>\n<pre><code class=\"bash\"># nano \/etc\/freeradius\/3.0\/sites-enabled\/linotp<\/code><\/pre>\n<p>\u0412\u043c\u044a\u043a\u0432\u0430\u043c\u0435 \u043a\u043e\u0434\u0430 (\u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0435\u043d \u043e\u0442 JuriM, \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u043c\u0443 \u0437\u0430 \u0442\u043e\u0432\u0430!):<\/p>\n<blockquote><p>server linotp {<br \/>\nlisten {<br \/>\n ipaddr = *<br \/>\n port = 1812<br \/>\n type = auth<br \/>\n}<br \/>\nlisten {<br \/>\n ipaddr = *<br \/>\n port = 1813<br \/>\n type = acct<br \/>\n}<br \/>\nauthorize { <br \/>\n preprocess<br \/>\n update { <br \/>\n &amp;control:Auth-Type := Perl<br \/>\n } <br \/>\n} <br \/>\nauthenticate {<br \/>\n Auth-Type Perl {<br \/>\n perl<br \/>\n }<br \/>\n}<br \/>\naccounting {<br \/>\n unix<br \/>\n}<br \/>\n}<\/p><\/blockquote>\n<p>\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0430\u043c\u0435 \/etc\/freeradius\/3.0\/mods-enabled\/perl<\/p>\n<blockquote><p>perl {<br \/>\n filename = \/usr\/share\/linotp\/radius_linotp.pm<br \/>\n func_authenticate = authenticate<br \/>\n func_authorize = authorize<br \/>\n}<\/p><\/blockquote>\n<p>\u0417\u0430 \u0441\u044a\u0436\u0430\u043b\u0435\u043d\u0438\u0435, \u0432 debian 9 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u0442\u0430 radius_linotp.pm \u043d\u0435 \u0441\u0435 \u0438\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430 \u043e\u0442 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0442\u0435, \u0437\u0430\u0442\u043e\u0432\u0430 \u0449\u0435 \u044f \u0432\u0437\u0435\u043c\u0435\u043c \u043e\u0442 github.<\/p>\n<pre><code class=\"bash\"># apt install git<\/code><\/pre>\n<pre><code class=\"bash\"># git clone https:\/\/github.com\/LinOTP\/linotp-auth-freeradius-perl<\/code><\/pre>\n<pre><code class=\"bash\"># cd linotp-auth-freeradius-perl\/<\/code><\/pre>\n<pre><code class=\"bash\"># cp radius_linotp.pm \/usr\/share\/linotp\/radius_linotp.pm<\/code><\/pre>\n<p>\u0421\u0435\u0433\u0430 \u043a\u043e\u0440\u0438\u0433\u0438\u0440\u0430\u043c\u0435 \/etc\/freeradius\/3.0\/clients.conf <\/p>\n<blockquote><p>client servers {<br \/>\n ipaddr = 192.168.188.0\/24<br \/>\n secret = \u0432\u0430\u0448\u043f\u0430\u0440\u043e\u043b\u044c<br \/>\n}<\/p><\/blockquote>\n<p>\u0421\u0435\u0433\u0430 \u043f\u0440\u0430\u0432\u0438\u043c \u043f\u0440\u043e\u043c\u0435\u043d\u0438 \u0432 nano \/etc\/linotp2\/rlm_perl.ini<\/p>\n<p>\u0412\u043c\u044a\u043a\u0432\u0430\u043c\u0435 \u0441\u044a\u0449\u0438\u044f \u043a\u043e\u0434, \u043a\u043e\u0439\u0442\u043e \u0431\u044f\u0445\u043c\u0435 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043b\u0438 \u043f\u0440\u0438 \u0438\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 debian 8 (\u043e\u043f\u0438\u0441\u0430\u043d \u043f\u043e-\u0433\u043e\u0440\u0435)<\/p>\n<p>\u041f\u043e \u0438\u0434\u0435\u044f \u0432\u0441\u0438\u0447\u043a\u043e. (\u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u043d\u043e \u043d\u0435 \u0435 \u0442\u0435\u0441\u0442\u0432\u0430\u043d\u043e)<\/p>\n<p>\u041e\u0441\u0442\u0430\u0432\u044f\u043c \u043f\u043e-\u0434\u043e\u043b\u0443 \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u043b\u0438\u043d\u043a\u0430 \u0437\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0438, \u043a\u043e\u0438\u0442\u043e \u0447\u0435\u0441\u0442\u043e \u0438\u0437\u0438\u0441\u043a\u0432\u0430\u0442 \u0437\u0430\u0449\u0438\u0442\u0430 \u0441 \u0434\u0432\u0443\u0444\u0430\u043a\u0442\u043e\u0440\u043d\u0430 \u0430\u0432\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f: <br \/>\n\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043d\u0430 \u0434\u0432\u0443\u0444\u0430\u043a\u0442\u043e\u0440\u043d\u0430 \u0430\u0432\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u0432 <noindex><a rel=\"nofollow\" href=\"https:\/\/itsecforu.ru\/2017\/07\/28\/%D0%BA%D0%B0%D0%BA-%D0%B7%D0%B0%D1%89%D0%B8%D1%82%D0%B8%D1%82%D1%8C-apache2-%D1%81-%D0%BF%D0%BE%D0%BC%D0%BE%D1%89%D1%8C%D1%8E-linotp\/\">Apache2<\/a><\/noindex><\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/308988\/\">\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0441 Cisco ASA<\/a><\/noindex>(\u0442\u0430\u043c \u0441\u0435 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430 \u0434\u0440\u0443\u0433 \u0441\u044a\u0440\u0432\u044a\u0440 \u0437\u0430 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0442\u043e\u043a\u0435\u043d\u0438, \u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438\u0442\u0435 \u043d\u0430 \u0441\u0430\u043c\u0430\u0442\u0430 ASA \u0441\u0430 \u0441\u044a\u0449\u0438\u0442\u0435).<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/panda\/blog\/337800\/\">VPN \u0441 \u0434\u0432\u0443\u0444\u0430\u043a\u0442\u043e\u0440\u043d\u0430 \u0430\u0432\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f<\/a><\/noindex><\/p>\n<p>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/270571\/\">\u0434\u0432\u0443\u0444\u0430\u043a\u0442\u043e\u0440\u043d\u0430 \u0430\u0432\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u0432 ssh<\/a><\/noindex> (\u0442\u0430\u043c \u0441\u044a\u0449\u043e \u0441\u0435 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430 LinOTP) \u2014 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u043d\u0430 \u0430\u0432\u0442\u043e\u0440\u0430. \u0422\u0430\u043c \u0441\u044a\u0449\u043e \u043c\u043e\u0436\u0435 \u0434\u0430 \u0441\u0435 \u043d\u0430\u043c\u0435\u0440\u044f\u0442 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0438 \u043d\u0435\u0449\u0430 \u043e\u0442\u043d\u043e\u0441\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438\u0442\u0435 \u043d\u0430 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0438\u0442\u0435 \u043d\u0430 LinOTP.<\/p>\n<p>\u0421\u044a\u0449\u043e \u0442\u0430\u043a\u0430 \u043c\u043d\u043e\u0433\u043e CMS \u043f\u043e\u0434\u0434\u0440\u044a\u0436\u0430\u0442 \u0434\u0432\u0443\u0444\u0430\u043a\u0442\u043e\u0440\u043d\u0430 \u0430\u0432\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f (\u0437\u0430 WordPress, LinOTP \u0438\u043c\u0430 \u0441\u0432\u043e\u0439 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0435\u043d \u043c\u043e\u0434\u0443\u043b \u043d\u0430 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/LinOTP\/linotp-auth-wordpress\">github<\/a><\/noindex>), \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0430\u043a\u043e \u0438\u0441\u043a\u0430\u0442\u0435 \u0434\u0430 \u0441\u044a\u0437\u0434\u0430\u0434\u0435\u0442\u0435 \u0437\u0430\u0449\u0438\u0442\u0435\u043d\u0430 \u0441\u0435\u043a\u0446\u0438\u044f \u0437\u0430 \u0441\u043b\u0443\u0436\u0438\u0442\u0435\u043b\u0438\u0442\u0435 \u043d\u0430 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f\u0442\u0430 \u043d\u0430 \u0432\u0430\u0448\u0438\u044f \u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0442\u0438\u0432\u0435\u043d \u0441\u0430\u0439\u0442.<br \/>\n\u0412\u0410\u0416\u0415\u041d \u0424\u0410\u041a\u0422! \u041d\u0415 \u043f\u043e\u0441\u0442\u0430\u0432\u044f\u0439\u0442\u0435 \u043e\u0442\u043c\u0435\u0442\u043a\u0430 \u0437\u0430 \"Google autenteficator\" \u043f\u0440\u0438 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435\u0442\u043e \u043d\u0430 \u0433\u0443\u0433\u044a\u043b \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440! QR-\u043a\u043e\u0434\u044a\u0442 \u043d\u0435 \u0441\u0435 \u0447\u0435\u0442\u0435 \u0442\u043e\u0433\u0430\u0432\u0430\u2026 (\u0441\u0442\u0440\u0430\u043d\u0435\u043d \u0444\u0430\u043a\u0442)<\/p>\n<p>\u0417\u0430 \u043d\u0430\u043f\u0438\u0441\u0432\u0430\u043d\u0435\u0442\u043e \u043d\u0430 \u0441\u0442\u0430\u0442\u0438\u044f\u0442\u0430 \u0431\u044f\u0445\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e\u0442 \u0441\u043b\u0435\u0434\u043d\u0438\u0442\u0435 \u0441\u0442\u0430\u0442\u0438\u0438:<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/itnan.ru\/post.php?c=1&amp;p=270571\">itnan.ru\/post.php?c=1&amp;p=270571<\/a><\/noindex><br \/>\n<noindex><a rel=\"nofollow\" href=\"http:\/\/www.digitalbears.net\/?p=469\">www.digitalbears.net\/?p=469<\/a><\/noindex> <\/p>\n<p>\u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u043d\u0430 \u0430\u0432\u0442\u043e\u0440\u0438\u0442\u0435.<br \/>\n<br \/>\u0418\u0437\u0442\u043e\u0447\u043d\u0438\u043a: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/462523\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u0445\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f, \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u0432\u0443\u0445\u0444\u0430\u043a\u0442\u043e\u0440\u043d\u043e\u0439 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438, \u0434\u043b\u044f \u0437\u0430\u0449\u0438\u0442\u044b \u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u0441\u0435\u0442\u0438, \u0441\u0430\u0439\u0442\u043e\u0432, \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432,ssh. \u041d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u0432\u044f\u0437\u043a\u0430: LinOTP + FreeRadius. \u0417\u0430\u0447\u0435\u043c \u043e\u043d \u043d\u0430\u043c? \u042d\u0442\u043e \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0435, \u0443\u0434\u043e\u0431\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u0432\u043e\u0435\u0439 \u0441\u0435\u0442\u0438, \u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u044f\u0449\u0435\u0435 \u043e\u0442 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432. \u0414\u0430\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u0432\u0435\u0441\u044c\u043c\u0430 \u0443\u0434\u043e\u0431\u0435\u043d, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043d\u0430\u0433\u043b\u044f\u0434\u0435\u043d, \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0438 \u043e\u0442 \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u043f\u0435\u043d\u0441\u043e\u0440\u0441 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432, \u0430 \u0442\u0430\u043a \u0436\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":27627,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-36873","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u0445\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f, \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440.\" \/>\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\/bg\/blog\/administrirovanie\/server-dvuhfaktornoj-avtorizatsii-linotp\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"bg_BG\" \/>\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\u0421\u0435\u0440\u0432\u0435\u0440 \u0434\u0432\u0443\u0445\u0444\u0430\u043a\u0442\u043e\u0440\u043d\u043e\u0439 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 LinOTP | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u0445\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f, \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/bg\/blog\/administrirovanie\/server-dvuhfaktornoj-avtorizatsii-linotp\" \/>\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=\"2019-10-31T19:14:26+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T19:14:26+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\udd47\u0421\u044a\u0440\u0432\u044a\u0440 \u0437\u0430 \u0434\u0432\u0443\u0444\u0430\u043a\u0442\u043e\u0440\u043d\u0430 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f LinOTP | ProHoster","description":"\u0414\u043d\u0435\u0441 \u0438\u0441\u043a\u0430\u043c \u0434\u0430 \u0441\u043f\u043e\u0434\u0435\u043b\u044f \u043a\u0430\u043a \u0434\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u0435 \u0441\u044a\u0440\u0432\u044a\u0440.","canonical_url":"https:\/\/prohoster.info\/bg\/blog\/administrirovanie\/server-dvuhfaktornoj-avtorizatsii-linotp","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"bg_BG","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\u0421\u0435\u0440\u0432\u0435\u0440 \u0434\u0432\u0443\u0445\u0444\u0430\u043a\u0442\u043e\u0440\u043d\u043e\u0439 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 LinOTP | ProHoster","og:description":"\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u0445\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f, \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440.","og:url":"https:\/\/prohoster.info\/bg\/blog\/administrirovanie\/server-dvuhfaktornoj-avtorizatsii-linotp","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":"2019-10-31T19:14:26+00:00","article:modified_time":"2019-10-31T19:14:26+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"36873","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":"2026-01-22 05:08:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 01:37:23","updated":"2026-01-22 05:08:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/bg\/wp-json\/wp\/v2\/posts\/36873","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/bg\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/bg\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/bg\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/bg\/wp-json\/wp\/v2\/comments?post=36873"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/bg\/wp-json\/wp\/v2\/posts\/36873\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/bg\/wp-json\/wp\/v2\/media\/27627"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/bg\/wp-json\/wp\/v2\/media?parent=36873"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/bg\/wp-json\/wp\/v2\/categories?post=36873"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/bg\/wp-json\/wp\/v2\/tags?post=36873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}