<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=3&amp;t=706" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2013-03-08T17:27:07+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=3&amp;t=706</id>
<entry>
<author><name><![CDATA[mako]]></name></author>
<updated>2013-03-08T17:27:07+01:00</updated>
<published>2013-03-08T17:27:07+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=706&amp;p=3726#p3726</id>
<link href="https://forum.yubico.com/viewtopic.php?t=706&amp;p=3726#p3726"/>
<title type="html"><![CDATA[Re: Help on integration Yubico_pam + openvpn]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=706&amp;p=3726#p3726"><![CDATA[
According to man pam_nologin<br />directive <strong>account required pam_nologin.so </strong> will allow only root user.<br />It is good to note, because lot of user want to make connection for common users, and they are confused.<br />For me, better solution is to replace (/etc/pam.d/openvpn) line above with<br /><strong>account   required    pam_succeed_if.so uid = 1000 quiet </strong>  and define UID exactly <br /><br />my Ubuntu config, redhat has system-auth<br /><strong><br />auth            required     pam_yubico.so mode=client try_first_pass id=16 debug authfile=/etc/yubikey_mappings<br />auth             include        common-auth<br />#account         required       pam_nologin.so <br />account         required    pam_succeed_if.so uid = 1000 quiet<br />account          include        common-auth<br />password         include        common-auth<br />session          include        common-auth<br /></strong><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2346">mako</a> — Fri Mar 08, 2013 5:27 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Anonymous]]></name></author>
<updated>2011-12-07T14:55:51+01:00</updated>
<published>2011-12-07T14:55:51+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=706&amp;p=2854#p2854</id>
<link href="https://forum.yubico.com/viewtopic.php?t=706&amp;p=2854#p2854"/>
<title type="html"><![CDATA[Re: Help on integration Yubico_pam + openvpn]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=706&amp;p=2854#p2854"><![CDATA[
Enable debug logging of the PAM module as per the ReadMe :<br /><br />  touch /var/run/pam-debug.log<br />  chmod go+w /var/run/pam-debug.log<br />  tail -f /var/run/pam-debug.log<br /><br />and also, it seems your /etc/pam.d/openvpn file contains an extra /etc in the filename of the authfile parameter<br /><br />auth required pam_yubico.so id=16 debug authfile=/etc/etc/yubikey_passwd<br /><br />/Fredrik<p>Statistics: Posted by Guest — Wed Dec 07, 2011 2:55 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Rougemarteau]]></name></author>
<updated>2011-09-07T15:54:04+01:00</updated>
<published>2011-09-07T15:54:04+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=706&amp;p=2795#p2795</id>
<link href="https://forum.yubico.com/viewtopic.php?t=706&amp;p=2795#p2795"/>
<title type="html"><![CDATA[Help on integration Yubico_pam + openvpn]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=706&amp;p=2795#p2795"><![CDATA[
Hi,<br /><br />I'm trying to get working Yubico PAM module to provide two-factor legacy Username + password + YubiKey OTP authentication for OpenVPN<br />I followed the instructions of this page : <!-- m --><a class="postlink" href="http://code.google.com/p/yubico-pam/wiki/YubiKeyAndOpenVPNviaPAM">http://code.google.com/p/yubico-pam/wik ... nVPNviaPAM</a><!-- m --> <br /><br />Openvpn server is a CentOS 5 64bits<br />Openvpn client is a Fedora FC15. Another OpenVPN client is using Windows 7 64bits.<br /><br />When I try to use the VPN client (on both clients windows &amp; linux), it failed while trying to authenticate. Here is the output of openvpn.log<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">Wed Sep  7 16:45:17 2011 us=525294 MULTI: multi_create_instance called<br />Wed Sep  7 16:45:17 2011 us=525381 192.168.1.13:33660 Re-using SSL/TLS context<br />Wed Sep  7 16:45:17 2011 us=525457 192.168.1.13:33660 LZO compression initialized<br />Wed Sep  7 16:45:17 2011 us=525514 192.168.1.13:33660 Control Channel MTU parms &#91; L:1542 D:138 EF:38 EB:0 ET:0 EL:0 &#93;<br />Wed Sep  7 16:45:17 2011 us=525524 192.168.1.13:33660 Data Channel MTU parms &#91; L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 &#93;<br />Wed Sep  7 16:45:17 2011 us=525549 192.168.1.13:33660 Local Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server'<br />Wed Sep  7 16:45:17 2011 us=525556 192.168.1.13:33660 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client'<br />Wed Sep  7 16:45:17 2011 us=525568 192.168.1.13:33660 Local Options hash (VER=V4): '530fdded'<br />Wed Sep  7 16:45:17 2011 us=525579 192.168.1.13:33660 Expected Remote Options hash (VER=V4): '41690919'<br />Wed Sep  7 16:45:17 2011 us=525601 192.168.1.13:33660 UDPv4 READ &#91;14&#93; from 192.168.1.13:33660: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 &#91; &#93; pid=0 DATA len=0<br />Wed Sep  7 16:45:17 2011 us=525612 192.168.1.13:33660 TLS: Initial packet from 192.168.1.13:33660, sid=fc4c103b 050db54c<br />Wed Sep  7 16:45:17 2011 us=525631 192.168.1.13:33660 UDPv4 WRITE &#91;26&#93; to 192.168.1.13:33660: P_CONTROL_HARD_RESET_SERVER_V2 kid=0 &#91; 0 &#93; pid=0 DATA len=0<br />Wed Sep  7 16:45:17 2011 us=525995 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 0 &#93;<br />Wed Sep  7 16:45:17 2011 us=526031 192.168.1.13:33660 UDPv4 READ &#91;114&#93; from 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=1 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=526058 192.168.1.13:33660 UDPv4 WRITE &#91;22&#93; to 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 1 &#93;<br />Wed Sep  7 16:45:17 2011 us=526093 192.168.1.13:33660 UDPv4 READ &#91;27&#93; from 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=2 DATA len=13<br />Wed Sep  7 16:45:17 2011 us=528709 192.168.1.13:33660 UDPv4 WRITE &#91;126&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; 2 &#93; pid=1 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=528741 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=2 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=528769 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=3 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=528797 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=4 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=529208 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 1 &#93;<br />Wed Sep  7 16:45:17 2011 us=529257 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=5 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=529287 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 2 &#93;<br />Wed Sep  7 16:45:17 2011 us=529307 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=6 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=529333 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 3 &#93;<br />Wed Sep  7 16:45:17 2011 us=529353 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=7 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=529379 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 4 &#93;<br />Wed Sep  7 16:45:17 2011 us=529399 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=8 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=529735 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 5 &#93;<br />Wed Sep  7 16:45:17 2011 us=529766 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=9 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=529803 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 6 &#93;<br />Wed Sep  7 16:45:17 2011 us=529823 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=10 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=529849 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 7 &#93;<br />Wed Sep  7 16:45:17 2011 us=529877 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=11 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=529904 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 8 &#93;<br />Wed Sep  7 16:45:17 2011 us=529923 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=12 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=530302 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 9 &#93;<br />Wed Sep  7 16:45:17 2011 us=530341 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=13 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=530370 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 10 &#93;<br />Wed Sep  7 16:45:17 2011 us=530389 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=14 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=530416 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 11 &#93;<br />Wed Sep  7 16:45:17 2011 us=530466 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=15 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=530494 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 12 &#93;<br />Wed Sep  7 16:45:17 2011 us=530513 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=16 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=530733 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 13 &#93;<br />Wed Sep  7 16:45:17 2011 us=530791 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=17 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=530828 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 14 &#93;<br />Wed Sep  7 16:45:17 2011 us=530853 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=18 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=530888 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 15 &#93;<br />Wed Sep  7 16:45:17 2011 us=530913 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=19 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=530946 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 16 &#93;<br />Wed Sep  7 16:45:17 2011 us=530965 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=20 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=531299 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 17 &#93;<br />Wed Sep  7 16:45:17 2011 us=531378 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=21 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=531405 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 18 &#93;<br />Wed Sep  7 16:45:17 2011 us=531424 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=22 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=531478 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 19 &#93;<br />Wed Sep  7 16:45:17 2011 us=531497 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=23 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=531557 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 20 &#93;<br />Wed Sep  7 16:45:17 2011 us=531578 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=24 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=532311 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 21 &#93;<br />Wed Sep  7 16:45:17 2011 us=532333 192.168.1.13:33660 UDPv4 WRITE &#91;91&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=25 DATA len=77<br />Wed Sep  7 16:45:17 2011 us=532360 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 22 &#93;<br />Wed Sep  7 16:45:17 2011 us=532380 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 23 &#93;<br />Wed Sep  7 16:45:17 2011 us=532398 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 24 &#93;<br />Wed Sep  7 16:45:17 2011 us=536955 192.168.1.13:33660 UDPv4 READ &#91;126&#93; from 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; 25 &#93; pid=3 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=536997 192.168.1.13:33660 UDPv4 WRITE &#91;22&#93; to 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 3 &#93;<br />Wed Sep  7 16:45:17 2011 us=537035 192.168.1.13:33660 UDPv4 READ &#91;112&#93; from 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=4 DATA len=98<br />Wed Sep  7 16:45:17 2011 us=539624 192.168.1.13:33660 UDPv4 WRITE &#91;85&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; 4 &#93; pid=26 DATA len=59<br />Wed Sep  7 16:45:17 2011 us=540276 192.168.1.13:33660 UDPv4 READ &#91;126&#93; from 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; 26 &#93; pid=5 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=540318 192.168.1.13:33660 UDPv4 WRITE &#91;22&#93; to 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 5 &#93;<br />Wed Sep  7 16:45:17 2011 us=540355 192.168.1.13:33660 UDPv4 READ &#91;114&#93; from 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=6 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=540377 192.168.1.13:33660 UDPv4 WRITE &#91;22&#93; to 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 6 &#93;<br />Wed Sep  7 16:45:17 2011 us=540412 192.168.1.13:33660 UDPv4 READ &#91;114&#93; from 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=7 DATA len=100<br />Wed Sep  7 16:45:17 2011 us=540428 192.168.1.13:33660 UDPv4 WRITE &#91;22&#93; to 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 7 &#93;<br />Wed Sep  7 16:45:17 2011 us=540452 192.168.1.13:33660 UDPv4 READ &#91;92&#93; from 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=8 DATA len=78<br />AUTH-PAM: BACKGROUND: received command code: 0<br />AUTH-PAM: BACKGROUND: USER: gboi<br />AUTH-PAM: BACKGROUND: my_conv&#91;0&#93; query='Password: ' style=1<br />AUTH-PAM: BACKGROUND: user 'gboi' failed to authenticate: Module is unknown<br />Wed Sep  7 16:45:19 2011 us=468594 192.168.1.13:33660 PLUGIN_CALL: POST /usr/lib64/openvpn/plugin/lib/openvpn-auth-pam.so/PLUGIN_AUTH_USER_PASS_VERIFY status=1<br />Wed Sep  7 16:45:19 2011 us=468615 192.168.1.13:33660 PLUGIN_CALL: plugin function PLUGIN_AUTH_USER_PASS_VERIFY failed with status 1: /usr/lib64/openvpn/plugin/lib/openvpn-auth-pam.so<br />Wed Sep  7 16:45:19 2011 us=468641 192.168.1.13:33660 TLS Auth Error: Auth Username/Password verification failed for peer<br />Wed Sep  7 16:45:19 2011 us=468762 192.168.1.13:33660 UDPv4 WRITE &#91;126&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; 8 &#93; pid=27 DATA len=100<br />Wed Sep  7 16:45:19 2011 us=468801 192.168.1.13:33660 UDPv4 WRITE &#91;114&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=28 DATA len=100<br />Wed Sep  7 16:45:19 2011 us=468825 192.168.1.13:33660 UDPv4 WRITE &#91;80&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=29 DATA len=66<br />Wed Sep  7 16:45:19 2011 us=469245 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 27 &#93;<br />Wed Sep  7 16:45:19 2011 us=469274 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 28 &#93;<br />Wed Sep  7 16:45:19 2011 us=469462 192.168.1.13:33660 UDPv4 READ &#91;22&#93; from 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 29 &#93;<br />Wed Sep  7 16:45:19 2011 us=469478 192.168.1.13:33660 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA<br />Wed Sep  7 16:45:19 2011 us=469497 192.168.1.13:33660 &#91;&#93; Peer Connection Initiated with 192.168.1.13:33660<br />Wed Sep  7 16:45:21 2011 us=649895 192.168.1.13:33660 UDPv4 READ &#91;104&#93; from 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=9 DATA len=90<br />Wed Sep  7 16:45:21 2011 us=649969 192.168.1.13:33660 PUSH: Received control message: 'PUSH_REQUEST'<br />Wed Sep  7 16:45:21 2011 us=649986 192.168.1.13:33660 Delayed exit in 5 seconds<br />Wed Sep  7 16:45:21 2011 us=650015 192.168.1.13:33660 SENT CONTROL &#91;UNDEF&#93;: 'AUTH_FAILED' (status=1)<br />Wed Sep  7 16:45:21 2011 us=650029 192.168.1.13:33660 UDPv4 WRITE &#91;22&#93; to 192.168.1.13:33660: P_ACK_V1 kid=0 &#91; 9 &#93;<br />Wed Sep  7 16:45:21 2011 us=650067 192.168.1.13:33660 UDPv4 WRITE &#91;104&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=30 DATA len=90<br />Wed Sep  7 16:45:23 2011 us=721918 192.168.1.13:33660 UDPv4 WRITE &#91;104&#93; to 192.168.1.13:33660: P_CONTROL_V1 kid=0 &#91; &#93; pid=30 DATA len=90<br />Wed Sep  7 16:45:23 2011 us=722260 read UDPv4 &#91;ECONNREFUSED&#93;: Connection refused (code=111)<br />Wed Sep  7 16:45:26 2011 us=795152 192.168.1.13:33660 SIGTERM&#91;soft,delayed-exit&#93; received, client-instance exiting<br /></div><br /><br /><br /><br />And here is the content of /etc/pam.d/openvpn :<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">auth required pam_yubico.so id=16 debug authfile=/etc/etc/yubikey_passwd<br />auth include system-auth <br />account required pam_nologin.so <br />account include system-auth <br />password include system-auth <br />session include system-auth</div><br /><br />And here is the content of /etc/openvpn/openvpn.conf<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">port 1194<br />proto udp<br />dev tun0<br /><br />ca /etc/openvpn/keys/ca.crt<br />cert /etc/openvpn/keys/sv-inf-int-vpn-01.crt<br />key /etc/openvpn/keys/sv-inf-int-vpn-01.key<br />dh /etc/openvpn/keys/dh1024.pem<br /><br />server 10.8.42.0 255.255.255.0<br />ifconfig-pool-persist ipp.txt<br /><br />client-to-client<br /><br />keepalive 10 120<br /><br />comp-lzo<br />max-clients 100<br /><br />user root<br />group root<br /><br /># of the privilege downgrade.<br />persist-key<br />persist-tun<br /><br />status /var/log/openvpn-status.log<br />log-append  /var/log/openvpn.log<br /><br />verb 6<br /><br /># Ne requiert pas de certificat pour les clients<br />client-cert-not-required<br /><br /># Seuls les users locaux du serveur peuvent se connecter au vpn (login)<br /># plugin /usr/lib64/openvpn/plugin/lib/openvpn-auth-pam.so login<br /><br /># Enable PAM modules openvpn (yubikey)<br />plugin /usr/lib64/openvpn/plugin/lib/openvpn-auth-pam.so openvpn<br /><br />push &quot;redirect-gateway def1&quot;<br />push &quot;dhcp-option DNS 192.168.1.1&quot;</div><br /><br />Could you please tell me how to get it work ?<br /><br />Regards,<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1801">Rougemarteau</a> — Wed Sep 07, 2011 3:54 pm</p><hr />
]]></content>
</entry>
</feed>