<?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[OpenVPN + FreeRadius with specified IP in free radius log incorrect ip inlog file]]></title><description><![CDATA[<p dir="auto">HI Everyone</p>
<p dir="auto">Version Info:  	2.4.5-RELEASE-p1 (amd64)</p>
<p dir="auto">I am using free radius as authentication source for OpenVPN, in free radius  I specify the Ip address. I get assign correct to the client. but in the log file OpenVPN does not log the correct IP it always log the 1st IP in the pool <strong><span style="color:#000000">172.16.39.6</span></strong>.  Below is a example of what is logged.</p>
<p dir="auto">&lt;29&gt;Sep 11 19:15:03 openvpn[23699]: BCXS_Lar/115.247.33.40:1194 MULTI_sva: pool returned IPv4=<strong>172.16.38.6</strong>, IPv6=(Not enabled)<br />
&lt;29&gt;Sep 11 16:30:25 openvpn[60829]: AlfieScu/11.113.21.133:43523 MULTI_sva: pool returned IPv4=<strong>172.16.38.6</strong>, IPv6=(Not enabled)<br />
&lt;29&gt;Sep 11 13:03:22 openvpn[23699]: IT/112.252.67.92:62144 MULTI_sva: pool returned IPv4=<strong>172.16.38.6</strong>, IPv6=(Not enabled)<br />
&lt;29&gt;Sep 11 12:38:09 openvpn[60829]: MRS/11.160.238.138:8531 MULTI_sva: pool returned IPv4=<strong>172.16.38.6</strong>, IPv6=(Not enabled)<br />
&lt;29&gt;Sep 11 10:43:22 openvpn[23699]: Johnny1/117.245.46.73:1194 MULTI_sva: pool returned IPv4=<strong>172.16.38.6</strong>, IPv6=(Not enabled)<br />
&lt;29&gt;Sep 11 10:40:48 openvpn[60829]: Voxtel1/117.234.144.249:57856 MULTI_sva: pool returned IPv4=<strong>172.16.38.6</strong>, IPv6=(Not enabled)<br />
&lt;29&gt;Sep 11 09:10:47 openvpn[60829]: MRS1/11.160.238.138:7210 MULTI_sva: pool returned IPv4=<strong>172.16.38.6</strong>, IPv6=(Not enabled)</p>
<p dir="auto"><strong>Here is a screen shot of freeradius</strong><br />
<img src="/assets/uploads/files/1599845285801-810166ed-27fa-40bf-8217-535ce38215e3-image.png" alt="810166ed-27fa-40bf-8217-535ce38215e3-image.png" class="img-markdown  img-fluid" /></p>
<p dir="auto">I am exporting this logs with syslog to Elastic search to log and record user logins.<br />
All works good except the incorrect ip that OpenVPN log.</p>
<p dir="auto">Anyone have a idea how to fix this .</p>
<p dir="auto">thanks<br />
Jaco</p>
]]></description><link>https://forum.netgate.com/topic/156771/openvpn-freeradius-with-specified-ip-in-free-radius-log-incorrect-ip-inlog-file</link><generator>RSS for Node</generator><lastBuildDate>Wed, 18 Nov 2026 09:15:30 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/156771.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 11 Sep 2020 17:33:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to OpenVPN + FreeRadius with specified IP in free radius log incorrect ip inlog file on Sat, 12 Sep 2020 10:54:02 GMT]]></title><description><![CDATA[<p dir="auto">I changed the logging to level 4 and can not see the correct ip, Issue resolved</p>
]]></description><link>https://forum.netgate.com/post/934152</link><guid isPermaLink="true">https://forum.netgate.com/post/934152</guid><dc:creator><![CDATA[jacol]]></dc:creator><pubDate>Sat, 12 Sep 2020 10:54:02 GMT</pubDate></item></channel></rss>