<?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=4&amp;t=565" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2010-09-22T11:21:21+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=4&amp;t=565</id>
<entry>
<author><name><![CDATA[Timbo]]></name></author>
<updated>2010-09-22T11:21:21+01:00</updated>
<published>2010-09-22T11:21:21+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=565&amp;p=2360#p2360</id>
<link href="https://forum.yubico.com/viewtopic.php?t=565&amp;p=2360#p2360"/>
<title type="html"><![CDATA[Re: Yubikey + OpenVPN + PAM - Issues]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=565&amp;p=2360#p2360"><![CDATA[
This issue was resolved by adding the following line to the openvpn server and client config files.<br /><br />reneg-sec 0<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1335">Timbo</a> — Wed Sep 22, 2010 11:21 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Timbo]]></name></author>
<updated>2010-09-03T13:33:48+01:00</updated>
<published>2010-09-03T13:33:48+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=565&amp;p=2329#p2329</id>
<link href="https://forum.yubico.com/viewtopic.php?t=565&amp;p=2329#p2329"/>
<title type="html"><![CDATA[Yubikey + OpenVPN + PAM - Issues]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=565&amp;p=2329#p2329"><![CDATA[
Hi,<br /><br />We have a issue whereby after an hour of being connected to the VPN, it disconnects with the following errors.<br /><br />__________________________________<br /><br />Fri Sep  3 11:48:27 2010 us=540 twilliams/xxx.xxx.xxx.xxx:41113 TLS: soft reset sec=0 bytes=5783662/0 pkts=7614/0<br />AUTH-PAM: BACKGROUND: received command code: 0<br />AUTH-PAM: BACKGROUND: USER: twilliams<br />AUTH-PAM: BACKGROUND: my_conv[0] query='Yubikey for `twilliams': ' style=1<br />AUTH-PAM: BACKGROUND: user 'twilliams' failed to authenticate: Authentication failure<br />Fri Sep  3 11:48:27 2010 us=592473 twilliams/xxx.xxx.xxx.xxx:41113 PLUGIN_CALL: POST /usr/lib/openvpn/openvpn-auth-pam.so/PLUGIN_AUTH_USER_PASS_VERIFY status=1<br />Fri Sep  3 11:48:27 2010 us=592493 twilliams/xxx.xxx.xxx.xxx:41113 PLUGIN_CALL: plugin function PLUGIN_AUTH_USER_PASS_VERIFY failed with status 1: /usr/lib/openvpn/openvpn-auth-pam.so<br />Fri Sep  3 11:48:27 2010 us=592569 twilliams/xxx.xxx.xxx.xxx:41113 TLS Auth Error: Auth Username/Password verification failed for peer<br /><br />__________________________________<br /><br />server config<br /><br />plugin /usr/lib/openvpn/openvpn-auth-pam.so openvpn<br /><br />port 1194<br />proto udp<br />dev tun<br /><br />ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt<br />cert /etc/openvpn/easy-rsa/2.0/keys/server.crt<br />key /etc/openvpn/easy-rsa/2.0/keys/server.key  # This file should be kept secret<br />dh /etc/openvpn/easy-rsa/2.0/keys/dh1024.pem<br /><br />duplicate-cn<br />username-as-common-name<br />ns-cert-type server<br />client-cert-not-required<br /><br />server 10.5.128.0 255.255.255.0<br /><br />push redirect-gateway<br />push &quot;dhcp-option DOMAIN domain.co.uk&quot;<br />push &quot;dhcp-option DNS xxx.xxx.xxx.xxx&quot;<br /><br />keepalive 10 120<br />ping 10<br />ping restart 60<br /><br />persist-key<br />persist-tun<br /><br />log /var/log/openvpn.log<br />status /var/log/openvpn-status.log<br />verb 4<br /><br />__________________________________<br /><br />/etc/pam.d/openvpn<br /><br />auth required /usr/local/lib/security/pam_yubico.so id=1 authfile=/etc/yubikey_mapping url=http://10.68.130.198/wsapi/verify?id=%d&amp;otp=%s<br />auth required pam_radius_auth.so try_first_pass<br /><br />#@include common-auth<br />#@include common-account<br />@include common-password<br />@include common-session<br /><br />__________________________________<br /><br />client config<br /><br />remote xxx.xxx.xxx.xxx 1194<br />client<br />proto udp<br />dev tun<br /><br />persist-key<br />persist-tun<br /><br />ping restart 60<br />ping-timer-rem<br />#resolv-retry 86400<br />ping 10<br /><br />ca groupnbt-ca.crt<br />auth-user-pass<br />pull<br /><br />__________________________________<br /><br />Any help would be gratefully appreciated.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1335">Timbo</a> — Fri Sep 03, 2010 1:33 pm</p><hr />
]]></content>
</entry>
</feed>