How to test FreeRADIUS on CentOS from a remote windows PC using NTRadPing

2012-02-13 Thread Chezangla
Hi,
I have successfully installed and tested freeRADIUS on centOS with MySQL
database. But I wanted to test if the freeRADIUS is accessible from
remote machines as well so I tried to test it using NTRadPing on my
windows PC, but it always say no response from the server. I have added
my PC IP to clients.conf.


I even tried to telnet 1812 on localhost but it says connection refused.


Please can someone help me in this regard.


chezang

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


Re: How to test FreeRADIUS on CentOS from a remote windows PC using NTRadPing

2012-02-13 Thread Alan Buxey
Hi,

 I have successfully installed and tested freeRADIUS on centOS with MySQL
 database. But I wanted to test if the freeRADIUS is accessible from
 remote machines as well so I tried to test it using NTRadPing on my
 windows PC, but it always say no response from the server. I have added
 my PC IP to clients.conf.

first question would be why?  end clients never talk to the RADIUS server
directly - the NAS (wireless AP, switch, VPN, RAS etc) do.

however if this is for eg testing another server can talk to it, then simply
add the client to clients.conf, restart FR and ensure the client is allowed
to talk to the RADIUS server (firewall)

 I even tried to telnet 1812 on localhost but it says connection refused.

yep. firewall. adjust your CentOS default firewall settings - 
/etc/sysconfig/iptables
so that your client can talk to the server on UDP 1812

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


Re: How to test FreeRADIUS on CentOS from a remote windows PC using NTRadPing

2012-02-13 Thread Fajar A. Nugraha
On Mon, Feb 13, 2012 at 6:48 PM, Alan Buxey a.l.m.bu...@lboro.ac.uk wrote:
 I even tried to telnet 1812 on localhost but it says connection refused.

 yep. firewall. adjust your CentOS default firewall settings - 
 /etc/sysconfig/iptables
 so that your client can talk to the server on UDP 1812

While firewall is most likely the culprit, you can't use telnet to
test UDP connection.

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