I'm trying to configure a captive portal. At the moment, DHCP isn't working at all though. If a user connects their device to the open SSID, they don't get any IP address assigned. It's not even making it to the captive portal page. I'm trying to assign the IPs via the internal DHCP server. Here is my configuration:
aaa authentication captive-portal Example-cp
default-role Example-user
user-logon
no guest-logon
server-group CP-Test
user-role Example-user
vlan 25
captive-portal "Example-cp"
access-list session global-sacl
access-list session apprf-Example-user-sacl
access-list session allowall
aaa profile Example-aaa
initial-role authenticated
wlan ssid-profile Example-ssid
essid "Example-CP"
opmode opensystem
wlan virtual-ap Example-vap
vlan 25
aaa-profile Example-aaa
ssid-profile Example-ssid
vlan 25
interface vlan 25
ip address 192.168.75.1 255.255.255.0
no ip routing
ip nat inside
ip dhcp pool vlan25
network 192.168.75.0 255.255.255.0
default-router 192.168.75.1
dns-server 8.8.8.8 8.8.8.9
domain-name example.com
authoritative
ip access-list session allowall
any any any permit