{"id":167321,"date":"2018-05-17T16:14:55","date_gmt":"2018-05-17T09:14:55","guid":{"rendered":"https:\/\/www.icez.net\/blog\/?p=167321"},"modified":"2018-05-17T17:19:56","modified_gmt":"2018-05-17T10:19:56","slug":"0232-%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-openvpn-otp-plugin","status":"publish","type":"post","link":"https:\/\/www.icez.net\/blog\/167321\/0232-%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-openvpn-otp-plugin","title":{"rendered":"0232 | \u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 openvpn-otp plugin"},"content":{"rendered":"<p>copy paste =><\/p>\n<pre><code>yum -y install epel-\nyum -y install openvpn openvpn-devel git autoconf automake libtool openssl-devel libtool-ltdl-devel gcc-c++ make  \ncd \/usr\/local\/src  \ngit clone https:\/\/github.com\/evgeny-gridasov\/openvpn-otp\ncd openvpn-otp\n.\/autogen.sh\n.\/configure --with-openvpn-plugin-dir=\/usr\/lib64\/openvpn\/plugins\nmake\nmake install\n<\/code><\/pre>\n<p>\u0e41\u0e25\u0e49\u0e27\u0e44\u0e1b config openvpn \u0e15\u0e48\u0e2d\u0e44\u0e14\u0e49\u0e40\u0e25\u0e22\u0e08\u0e49\u0e32 https:\/\/github.com\/evgeny-gridasov\/openvpn-otp<\/p>\n<p>\u0e04\u0e23\u0e48\u0e32\u0e27\u0e46 \u0e1d\u0e31\u0e48\u0e07 server \u0e40\u0e1e\u0e34\u0e48\u0e21\u0e1a\u0e23\u0e23\u0e17\u0e31\u0e14\u0e19\u0e35\u0e49<\/p>\n<pre><code>plugin \"\/usr\/lib64\/openvpn\/plugins\/openvpn-otp.so\" \"otp_secrets=\/etc\/openvpn\/customroute-otp-secrets password_is_cr=1\"\n<\/code><\/pre>\n<p>\u0e2a\u0e48\u0e27\u0e19\u0e1d\u0e31\u0e48\u0e07 client \u0e40\u0e1e\u0e34\u0e48\u0e21\u0e1a\u0e23\u0e23\u0e17\u0e31\u0e14\u0e19\u0e35\u0e49<\/p>\n<pre><code>auth-user-pass\nauth-nocache\nstatic-challenge \"Enter Google Authenticator Token\" 1\n<\/code><\/pre>\n<p>(\u0e08\u0e23\u0e34\u0e07\u0e46 \u0e04\u0e27\u0e23\u0e08\u0e30\u0e21\u0e35 auth-user-pass \u0e2d\u0e22\u0e39\u0e48\u0e41\u0e25\u0e49\u0e27)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>copy paste => yum -y install epel- yum -y install openvpn openvpn-devel git autoconf automake libtool openssl-devel libtool-ltdl-devel gcc-c++ make cd \/usr\/local\/src git clone https:\/\/github.com\/evgeny-gridasov\/openvpn-otp cd openvpn-otp .\/autogen.sh .\/configure &#8211;with-openvpn-plugin-dir=\/usr\/lib64\/openvpn\/plugins make make install \u0e41\u0e25\u0e49\u0e27\u0e44\u0e1b config openvpn \u0e15\u0e48\u0e2d\u0e44\u0e14\u0e49\u0e40\u0e25\u0e22\u0e08\u0e49\u0e32 https:\/\/github.com\/evgeny-gridasov\/openvpn-otp \u0e04\u0e23\u0e48\u0e32\u0e27\u0e46 \u0e1d\u0e31\u0e48\u0e07 server \u0e40\u0e1e\u0e34\u0e48\u0e21\u0e1a\u0e23\u0e23\u0e17\u0e31\u0e14\u0e19\u0e35\u0e49 plugin &#8220;\/usr\/lib64\/openvpn\/plugins\/openvpn-otp.so&#8221; &#8220;otp_secrets=\/etc\/openvpn\/customroute-otp-secrets password_is_cr=1&#8221; \u0e2a\u0e48\u0e27\u0e19\u0e1d\u0e31\u0e48\u0e07 client \u0e40\u0e1e\u0e34\u0e48\u0e21\u0e1a\u0e23\u0e23\u0e17\u0e31\u0e14\u0e19\u0e35\u0e49 auth-user-pass auth-nocache static-challenge &#8220;Enter Google Authenticator [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,50],"tags":[8259,8260,8258],"class_list":["post-167321","post","type-post","status-publish","format-standard","hentry","category-network","category-linux","tag-compile","tag-installation","tag-openvpn"],"_links":{"self":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts\/167321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/comments?post=167321"}],"version-history":[{"count":3,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts\/167321\/revisions"}],"predecessor-version":[{"id":167324,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts\/167321\/revisions\/167324"}],"wp:attachment":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/media?parent=167321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/categories?post=167321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/tags?post=167321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}