Im sorry Alan, im learning how to use this forum.
So, i read everything there, BUT there is one thing you dont know, my native language isnt english, so its not that easy to understand everything there.
On the Inner-tunnel i already put the SQL.
So, here is another question, how can i create an user on freeradius database and do a radtest with mschap ?
Is that possible ?
Below is the part of inner-tunnel saying about SQL as i said i took off comment.
# This module takes care of EAP-MSCHAPv2 authentication.
#
# It also sets the EAP-Type attribute in the request
# attribute list to the EAP type from the packet.
#
# The example below uses module failover to avoid querying all
# of the following modules if the EAP module returns "ok".
# Therefore, your LDAP and/or SQL servers will not be queried
# for the many packets that go back and forth to set up TTLS
# or PEAP. The load on those servers will therefore be reduced.
#
eap {
ok = return
}
#
# Read the 'users' file
files
#
# Look in an SQL database. The schema of the database
# is meant to mirror the "users" file.
#
# See "Authorization Queries" in sql.conf
sql