Radius Client in a Jail not working

Mischa Peters freebsd at high5.nl
Tue Nov 19 11:39:04 UTC 2013


Hi All,

Not sure if this is the right forum, if it's not please let me know.

I am in the process of setting up a website that requires Radius authentication.
The website is running in a Jail and for some reason the Radius authentication is failing all the time.

With radclient for example:
root at test:/root # echo "User-Name=user,User-Password=****" | /usr/local/bin/radclient radiusserver:1812 auth secret
radclient: received response to request we did not send. (id=25 socket 3)
radclient: received response to request we did not send. (id=25 socket 3)
radclient: received response to request we did not send. (id=25 socket 3)
radclient: no response from server for ID 25 socket 3

The Radius server is working properly, verified by radclient (as above) in a non-Jail and in use with multiple network devices.
The PHP code that I am using is also working properly, verified in a non-Jail. Attached.

On the network level I can see an Access-Requests being sent to the Radius server.
The Radius server is responding with Access-Accept.
On the host I can see the packets coming in but it looks like the Jail is never receiving them.
How can I trouble shoot this further as I am a little stuck.

Thanx!!

Mischa

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: radius.txt
URL: <http://lists.freebsd.org/pipermail/freebsd-jail/attachments/20131119/fe0be3fb/attachment.txt>
-------------- next part --------------






More information about the freebsd-jail mailing list