<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi Kavya,</div><div><br></div><div>You can bind radius on specific ip to have response from particular ip.</div><div>If you check rad client from remote machine the case will be different.</div><div><br></div><div>Regards</div><div>Amit B.<br>HTH<br>Sent from my iPhone</div><div><br>On 22-Sep-2014, at 13:10, KAVYA PRABHAKAR <<a href="mailto:kavyamelinmaneprabhakar@gmail.com">kavyamelinmaneprabhakar@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra">Hi,</div><div class="gmail_extra"><br></div><div class="gmail_extra">I am beginner. I installed Freeradius in my windows PC.</div><div class="gmail_extra">With default configuration it works as expected.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Now I have a RADIUS client which will send request to server and I want server to authenticate the same.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I should be changing users.conf</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">raduser User-Password == "Password"<br></div><div class="gmail_extra"> where User-name = "raduser" and Password = "Password"</div><div class="gmail_extra"><br></div><div class="gmail_extra">I will have to change clients.conf as well.</div><div class="gmail_extra"><br></div><div class="gmail_extra">client <ipaddr/mask>{</div><div class="gmail_extra"> secret = secret</div><div class="gmail_extra"> shortname = client name # what is the significance of shortname</div><div class="gmail_extra">}</div><div class="gmail_extra"><br></div><div class="gmail_extra">In radiusd.conf, I have changed to which Ip and port RADIUS server has to listen to. (optional)</div><div class="gmail_extra"><br></div><div class="gmail_extra">After doing respective changes, I will execute following command:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">radtest raduser Password 10.253.6.11 1812 Password</div><div class="gmail_extra"><br></div><div class="gmail_extra">The result is as follows:</div><div class="gmail_extra"><br></div><div class="gmail_extra">C:\<a href="http://FreeRADIUS.net">FreeRADIUS.net</a>\bin>radclient.exe -d ..\etc\raddb -f radtest.txt -x -s 127.1 au</div><div class="gmail_extra">th testing123</div><div class="gmail_extra">Sending Access-Request of id 108 to 127.0.0.1 port 1812</div><div class="gmail_extra"> User-Name = "testuser"</div><div class="gmail_extra"> User-Password = "testpw"</div><div class="gmail_extra"> NAS-IP-Address = 127.0.0.1</div><div class="gmail_extra"> NAS-Port = 123</div><div class="gmail_extra">rad_recv: Access-Accept packet from host <a href="http://127.0.0.1:1812">127.0.0.1:1812</a>, id=108, length=20</div><div class="gmail_extra"><br></div><div class="gmail_extra"> Total approved auths: 1</div><div class="gmail_extra"> Total denied auths: 0</div><div class="gmail_extra"> Total lost auths: 0</div><div class="gmail_extra"><br></div><div class="gmail_extra">Here I would like to know why am I getting reply from 127.0.0.1 when I have explicitly asked to receive from 10.253.6.11</div><div class="gmail_extra"><br></div><div class="gmail_extra">PFA the debug log.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks in advance,</div><div class="gmail_extra">Kavya </div></div></div></div>
</div></blockquote><blockquote type="cite"><div><span>-</span><br><span>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a></span></div></blockquote></body></html>