<div dir="ltr"><font face="verdana, sans-serif">Hi, note for ever. FR will simply ignore the request if NAS (client) in not configured. As Mohammed has explained by giving full example earlier. when your NAS will change in future and may need additional NAS support. You need to define second client entry in the same file or in MySQL DB, only if using</font>.<div>
<font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">Thanks </font></div><div><font face="verdana, sans-serif">RM -</font>-<br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 9, 2013 at 10:43 AM, Muhammad Nadeem <span dir="ltr"><<a href="mailto:mnadeem8327@gmail.com" target="_blank">mnadeem8327@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">For this you have to define the IP address and shared secret on the Radius server in client.config<div>
following is an entry that define that you can send request from an computer having 192.168.0.102 IP address.</div>
<div><div>client 192.168.0.102 {</div><div><span style="white-space:pre-wrap"> </span>ipaddr = 192.168.0.102</div><div><span style="white-space:pre-wrap"> </span>secret = testing123</div><div>}</div><div>
Please read client.config for further details</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Sat, Mar 9, 2013 at 3:35 PM, Iftakhul Anwar <span dir="ltr"><<a href="mailto:anwar@meruvian.org" target="_blank">anwar@meruvian.org</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div>Hi All,<div><br></div><div>
I just try connect radius server remotely.</div><div>i've try to radtest with command :</div>
<div><br></div><div><div>radtest user1 meruvian localhost 1812 testing123</div><div>Sending Access-Request of id 133 to 127.0.0.1 port 1812</div>
<div><span style="white-space:pre-wrap"> </span>User-Name = "user1"</div><div><span style="white-space:pre-wrap"> </span>User-Password = "meruvian"</div><div><span style="white-space:pre-wrap"> </span>NAS-IP-Address = 127.0.0.1</div>
<div><span style="white-space:pre-wrap"> </span>NAS-Port = 1812</div><div><span style="white-space:pre-wrap"> </span>Message-Authenticator = 0x00000000000000000000000000000000</div><div>
rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=133, length=20</div></div><div><br></div><div>## i get accept response from radius server. </div><div><br></div><div>But when i try with command bellow i got error message like a no respon from radius server:</div>
<div><br></div><div><div>radtest user1 meruvian 192.168.2.3 1812 testing123</div><div>Sending Access-Request of id 12 to 192.168.2.3 port 1812</div><div><span style="white-space:pre-wrap"> </span>User-Name = "user1"</div>
<div><span style="white-space:pre-wrap"> </span>User-Password = "meruvian"</div><div><span style="white-space:pre-wrap"> </span>NAS-IP-Address = 127.0.0.1</div><div><span style="white-space:pre-wrap"> </span>NAS-Port = 1812</div>
<div><span style="white-space:pre-wrap"> </span>Message-Authenticator = 0x00000000000000000000000000000000</div><div>Sending Access-Request of id 12 to 192.168.2.3 port 1812</div><div><span style="white-space:pre-wrap"> </span>User-Name = "user1"</div>
<div><span style="white-space:pre-wrap"> </span>User-Password = "meruvian"</div><div><span style="white-space:pre-wrap"> </span>NAS-IP-Address = 127.0.0.1</div><div><span style="white-space:pre-wrap"> </span>NAS-Port = 1812</div>
<div><span style="white-space:pre-wrap"> </span>Message-Authenticator = 0x00000000000000000000000000000000</div><div>Sending Access-Request of id 12 to 192.168.2.3 port 1812</div><div><span style="white-space:pre-wrap"> </span>User-Name = "user1"</div>
<div><span style="white-space:pre-wrap"> </span>User-Password = "meruvian"</div><div><span style="white-space:pre-wrap"> </span>NAS-IP-Address = 127.0.0.1</div><div><span style="white-space:pre-wrap"> </span>NAS-Port = 1812</div>
<div><span style="white-space:pre-wrap"> </span>Message-Authenticator = 0x00000000000000000000000000000000</div><div>radclient: no response from server for ID 12 socket 3</div></div><div><br></div><div><br>
</div><div><br></div><div>Note:192.168.2.3 is ip of radius server.</div><div><br></div><div>How i can try to connect radius server from another host ? i've try to disable my firewall. but still get no respon from server.</div>
<div><br></div><div>Help me to solve this.</div><div><br></div><div>Thanks</div><span><font color="#888888"><div><br clear="all"><div><br></div>-- <br><b>M.Iftakhul Anwar</b><br>Meruvian Integrator<div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">High Performance Computing / Cloud Computing (HPC/CC)</span><br>
<div><br><div style="text-align:left"><br></div></div></div><div style="text-align:left"><div>Office Phone : 021-93586577</div><div>Mobile Phone : 085215331477</div><div>Blog : <a href="http://blog.mervpolis.com/roller/anwar" target="_blank">http://blog.mervpolis.com/roller/anwar</a></div>
<div>FB : <a href="http://www.facebook.com/troya.adromeda" target="_blank">http://www.facebook.com/troya.adromeda</a></div><div>Website : <a href="http://www.meruvian.org" target="_blank">www.meruvian.org</a></div>
<div><br></div></div>
</div>
</font></span><br></div></div>-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><span><font color="#888888"><br></font></span></blockquote></div>
<span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Best Regards<br>
Muhammad Nadeem<br>Muhammad Ali Jinnah University
</font></span></div>
<br>-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br></blockquote></div><br></div></div></div>