LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-25-2005, 07:26 AM   #1
skiros
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
Multiple RADIUS servers on a single machine


Hello,

I would like to run multiple RADIUS servers (FreeRADIUS) on a single machine on different ports. Does anybody have an idea how I can cleanly do that ?

Thank you very much in advance for your assistance.

Regards,

Chris
 
Old 11-01-2005, 03:34 PM   #2
dd12
LQ Newbie
 
Registered: Sep 2005
Posts: 28

Rep: Reputation: 15
try this:

Once you have FreeRADIUS running, you need to test the configuration to make sure it is responding to requests. FreeRADIUS starts up listening, by default, on the port specified either in the local /etc/services file or in the port directive in radiusd.conf. While RFC 2138 defines the standard RADIUS port to be 1812, historically RADIUS client equipment has used port 1645. Communicating via two different ports is obviously troublesome, so many users start the FreeRADIUS daemon with the -p flag, which overrides the setting in both the /etc/services file and anything set in radiusd.conf. To do this, run the following from the command line:

radius:/etc/raddb # radiusd -p 1645
radiusd: Starting - reading configuration files ...
radius:/etc/raddb #

from: http://www.oreilly.de/catalog/radius/chapter/ch05.html
 
Old 11-02-2005, 01:22 AM   #3
skiros
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Hi dd12,

thank you for your answer.

the problem is that if I run a second radius entity, lets say first "radiusd -p 1645" and afterwards "radiusd -p 1756" the second call will simply stop the first and the server will only listen to the port assigned in the second call, so 1756. ;-(

I even tried to duplicate the /usr/sbin/radiusd to /usr/sbin/radiusd1 and /usr/sbin/radiusd2. Also the /etc/init.d/radiusd, duplicated, created two completely seperate configuration pathes (out of /etc/raddb) and modified the path settings in the /etc/init.d/radiusd1 and /etc/init.d/radiusd2. Then using different port settings in radius.conf. But it also has the same effect: The second call is ending the first one.

Chris
 
Old 11-02-2005, 06:48 AM   #4
dd12
LQ Newbie
 
Registered: Sep 2005
Posts: 28

Rep: Reputation: 15
I understand.

Does /var/log or /var/log/radacct or syslog show any killing of 1st instance?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba with multiple connections from single XP machine jqcaducifer Linux - Networking 11 11-17-2004 02:53 PM
Running Multiple X-Servers on the same Machine Chryzmo Linux - Newbie 1 08-31-2003 02:54 AM
One Machine, Multiple NICs, and a single Newbie CozyMel Linux - Networking 2 10-09-2002 12:53 AM
What RADIUS servers supports EAP? bderry Linux - Networking 0 06-02-2002 04:46 PM
Opinions on RADIUS Servers qennster Linux - Networking 1 05-30-2002 02:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration