manage virtual_server
TIQUET, Benoit
benoit.tiquet at axione.fr
Mon Apr 14 14:16:02 CEST 2008
Hello,
Thanks for your answer. I finally fixed my issue by using the exemple in site-available/README (without clients section).
This configuration exemple at http://www.freeradius.org/features/virtual_servers.html failed :
My conf (one server for now)
listen {
ipaddr = 10.200.41.3
port = 1645
type = auth
clients = B-ras
}
clients B-ras {
client bas-val92-01 {
ipaddr = 10.200.41.5
secret = testing123
shortname = ERX-VALID-01
virtual_server = bas-val92-01
}
}
server bas-val92-01 {
authorize {
preprocess
suffix
files
# sql
}
authenticate {
eap
# unix
# files
}
accounting {
detail
unix
}
session {
}
pre-proxy {
}
}
The debug log ============================
server bas-val92-01 {
modules {
Module: Checking authenticate {...} for more modules to load
Module: Checking authorize {...} for more modules to load
Module: Checking accounting {...} for more modules to load
}
}
server {
modules {
Module: Checking authenticate {...} for more modules to load
Module: Checking authorize {...} for more modules to load
Module: Instantiating IPASS
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
Module: Checking accounting {...} for more modules to load
}
}
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = 217.119.178.126
port = 1645
clients = "bas"
/usr/local/etc/raddb/radiusd.conf[22]: Failed to find clients bas {...}
Regards
Benoit
-----Message d'origine-----
De : freeradius-users-bounces+benoit.tiquet=axione.fr at lists.freeradius.org [mailto:freeradius-users-bounces+benoit.tiquet=axione.fr at lists.freeradius.org] De la part de Alan DeKok
Envoyé : lundi 14 avril 2008 11:05
À : FreeRadius users mailing list
Objet : Re: manage virtual_server
TIQUET, Benoit wrote:
> I would like to manage several virtual_server based on clients. I
> tried to follow instructions on
> http://www.freeradius.org/features/virtual_servers.html but I can not
> manage the clients section ( : Failed to find clients xx).
Please post the entire debug log.
Also, the virtual server configuration is documented in clients.conf, raddb/sites-available/README, and many other places in the server.
> I tried to put the clients section in clients.conf and radius.conf but
> it's not better.
Can you explain what you're trying to do? What part of the examples is unclear?
> Could you please give me some more details regarding virtual_servers ?
> How to manage several virtual servers based on clients , how to link a
> virtual_server to it's related file in site-enabled.
The virtual server *is* the related file in raddb/sites-enabled. The clients.conf file explains how to link a client to a virtual server.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
--
Les donnees et renseignements contenus dans ce message sont personnels, confidentiels et secrets. Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee. Si vous n'etes pas le bon destinataire, nous vous demandons de ne pas lire, copier, utiliser ou divulguer cette communication. Nous vous prions de notifier cette erreur a l'expediteur et d'effacer immediatement cette communication de votre systeme.
Any data and information contained in this electronic mail is personal, confidential and secret. Any total or partial publication, use or distribution must be authorized. If you are not the right addressee, we ask you not to read, copy, use or disclose this communication. Please notify this error to the sender and erase at once this communication from your system.
More information about the Freeradius-Users
mailing list