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?
Passing IV_HWADDR to Radius
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Feb 06, 2024 2:05 pm
Re: Passing IV_HWADDR to Radius
I have the same problem.
There was a solution ?
There was a solution ?