Re: Question / Copy inner to outer identity
Dominic Stalder <[email protected]> Tue, 4 Nov 2025 14:34:09 +0100
| Newsgroups | gmane.comp.freeradius.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Alan > Do not post the configuration files to the list. We know what's in them. We don't need to see them posted to the list. Got it. > Reading the debug output, the inner-tunnel virtual server is being run. But the lnner-tunnel "Post-Auth-Type" isn't being run. I really looked / searched for the corresponding part in the debug, I only found the virtual server proxy-inner-tunnel getting hit. Just for training / future purposes, could you please highlight the corresponding line in the debug output? And I will try to put the corresponding configuration in another section in the inner-tunnel. Regards Dominic > Am 04.11.2025 um 14:22 schrieb Alan DeKok via Freeradius-Users <[email protected]>: > > On Nov 4, 2025, at 3:54 AM, Dominic Stalder <[email protected]> wrote: >> >> I know there is already some information out there about this topic, for example in this post from back in 2018: https://lists.freeradius.org/pipermail/freeradius-users/2018-November/093770.html >> >> And there are also examples in the FreeRADIUS inner-proxy configuration file: > > Do not post the configuration files to the list. We know what's in them. We don't need to see them posted to the list. > >> We use PEAP/MS-CHAPv2 on our eduroam SSID. >> >> Goal: copy the inner identity to the Access-Accept RADIUS packet, if possible at all (?!) à our Cisco WLAN infrastructure could «see» the real username instead of a bunch of [email protected] accounts, this will be used for further processing in a cloud service. >> >> But based on the debug output (see below), the inner-proxy configuration is not hit at all; I think this is based on how our FreeRADIUS proxing is done, but here I am not 100% sure about this. > > Reading the debug output, the inner-tunnel virtual server is being run. But the lnner-tunnel "Post-Auth-Type" isn't being run. > >> But maybe you can help me out and point me into the right direction; in short: is there a way (for us) to achieve the copying of the inner to the outer identity for the Access-Accept packet (only)? > > Just copy it in another section in the inner-tunnel. > > if (!&outer.config:User-Name) { > update { > &outer.config:User-Name := &User-Name > } > } > > Alan DeKok. > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html