SV: How to separate users to different server...

Madsen.Jan JMD JMD at kmd.dk
Thu Jul 22 13:13:36 CEST 2010


What I would do.

Use the etc_group module

Create som groups for your users
Group1
Group2

Add the respective users to the correct groups

In the users file I will create a line for each login server (client to the raidus server)
Something like this:
Client-IP-Address == [login server1], Radius-Group == ”[name of group]”


Take a look at the module etc_group to see how you create a group.
Then remember to add the group etc_group name to the authentication section of your radius site probably the sites-enabled/default

Best regards
Jan Madsen

Fra: freeradius-users-bounces+jmd=kmd.dk at lists.freeradius.org [mailto:freeradius-users-bounces+jmd=kmd.dk at lists.freeradius.org] På vegne af Spacelee
Sendt: 22. juli 2010 12:34
Til: FreeRadius users mailing list
Emne: How to separate users to different server...

Environment: PPTP+PPP+FREERADIUS+MYSQL+LINUX
I want to separate users, for example, there are 10 users
user1, user2 ... user10
I want user1, user2 ... user5 can only login server1
I want user6.................user10 can only login server2
if user1 login server2, could I sent a login failure? How to finish this task...

Thanks...

--
Spacelee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100722/883b94fb/attachment.html>


More information about the Freeradius-Users mailing list