Freeradius and openVPN –> dynamic aliases
I have this:
Version 2.1.3-RELEASE (i386)
built on Thu May 01 15:52:17 EDT 2014
Platform nanobsd (4g)
freeradius2 2.1.12_1/2.2.5 pkg v1.6.7_2
in this pfsense, I have running openVPN roadwarrior for moviles devices and freeraius for AAA, nothing more.
When the users is connected is assigned a dynamic ip address from the vpn service
IPv4 Tunnel Network: 10.1.1.0/24
everything is ok.
I need to add some user to an aliases for filter some traffic from it, but I can not do because I not found a way for add the user (ip address) to an aliases because ip leases is temporarily and I can not assing a static ip because they are temporary users.
what I need:
when the user is connected to the vpn, the ip address is added to and aliases and when the user is disconnected the ip address is removed from the aliases.
How can I do it? I was searching about radius attribute or something.
I hope you can help me. ;)