Freeradiusd 3 and Realm help
Olivier CALVANO
o.calvano at gmail.com
Fri Sep 30 09:04:25 UTC 2022
Hello,
I have to set up a radius server which must make a specific response to a
realm and I can't find how to do it.
So I configured a realm in proxy.conf:
realm "~(my.realm)" {
nostrip
}
Then I tried in the users file (./mods-config/files/authorize) to put:
bob at my.realm Cleartext-Password := "hello"
Tunnel-Type:1 = L2TP,
Tunnel-Medium-Type:1 = IPv4,
Tunnel-Server-Endpoint:1="192.168.1.100",
Tunnel-Preference:1=1,
Tunnel-Assignment-Id:1 = "\"Rt1\"",
Tunnel-Type:2 = L2TP,
Tunnel-Medium-Type:2 = IPv4,
Tunnel-Server-Endpoint:2="192.168.2.100",
Tunnel-Preference:2=1,
Tunnel-Assignment-Id:2 = "\"Rt2\"",
Service-Type = Framed-User,
Framed-Protocol = PPP
in radtest, it's good.
but now i want same with all username and without check password
sample:
*@my.realm Cleartext-Password := "*"
Tunnel-Type:1 = L2TP,
Tunnel-Medium-Type:1 = IPv4,
Tunnel-Server-Endpoint:1="192.168.1.100",
Tunnel-Preference:1=1,
Tunnel-Assignment-Id:1 = "\"Rt1\"",
Tunnel-Type:2 = L2TP,
Tunnel-Medium-Type:2 = IPv4,
Tunnel-Server-Endpoint:2="192.168.2.100",
Tunnel-Preference:2=1,
Tunnel-Assignment-Id:2 = "\"Rt2\"",
Service-Type = Framed-User,
Framed-Protocol = PPP
I don't know how to do this, does anyone have a tip?
thank you in advance for your help
More information about the Freeradius-Users
mailing list