You just create a new directory and put your configs in it and start with
-d options.
So, say your default directory is /usr/local/etc/raddb
mkdir /usr/local/etc/raddb/proxy
mkdir /usr/local/etc/raddb/main
copy all your radius files from /usr/local/etc/raddb to proxy and main
directory.
edit proxy and main radiusd.conf make sure to change
raddbdir = ${sysconfdir}/raddb
for each one
raddbdir = ${sysconfdir}/raddb/proxy
raddbdir = ${sysconfdir}/raddb/main
Then edit the rest of the files as you want to make them behave
differently.
Start two instances of radius in your startup script
radiusd -d /usr/local/etc/raddb/proxy
radiusd -d /usr/local/etc/raddb/main
On Wed, 19 Jan 2005, Nans Delrieu wrote:
> hello, i want to run two daemon (sercice) freeradius on the same pc in
> order to have one who plays proxy freeradius and the second who plays
> primary freeradius ?
>
> is it possuble ?
> if yes , how ?
>
> ""Actually you can assign any port you desire for radauth, radacct port
> is increment of radauth port number by 1. Installing into two
> different directories is the way to go.""
>
> ok but how to install in a diffrent directory with an "exe" who looks
> for radiusd.conf ????
>
> for example, i want etc/init.d/freeradius1 start (config file in
> /etc/freeradius
> and /etc/init.d/freeradius2 start ? (config file in /radius2
>
> thanks
>
>
> ___[ Pub ]____________________________________________________________
> Envie de discuter gratuitement avec vos amis ?
> T�l�chargez Yahoo! Messenger http://yahoo.ifrance.com
>
> _____________________________________________________________________
>
> Envie de discuter gratuitement avec vos amis ?
> T�l�chargez Yahoo! Messenger http://yahoo.ifrance.com
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html