Changes between Initial Version and Version 1 of Internal/radius


Ignore:
Timestamp:
Aug 12, 2019, 10:16:40 PM (5 years ago)
Author:
msherman
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/radius

    v1 v1  
     1== Authentication with orbit LDAP and freeradius3 ==
     2
     3* install freeradius 3, and freeradius-ldap
     4* we'll only touch the following files:
     5  * symlink mods-avalable/ldap to mods-enabled/ldap
     6  * edit mods-enabled/ldap
     7  * edit sites-enabled/default
     8  * edit sites-enabled/inner-tunnel
     9
     10* ldap control mapping of radius attributes to ldap ones
     11* sites-enabled/default post-auth sections sets policy
     12
     13* send semicolon separated list of groups to pfsense
     14{{{
     15
     16foreach &control:Ldap-Group {
     17    update reply {
     18        Class += "%{Foreach-Variable-0};"
     19    }
     20}
     21}}}
     22* set allowed groups
     23{{{
     24#allow only users of following groups to authorize
     25if (LDAP-Group == sysadmin) {
     26    noop
     27}
     28elsif (LDAP-Group == vpnuser) {
     29    noop
     30}
     31else {
     32    reject
     33}
     34}}}