Beginner need help (Himanshu Pandey)

Amit Linux amitbutere64 at gmail.com
Mon Sep 22 10:10:23 CEST 2014


Hi Kavya,

You can bind radius on specific ip to have response from particular ip.
If you check rad client from remote machine the case will be different.

Regards
Amit B.
HTH
Sent from my iPhone

> On 22-Sep-2014, at 13:10, KAVYA PRABHAKAR <kavyamelinmaneprabhakar at gmail.com> wrote:
> 
> Hi,
> 
> I am beginner. I installed Freeradius in my windows PC.
> With default configuration it works as expected.
> 
> Now I have a RADIUS client which will send request to server and I want server to authenticate the same.
> 
> I should be changing users.conf
> 
> raduser User-Password == "Password"
>  where User-name = "raduser" and Password = "Password"
> 
> I will have to change clients.conf as well.
> 
> client <ipaddr/mask>{
>   secret = secret
>   shortname = client name  # what is the significance of shortname
> }
> 
> In radiusd.conf, I have changed to which Ip and port RADIUS server has to listen to. (optional)
> 
> After doing respective changes, I will execute following command:
> 
> radtest raduser Password 10.253.6.11 1812 Password
> 
> The result is as follows:
> 
> C:\FreeRADIUS.net\bin>radclient.exe -d ..\etc\raddb -f radtest.txt -x -s 127.1 au
> th testing123
> Sending Access-Request of id 108 to 127.0.0.1 port 1812
>         User-Name = "testuser"
>         User-Password = "testpw"
>         NAS-IP-Address = 127.0.0.1
>         NAS-Port = 123
> rad_recv: Access-Accept packet from host 127.0.0.1:1812, id=108, length=20
> 
>            Total approved auths:  1
>              Total denied auths:  0
>                Total lost auths:  0
> 
> 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
> 
> PFA the debug log.
> 
> Thanks in advance,
> Kavya 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140922/ceed896b/attachment.html>


More information about the Freeradius-Users mailing list