Chapter 8
Pop quiz – virtual servers
- Create a new virtual server in the
sites-available
directory. Configure and specify a separate SQL database for this new virtual server. Link this virtual server to thesites-enabled
directory. Define the VPN server as a client in theclients.conf
file and use thevirtual_server
directive to force the use of this new virtual server for RADIUS requests. - The
buffered-sql
virtual server under thesites-available
directory can be used as a template to work around the slow SQL response. - This is because the authenticate section does not contain a
Auth-Type PERL {...}
sub-section. Usually theAuth-Type
will be set by a module or by unlang inside the authorize section. The authenticate section then requires a sub-section for theAuth-Type
to handle its values.