Page 1 of 1

Passing IV_HWADDR to Radius

Posted: Mon Aug 07, 2023 3:04 pm
by itktit
Hi,

with OpenVpn Server 2.5.4 (pfsense 2.6.0) i followed this guide:
https://wiki.freeradius.org/guide/mac-auth

and edited this section of /etc/inc/openvpn.auth-user.php:

$attributes = array("nas_identifier" => "openVPN",
"nas_port_type" => RADIUS_VIRTUAL,
"nas_port" => $_GET['nas_port'],
/*"calling_station_id" => get_interface_ip() . ":" . $_GET['nas_port']);*/
"calling_station_id" => getenv("IV_HWADDR"));

to pass FreeRadius the Clients MAC Addresses via Calling-Station-Id.

After the upgrade to OpenVpn 2.6.4 (pfsense 2.7.0) this stopped working.

I missed something?

Re: Passing IV_HWADDR to Radius

Posted: Tue Feb 06, 2024 2:06 pm
by fra
I have the same problem.
There was a solution ?