Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a problem setting up FreeRadius server to allow connections from all external IP addresses. My hotspot system is based on CoovaAP and custom made captive portal which communicates with CoovaChilli (deployed on router, not on server). Router is connected to modem via ethernet. Captive portal communicates with radius mysql database to verify the hotspot authorization. Everything works until the modem IP address is changed.

Here is a sample from /etc/raddb/clients.conf:

client x.x.x.x {
  secret = 12345
  shortname = name
}

So, the x.x.x.x ip address somehow needs to be dynamic. And i dont know how to sync modem`s external ip address to radius database to make it work.

The question is: how to make freeradius accept connections from all ip addresses or sync modem`s external ip address into radius database.

Thanks

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Sure, you can do a :

client 0.0.0.0/0 {
  secret = 12345
  shortname = name
}
share|improve this answer
    
Thank you man. It solved my problem. –  Dan Sosedoff Feb 19 '10 at 22:06
    
This is what I was looking for... thanks. –  PachinSV Apr 9 '12 at 19:10
    
thank you.it works for me. I will try the dynamic clients too. –  user185816 Aug 16 '13 at 3:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.