Virtual server by client data

Arran Cudbard-Bell a.cudbardb at freeradius.org
Wed Aug 29 12:09:56 CEST 2012


On 29 Aug 2012, at 10:58, BILLOT <emmanuel.billot at ac-orleans-tours.fr> wrote:

> Le 29/08/2012 11:16, Fajar A. Nugraha a écrit :
>> On Wed, Aug 29, 2012 at 3:22 PM, BILLOT
>> <emmanuel.billot at ac-orleans-tours.fr> wrote:
>>> Hi,
>>> 
>>> Is there any way to use virtual servs depending on client VLAN ?
>>> I mean :
>>> 
>>> If packet arrive with VLAN1 then use virtual server 1
>>> If packet arrive with VLAN2 then use virtual server 2
>> Just to clarify: by "client" here do you mean "NAS", or "end user
>> device" (e.g. laptop)?
>> 
> End user device.
> NAS is on one particular VLAN, directly connected to radius, clients are behind it on other vlans. So the ip is the same for all vlans. But i need different configs for each client vlans.

Then you need to bind realms to the virtual servers there are examples in proxy.conf, and use normal proxying logic to forward to them.

-Arran


More information about the Freeradius-Users mailing list