I have this scenario:
I want to create a WiFi network for a hotel that the customers should pay to gain access to the internet.
I tried Captive portal, but captive portal is very vulnerable against MAC spoofing.
So I tried wpa2-enterprise without Captive Portal. But NAS(Access Point) in wpa2-enterprise doesn't enforce any rule and each user had unlimited access.
Then finally I tried both together but after first authentication in wpa2-enterprise each user was able to change his/her MAC address to a any other user.
I'm using PFsense as RADIUS server and Mikrotik RB433 for Hotspot(Captive Portal) and wireless AP.
Is there any way to prevent users from impersonating to an authenticated user in WiFi network with Captive Portal?
Is there a reason that NAS in wpa2-enterprise doesn't enforce any policy or something is wrong in my configuration?
These are the policies that PFsense generated inusers
file:
"amir" Cleartext-Password := "amir", Simultaneous-Use := "1"
Framed-IP-Address = 10.1.3.85,
Framed-IP-Netmask = 255.255.255.0,
WISPr-Bandwidth-Max-Up := 50000,
WISPr-Bandwidth-Max-Down := 50000,
WISPr-Redirection-URL := http://www.google.com,
pfSense-Max-Total-Octets := 10485760,
Exec-Program-Wait = "/bin/sh /usr/local/etc/raddb/scripts/datacounter_auth.sh amir daily"
And this is clients.conf
file:
client "mik" {
ipaddr = 10.1.2.2
proto = udp
secret = 'admin123'
require_message_authenticator = no
nas_type = other
### login = !root ###
### password = someadminpass ###
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}