Cannot access radius server from remote host

Muhammad Nadeem mnadeem8327 at gmail.com
Sat Mar 9 11:43:09 CET 2013


For this you have to define the IP address and shared secret on the Radius
server in client.config
following is an entry that define that  you can send request from an
computer having 192.168.0.102 IP address.
client 192.168.0.102 {
ipaddr = 192.168.0.102
secret = testing123
}
Please read client.config for further details


On Sat, Mar 9, 2013 at 3:35 PM, Iftakhul Anwar <anwar at meruvian.org> wrote:

> Hi All,
>
> I just try connect radius server remotely.
> i've try to radtest with command :
>
> radtest user1 meruvian localhost 1812 testing123
> Sending Access-Request of id 133 to 127.0.0.1 port 1812
>  User-Name = "user1"
> User-Password = "meruvian"
> NAS-IP-Address = 127.0.0.1
>  NAS-Port = 1812
> Message-Authenticator = 0x00000000000000000000000000000000
> rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=133,
> length=20
>
> ## i get accept response from radius server.
>
> But when i try with command bellow i got error message like a no respon
> from radius server:
>
> radtest user1 meruvian 192.168.2.3 1812 testing123
> Sending Access-Request of id 12 to 192.168.2.3 port 1812
> User-Name = "user1"
>  User-Password = "meruvian"
> NAS-IP-Address = 127.0.0.1
> NAS-Port = 1812
>  Message-Authenticator = 0x00000000000000000000000000000000
> Sending Access-Request of id 12 to 192.168.2.3 port 1812
> User-Name = "user1"
>  User-Password = "meruvian"
> NAS-IP-Address = 127.0.0.1
> NAS-Port = 1812
>  Message-Authenticator = 0x00000000000000000000000000000000
> Sending Access-Request of id 12 to 192.168.2.3 port 1812
> User-Name = "user1"
>  User-Password = "meruvian"
> NAS-IP-Address = 127.0.0.1
> NAS-Port = 1812
>  Message-Authenticator = 0x00000000000000000000000000000000
> radclient: no response from server for ID 12 socket 3
>
>
>
> Note:192.168.2.3 is ip of radius server.
>
> 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.
>
> Help me to solve this.
>
> Thanks
>
>
> --
> *M.Iftakhul Anwar*
> Meruvian Integrator
> High Performance Computing / Cloud Computing (HPC/CC)
>
>
> Office Phone  : 021-93586577
> Mobile Phone : 085215331477
> Blog               :  http://blog.mervpolis.com/roller/anwar
> FB                 :  http://www.facebook.com/troya.adromeda
> Website         : www.meruvian.org
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>



-- 
Best Regards
Muhammad Nadeem
Muhammad Ali Jinnah University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20130309/9a14455d/attachment.html>


More information about the Freeradius-Users mailing list