Proxy server rejects/failed auth request

srithar jeevadurai srijeevadurai1 at gmail.com
Tue Dec 22 17:52:28 CET 2015


Dear Friends,

I have attached the freeradius configuration in the email. I kindly request
you to help to fulfill our requirement please.


On 90 (222.222.222.90) server proxy server suppose to run and radius NAS
simulator has to send auth+acct to proxy server.

Proxy radius server has to route each (auth+acct) to 80 server.

On 80 (222.222.222.80), auth port is 1822 and acct port is 1823.


Once I succeed with one home server then I will add more home server for
the proxy server (on 90 server).

I kindly request you to help on this please. I am new to proxy setup of
freeradius.




On Tue, Dec 22, 2015 at 9:50 PM, srithar jeevadurai <
srijeevadurai1 at gmail.com> wrote:

> Hi Team,
>
>
> After doing below change to the proxy server.
>
>
> File: radiusd.conf
>
> -- auth proxy
> listen {
>         ipaddr = 234.223.454.556
>         port = 1812
>         type = proxy
> }
>
> --account proxy
> listen {
>         ipaddr = 234.223.454.556
>         port = 1813
>         type = proxy
> }
>
> I am getting below error message in the radius.log file
>
> * Error: Invalid packet code 4 sent to a proxy port from home server*
>
> I have checked the radius code, it seems to be that it is expecting
> response instead of radius request.
> I believe that the configuration may be wrong. Can you please guide me on
> the same?
>
>
> On Tue, Dec 22, 2015 at 9:43 PM, srithar jeevadurai <
> srijeevadurai1 at gmail.com> wrote:
>
>> Hi Team,
>>
>> Do we need to keep listen config as below for proxy server?
>>
>> File: radiusd.conf
>>
>> -- auth proxy
>> listen {
>>         ipaddr = 234.223.454.556
>>         port = 1812
>>         type = proxy
>> }
>>
>> --account proxy
>> listen {
>>         ipaddr = 234.223.454.556
>>         port = 1813
>>         type = proxy
>> }
>>
>>
>>
>>
>> On Tue, Dec 22, 2015 at 7:53 PM, srithar jeevadurai <
>> srijeevadurai1 at gmail.com> wrote:
>>
>>> Hi Friends,
>>>
>>> I have created the proxy setup ready and made configuration changes as
>>> per my knowledge.
>>>
>>> While trying to send request from NAS simulator, it is giving below
>>> error message in radius.log
>>>
>>> *Tue Dec 22 19:36:46 2015 : Auth: Login incorrect: [asdf at company.com
>>> <asdf at company.com>] (from client 234.224.654.123 port 16679 cli 355545455)*
>>>
>>>
>>> config file Users has below difference compare to installation file
>>> users. Can you please help me to fix the same?
>>>
>>>
>>>
>>> < DEFAULT Service-Type == Framed-User, Framed-Protocol == 7
>>> <         Framed-IP-Netmask = 255.255.255.255,
>>> <         MS-Primary-DNS-Server == 195.68.0.1,
>>> <         MS-Secondary-DNS-Server == 195.68.0.2,
>>> <         Service-Type == Framed-User,
>>> <         Framed-Protocol == 7,
>>> <         Fall-Through == no
>>>
>>> One more request, I could not find any connection between proxy radius
>>> and home server radius, Is the connection only happen when it is required?
>>> i.e. while sending request from proxy to home server.
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Srithar Durairaj
>>> Alternate Mail I.D: srijeevadurai1 at yahoo.co.in
>>> Mobile: +919886251852
>>>
>>>
>>>
>>
>>
>> --
>> Regards,
>> Srithar Durairaj
>> Alternate Mail I.D: srijeevadurai1 at yahoo.co.in
>> Mobile: +919886251852
>>
>>
>>
>
>
> --
> Regards,
> Srithar Durairaj
> Alternate Mail I.D: srijeevadurai1 at yahoo.co.in
> Mobile: +919886251852
>
>
>


-- 
Regards,
Srithar Durairaj
Alternate Mail I.D: srijeevadurai1 at yahoo.co.in
Mobile: +919886251852


More information about the Freeradius-Users mailing list