this could be a dumb question, but most of the content I found in the internet about a captive portal, shows the pfsense physical server connected directly to the internet modem router and the server connects to the wireless router (often it's cisco) and then the router distributes the internet through all devices connected.
My question is:
Is there a way to create captive portal server from an AWS EC2 instance and this server routes the internet to the router with the captive portal. Or can you show me an alternative for doing this with the AWS ?
Thank you everyone