radrelay.conf in freeradius 2.0.5

Sanjeeva Rao sanjeeva.rao at globallogic.com
Thu Jun 26 14:44:05 CEST 2008


Hi,
I have two machines
  1) Linux server ( freeradius-2.0.5) 
  2) Machine (172.xx.xx.xxx)
I would like to configure the 2nd machine as virtual server. 

I am trying configure the virtual servers, but could not succeed. 
I made sym-link in the sites-enable/ to the copy-acct-to-home-server.
Inside this file it says 
"You will have to configure
 realms, home_server_pool, and home_server in proxy.conf
 for this to work.
"
I made entry into proxy.conf

home_server virtual_server {
        type = auth
        ipaddr = 172.16.47.105
        port = 1815
        secret = testing123
        .....
...........
...........
 
}
The output of radiusd -X is as follows
home_server virtual_server {
        ipaddr = 172.16.47.105
        port = 1815
        type = "auth"
        secret = "testing123"
        response_window = 20
        max_outstanding = 65536
        zombie_period = 40
        status_check = "status-server"
        ping_check = "none"
        ping_interval = 30
        check_interval = 30
        num_answers_to_alive = 3
        num_pings_to_alive = 3
        revive_interval = 120
        status_check_timeout = 4
 }
/usr/local/etc/raddb/proxy.conf[354]: Fallback home_server virtual_server does NOT contain a virtual_server directive.
}

I would request you all to help me to configure the virtual server. Also I would like to know the whether radiusd (server) has to be run on the virtual server as well?

Thanks & Regards
Sanjeev 

-----Original Message-----
From: freeradius-users-bounces+sanjeeva.rao=globallogic.com at lists.freeradius.org on behalf of Sanjeeva Rao
Sent: Wed 6/25/2008 3:17 PM
To: FreeRadius users mailing list
Subject: RE: radrelay.conf in freeradius 2.0.5
 
Hi Alan
Thanks for the reply.
I have run radiusd -X and I got the following output.

# ./radiusd -X
FreeRADIUS Version 2.0.5, for host i686-pc-linux-gnu, built on Jun 24
2008 at 15:33:46
Copyright (C) 1999-2008 The FreeRADIUS server project and contributors.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License v2.
Starting - reading configuration files ...
including configuration file /usr/local/etc/raddb/radiusd.conf
including configuration file /usr/local/etc/raddb/proxy.conf
including configuration file /usr/local/etc/raddb/clients.conf
including configuration file /usr/local/etc/raddb/snmp.conf
including files in directory /usr/local/etc/raddb/modules/
...
...
...
....
including files in directory /usr/local/etc/raddb/sites-enabled/
including configuration file
/usr/local/etc/raddb/sites-enabled/inner-tunnel
including configuration file /usr/local/etc/raddb/sites-enabled/default
including dictionary file /usr/local/etc/raddb/dictionary
....
....
.....

I could see it has not read
"raddb/sites-available/copy-acct-to-home-server". I think through this
file we can configure the virtual servers? Thanks for your patience and
insight in advance?


Regards
Sanjeev



-----Original Message-----
From:
freeradius-users-bounces+sanjeeva.rao=globallogic.com at lists.freeradius.o
rg
[mailto:freeradius-users-bounces+sanjeeva.rao=globallogic.com at lists.free
radius.org] On Behalf Of A.L.M.Buxey at lboro.ac.uk
Sent: Wednesday, June 25, 2008 2:53 PM
To: FreeRadius users mailing list
Subject: Re: radrelay.conf in freeradius 2.0.5

Hi,

> Thanks for the reply. Actually in the freeradius-1.x the radrelay is
> Separate executable (process), so as per the release notes of 2.x,
> radrelay functionality is clubbed with radius core server (radiusd). 
> 
> How can I check whether radrelay is running or not, when I am running
> radiusd (freeradius-2.0.5)?

configure the virtual server you require and then see if
the stuff you have configured - eg dumping accounting to
a database...is working...as alys   radiusd -X  is Very Very useful

alan
Very Very useful

alan
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080626/11f53c45/attachment.html>


More information about the Freeradius-Users mailing list