Testing Radiator Radius via PHP Client
1. Install Apache and PHP with radius module. reference : http://freeradius.org/mod_auth_radius/ (XAMPP Package has pre-installed radius module, you can use this for alternative installation) 2. Create a PHP script for the authentication test, use the content below. <html> <head><title>RSA Test</title></head> <body bgcolor=#ffc7 text=#000000> <?php $challenge = false; $loginAccepted = false; $error = false; if (isset($_POST['uname'])) { $radius = radius_auth_open(); if (!radius_add_server($radius,'[IP ADDRESS]',[PORT],'[secret]',60,1)) { $error = radius_strerror($radius); } else if (!radius_create_request($radius,RADIUS_ACCESS_REQUEST)) { $error = radius_strerror($radius); } else { radius_put_attr($radius,RADIUS_USER_NAME,$_POST['uname']); if (isset($_POST['challenge'])) { radius_put_attr($radius,RADIUS_USER_PASSWORD,$_POST['challenge...