Author Topic: Help with Zentyal RADIUS configuration. Need more detailed guide.  (Read 12684 times)

mamen0330

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Help with Zentyal RADIUS configuration. Need more detailed guide.
« on: September 11, 2010, 11:58:18 am »
I have setup Zentyal 2.0 RADIUS and add user in users and groups for testing. I have also configured my AP(Linksys WRT54GS, routing capability off, dedicated as an AP) as a NAS and I know that it's talking correctly with the RADIUS server. But I can't authenticate using the username and password at users and groups. It keeps asking and asking the UN/PWD. Tested both in fedora-linux and windows-7.

RADIUS server setting:
(WRT54GS with dd-wrt installed)
Client IP = 192.168.0.2/32
Shared secret: test

RADIUS client setting:
Security Mode: WPA Enterprise
WPA Algorithms: TKIP+AES
Radius Auth Server = 192.168.0.1
Port: 1812
Shared secret: test

Can anyone help me with this to make it work? A step by step guide clearer than the documentation will do. Thanks.

jsalamero

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1419
  • Karma: +45/-1
    • View Profile
Re: Help with Zentyal RADIUS configuration. Need more detailed guide.
« Reply #1 on: September 11, 2010, 12:28:06 pm »
Did you try with radtest first ?

Are you using EAP TTLS PAP on the clients ?

mamen0330

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Help with Zentyal RADIUS configuration. Need more detailed guide.
« Reply #2 on: September 13, 2010, 04:56:06 pm »
root@zentyal:/home/mamen# radtest test test 192.168.0.1:1812 1812 secret test-secret 192.168.0.2
Sending Access-Request of id 217 to 192.168.0.1 port 1812
   User-Name = "test"
   User-Password = "test"
   NAS-IP-Address = 192.168.0.2
   NAS-Port = 1812
   Framed-Protocol = PPP
Sending Access-Request of id 217 to 192.168.0.1 port 1812
   User-Name = "test"
   User-Password = "test"
   NAS-IP-Address = 192.168.0.2
   NAS-Port = 1812
   Framed-Protocol = PPP
Sending Access-Request of id 217 to 192.168.0.1 port 1812
   User-Name = "test"
   User-Password = "test"
   NAS-IP-Address = 192.168.0.2
   NAS-Port = 1812
   Framed-Protocol = PPP
radclient: no response from server for ID 217 socket 3

*that's the output of radtest. I'm new at RADIUS. can you please provide me with a detailed configuration guide? my hardwares are:

1 Zentyal Server with 2 NICs (192.168.0.1)
1 Linksys WRT54GS router with dd-wr(configured as AP, this will be the NAS) wireless security set @ WPA Enterprise (192.168.0.2)

Help please.. :(

jsalamero

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1419
  • Karma: +45/-1
    • View Profile
Re: Help with Zentyal RADIUS configuration. Need more detailed guide.
« Reply #3 on: September 13, 2010, 06:26:03 pm »
Is 192.168.0.2 added on RADIUS clients ? Is 192.168.0.1 Zentyal IP address ? Can you login on user corner with test user ? Have a look at /var/log/freeradius/* to see what's going on...

mamen0330

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Help with Zentyal RADIUS configuration. Need more detailed guide.
« Reply #4 on: September 17, 2010, 04:44:56 pm »
Yes, i can login @ usercorner with the said username and password. here's my setup and pictures.
Radius Server (Zentyal) IP: 192.168.0.1, Radius Client (WRT54GS) IP: 192.168.0.2


By mamen0330 at 2010-09-17


By mamen0330 at 2010-09-17

jsalamero

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1419
  • Karma: +45/-1
    • View Profile
Re: Help with Zentyal RADIUS configuration. Need more detailed guide.
« Reply #5 on: September 19, 2010, 11:18:57 pm »
Then probably is a client configuration issue ? Did you check freeradius logs ? What's you client configuration ? You should be using EAP TTLS PAP.

mamen0330

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Help with Zentyal RADIUS configuration. Need more detailed guide.
« Reply #6 on: September 20, 2010, 07:26:46 am »
should the NAS (access point) should have EAP TTLS PAP or the connecting machine? because on my access point, the options available on me are only RADIUS auth server IP, shared secret and port. encryption is AES+TKIP.

jsalamero

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1419
  • Karma: +45/-1
    • View Profile
Re: Help with Zentyal RADIUS configuration. Need more detailed guide.
« Reply #7 on: September 20, 2010, 09:23:04 am »
Connecting machine.

verdura

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Help with Zentyal RADIUS configuration. Need more detailed guide.
« Reply #8 on: October 11, 2010, 12:28:29 pm »
mamen,

Do you managed to get it? I'm having the same problem...
« Last Edit: October 11, 2010, 12:31:17 pm by verdura »

FutureTechSys

  • Zen Warrior
  • ***
  • Posts: 163
  • Karma: +0/-0
    • View Profile
    • Future Tech Systems, LLC
Re: Help with Zentyal RADIUS configuration. Need more detailed guide.
« Reply #9 on: October 11, 2010, 04:19:06 pm »
Check to make sure you have that port 1812 opened in the correct section of the firewall piece on Zentyal, and also check the firewall logs to see if its being blocked.
Future Tech Systems, LLC
http://www.FutureTechSys.com

See our Zazen servers running Zentyal!
http://www.futuretechsys.com/small-biz/

SpiderOak online backup - 2GB Free!
https://spideroak.com/download/promo/fts

verdura

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Help with Zentyal RADIUS configuration. Need more detailed guide.
« Reply #10 on: October 11, 2010, 04:35:11 pm »
Zentyal already opens the right port in the firewall. I think that's not the problem...

I think I have everything configured right but still no go. I was reading the forum and found out that I need a 802.1x supplicant. But the I read that in June it was part of the plans to incorporate MS-CHAPv2 support. Is this true? Can someone please make some print-screen of some windows XP or 7 with the Radius functioning? Or some description?

Thanks a lot for your help!

verdura

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Help with Zentyal RADIUS configuration. Need more detailed guide.
« Reply #11 on: October 14, 2010, 05:33:05 pm »
Anyone?

jsalamero

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1419
  • Karma: +45/-1
    • View Profile
Re: Help with Zentyal RADIUS configuration. Need more detailed guide.
« Reply #12 on: October 17, 2010, 12:21:57 pm »
In Windows you need a supplicant like Open1X or SecureW2.

Josep

  • Zen Samurai
  • ****
  • Posts: 255
  • Karma: +6/-0
    • View Profile
Re: Help with Zentyal RADIUS configuration. Need more detailed guide.
« Reply #13 on: October 18, 2010, 01:47:11 pm »
I couldn't help but notice that in your tests you use "test" as the shared secret, but your dd-wrt screenshot has "test-secret" in it.
Has it anything to do with anything?

dansanti

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Help with Zentyal RADIUS configuration. Need more detailed guide.
« Reply #14 on: October 18, 2010, 05:51:28 pm »
is necessarily required EAP?, becouse i have same problem with my accesPoint AWN 54-HP-ort http://advanteknetworks.com/products/wireless/awn54hport.html, i can't find EAP there, and i think that its the problem.