<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Adding Username and Password option]]></title><description><![CDATA[<p dir="auto">From what I've read the newer version of PFsense doesn't need a password file as mentioned in older tutorials.  I'm trying to follow one that recommends putting in the Advanced: (which works)</p>
<p dir="auto">auth-user-pass /conf/myvpnpass<br />
persist-key<br />
persist-tun<br />
persist-remote-ip<br />
tls-client<br />
remote-cert-tls server<br />
comp-lzo<br />
verb 3<br />
auth SHA256<br />
cipher AES-256-CBC</p>
<p dir="auto">If I remove the "auth-user-pass /conf/myvpnpass" from the advanced section and enter it the GUI the OpenVPN doesn't work.  Can some shed so light on how to get this working without a myvpnpass file? I presume the benefit would be it would be backed up by the backup utility if it wasn't in a separate file.</p>
]]></description><link>https://forum.netgate.com/topic/115813/adding-username-and-password-option</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 04:47:07 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/115813.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 May 2017 16:51:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Adding Username and Password option on Thu, 18 May 2017 01:33:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gjaltemba" aria-label="Profile: gjaltemba">@<bdi>gjaltemba</bdi></a>:</p>
<blockquote>
<p dir="auto">You may want to set the Verbosity level to 5 under Advanced Configuration of the Openvpn client if you really want to check the log. Reset it when you are done.</p>
</blockquote>
<p dir="auto">At Verbosity level 5 the line auth_user_pass_file = '/var/etc/openvpn/client1.up' is there. But now notice this error</p>
<p dir="auto">May 17 21:30:05 openvpn 79458 ERROR: FreeBSD route add command failed: external program exited with error status: 1</p>
]]></description><link>https://forum.netgate.com/post/700376</link><guid isPermaLink="true">https://forum.netgate.com/post/700376</guid><dc:creator><![CDATA[NasKar]]></dc:creator><pubDate>Thu, 18 May 2017 01:33:42 GMT</pubDate></item><item><title><![CDATA[Reply to Adding Username and Password option on Thu, 18 May 2017 00:15:39 GMT]]></title><description><![CDATA[<p dir="auto">You may want to set the Verbosity level to 5 under Advanced Configuration of the Openvpn client if you really want to check the log. Reset it when you are done.</p>
]]></description><link>https://forum.netgate.com/post/700370</link><guid isPermaLink="true">https://forum.netgate.com/post/700370</guid><dc:creator><![CDATA[gjaltemba]]></dc:creator><pubDate>Thu, 18 May 2017 00:15:39 GMT</pubDate></item><item><title><![CDATA[Reply to Adding Username and Password option on Wed, 17 May 2017 23:15:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/naskar" aria-label="Profile: NasKar">@<bdi>NasKar</bdi></a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gjaltemba" aria-label="Profile: gjaltemba">@<bdi>gjaltemba</bdi></a>:</p>
<blockquote>
<p dir="auto">Glad you sorted things out. For a final check, I see this line in the openvpn log</p>
<p dir="auto">auth_user_pass_file = '/var/etc/openvpn/client1.up'</p>
</blockquote>
<p dir="auto">I don't see that line in my openvpn log (currently set for 100 lines).  Here are the last few lines:<br />
May 17 18:56:47 openvpn 15348 MANAGEMENT: Client disconnected<br />
May 17 18:56:47 openvpn 15348 MANAGEMENT: CMD 'status 2'<br />
May 17 18:56:47 openvpn 15348 MANAGEMENT: CMD 'state 1'<br />
May 17 18:56:47 openvpn 15348 MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock<br />
May 17 18:56:11 openvpn 15348 Initialization Sequence Completed</p>
<p dir="auto">Not sure why it says Client disconnected</p>
</blockquote>
<p dir="auto">Apparently that doesn't mean anything as discussed here <a href="https://forum.pfsense.org/index.php?topic=79363.0" target="_blank" rel="noopener noreferrer nofollow ugc">https://forum.pfsense.org/index.php?topic=79363.0</a></p>
]]></description><link>https://forum.netgate.com/post/700361</link><guid isPermaLink="true">https://forum.netgate.com/post/700361</guid><dc:creator><![CDATA[NasKar]]></dc:creator><pubDate>Wed, 17 May 2017 23:15:51 GMT</pubDate></item><item><title><![CDATA[Reply to Adding Username and Password option on Wed, 17 May 2017 23:05:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gjaltemba" aria-label="Profile: gjaltemba">@<bdi>gjaltemba</bdi></a>:</p>
<blockquote>
<p dir="auto">Glad you sorted things out. For a final check, I see this line in the openvpn log</p>
<p dir="auto">auth_user_pass_file = '/var/etc/openvpn/client1.up'</p>
</blockquote>
<p dir="auto">I don't see that line in my openvpn log (currently set for 100 lines).  Here are the last few lines:<br />
May 17 18:56:47 openvpn 15348 MANAGEMENT: Client disconnected<br />
May 17 18:56:47 openvpn 15348 MANAGEMENT: CMD 'status 2'<br />
May 17 18:56:47 openvpn 15348 MANAGEMENT: CMD 'state 1'<br />
May 17 18:56:47 openvpn 15348 MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock<br />
May 17 18:56:11 openvpn 15348 Initialization Sequence Completed</p>
<p dir="auto">Not sure why it says Client disconnected</p>
]]></description><link>https://forum.netgate.com/post/700360</link><guid isPermaLink="true">https://forum.netgate.com/post/700360</guid><dc:creator><![CDATA[NasKar]]></dc:creator><pubDate>Wed, 17 May 2017 23:05:05 GMT</pubDate></item><item><title><![CDATA[Reply to Adding Username and Password option on Wed, 17 May 2017 22:41:08 GMT]]></title><description><![CDATA[<p dir="auto">Glad you sorted things out. For a final check, I see this line in the openvpn log</p>
<p dir="auto">auth_user_pass_file = '/var/etc/openvpn/client1.up'</p>
]]></description><link>https://forum.netgate.com/post/700352</link><guid isPermaLink="true">https://forum.netgate.com/post/700352</guid><dc:creator><![CDATA[gjaltemba]]></dc:creator><pubDate>Wed, 17 May 2017 22:41:08 GMT</pubDate></item><item><title><![CDATA[Reply to Adding Username and Password option on Wed, 17 May 2017 22:22:42 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your help, I didn't realize that I needed to add the extension @VPNprovider to the username (username@VPNprovider.com). Sorry for wasting your time.</p>
]]></description><link>https://forum.netgate.com/post/700345</link><guid isPermaLink="true">https://forum.netgate.com/post/700345</guid><dc:creator><![CDATA[NasKar]]></dc:creator><pubDate>Wed, 17 May 2017 22:22:42 GMT</pubDate></item><item><title><![CDATA[Reply to Adding Username and Password option on Wed, 17 May 2017 19:38:42 GMT]]></title><description><![CDATA[<p dir="auto">It would have been more prudent of you to double check and then post. Whatever.</p>
<p dir="auto">Looking at my file<br />
/var/etc/openvpn/client1.conf</p>
<p dir="auto">I see the line<br />
auth-user-pass /var/etc/openvpn/client1.up</p>
<p dir="auto">There are two lines in /var/etc/openvpn/client1.up<br />
user<br />
password</p>
<p dir="auto">It really is not that hard.</p>
]]></description><link>https://forum.netgate.com/post/700302</link><guid isPermaLink="true">https://forum.netgate.com/post/700302</guid><dc:creator><![CDATA[gjaltemba]]></dc:creator><pubDate>Wed, 17 May 2017 19:38:42 GMT</pubDate></item><item><title><![CDATA[Reply to Adding Username and Password option on Wed, 17 May 2017 17:37:11 GMT]]></title><description><![CDATA[<p dir="auto">Yes the username and pw are the same, but will double check it.  So your saying I can just delete the first line that refers to the password file and enter the username and pw into the GUI and it should work?</p>
]]></description><link>https://forum.netgate.com/post/700257</link><guid isPermaLink="true">https://forum.netgate.com/post/700257</guid><dc:creator><![CDATA[NasKar]]></dc:creator><pubDate>Wed, 17 May 2017 17:37:11 GMT</pubDate></item><item><title><![CDATA[Reply to Adding Username and Password option on Wed, 17 May 2017 17:00:15 GMT]]></title><description><![CDATA[<p dir="auto">No problem using User Authentication Settings. Only requirement is the correct user and password. Are you using the same as in /conf/myvpnpass?</p>
]]></description><link>https://forum.netgate.com/post/700242</link><guid isPermaLink="true">https://forum.netgate.com/post/700242</guid><dc:creator><![CDATA[gjaltemba]]></dc:creator><pubDate>Wed, 17 May 2017 17:00:15 GMT</pubDate></item></channel></rss>