0

I am new to the Freeradius

I am trying to connect to the Unifi AP through freeradius authentication. I can connect to it successfully and access local services. but I am not getting the correct IP address.

SSID is in VLAN 31 with IPs ranging in 172.31.x.x, AP is connected to the network of 192.168.1.x. The radius server is also connected to 192.168.1.x. with radius authentication, all devices connected to it are getting IPs in 172.31.x.x but after enabling radius all IPs are in 192.168.1.x

user config

testing  Cleartext-Password := "password"
        Tunnel-Type = VLAN,
        Tunnel-Private-Group-Id = 31,
        Reply-Message := "Hello, %{User-Name}"

client config

client unifiaps {
        ipaddr = 192.168.1.0/24
        secret = test123
        nas_type = other
}

Logs

(9) Sent Access-Accept Id 180 from 192.168.1.3:1812 to 192.168.1.68:58269 length 0
(9)   Tunnel-Type = VLAN
(9)   Tunnel-Private-Group-Id = "31"
(9)   User-Name = "testing"
(9)   MS-MPPE-Recv-Key = 0x720ca351776ebcd3569bacffaf5550b397aa7210f096116be73006c8838a94bb
(9)   MS-MPPE-Send-Key = 0x1ef55245e2649753103c727e520822d9ef8e9b2dd8f476404b90466106c0f1b2
(9)   EAP-Message = 0x03070004
(9)   Message-Authenticator = 0x00000000000000000000000000000000
(9) Finished request
(10) Received Accounting-Request Id 181 from 192.168.1.68:44985 to 192.168.1.3:1813 length 217
(10)   Acct-Status-Type = Start
(10)   Acct-Authentic = RADIUS
(10)   User-Name = "testing"
(10)   NAS-IP-Address = 192.168.1.68
(10)   Framed-IP-Address = 192.168.1.207

 

can someone tell me what I am doing wrong

0

You must log in to answer this question.

Browse other questions tagged .