WiFi and L2TP authorization via freeradius
Posted: Thu Nov 08, 2018 3:33 pm
Hello everyone. I need some help with configuration of VPN(l2tp) and WiFi authorization via freeradius.
My goal is to configure one point for authorizing all connections. There is no Windows server in my company, so I have to use Linux.
Additional information:\
ROS version is 6.42.7
Freeradius 3.0 is running on Ubuntu 18 server, all updates are installed. IP 10.10.0.134
Configuration of freeradius:
I added to file /etc/freeradius/3.0/clients.conf
client 10.10.2.1{
ipaddr = 10.10.2.1
secret = mysupersecret
shortname = msk1
proto = *
}
Also we have a l2tp tunnel between router 10.10.2.1 and remote server 10.10.0.134.
There are screenshots from Mikrotik log, created during I was trying to connect
I used this instruction while freeradius configuration https://computingforgeeks.com/how-to-in ... ntu-16-04/
My goal is to configure one point for authorizing all connections. There is no Windows server in my company, so I have to use Linux.
Additional information:\
ROS version is 6.42.7
Code: Select all
/radius
add address=10.10.0.134 secret=mysupersecret service=ppp,wireless timeout=1s
/interface wireless
add disabled=no keepalive-frames=disabled mac-address=BA:69:F4:XX:XX:XX \
master-interface=wlan1 multicast-buffering=disabled name=wlan3-radius \
security-profile=radius ssid=test-radius wds-cost-range=0 \
wds-default-cost=0 wps-mode=disabled
/interface wireless security-profiles
add authentication-types=wpa2-eap management-protection=allowed mode=\
dynamic-keys name=radius radius-eap-accounting=yes supplicant-identity=""
Configuration of freeradius:
I added to file /etc/freeradius/3.0/clients.conf
client 10.10.2.1{
ipaddr = 10.10.2.1
secret = mysupersecret
shortname = msk1
proto = *
}
Also we have a l2tp tunnel between router 10.10.2.1 and remote server 10.10.0.134.
There are screenshots from Mikrotik log, created during I was trying to connect
I used this instruction while freeradius configuration https://computingforgeeks.com/how-to-in ... ntu-16-04/