Captive portal with Fortigate
01-14-2018 07:03 AM
I am trying to create a captive portal page where the users should accept the terms.
At the website of Fortigate I have found the following:
The web portal page is a script that gathers the user’s logon credentials and sends back to the FortiGate a POST message of the format https://<FGT_IP>:1000/fgtauth with data magic=session_id&username=<username>&password=<password>. (The magic value was provided in the initial FortiGate request to the web server.) The script used for this example is here.
I have seen that the initial redirect looks something like:
So the "magic" id is provided by the initial redirect from the fortigate.
I edited the footer HTML of the captive portal, there you can see that the values are provided as well
I trying to find a way to send the POST message after the acceptence of the terms.
So far, I have tried to following:
With no succes.
Does anybody have any iedeas how to populate the POST URL with the right attributes?
Re: Captive portal with Fortigate
01-14-2018 07:05 PM
have you taken a look at the following document?
Integration with 3rd Party Enforcement Points ClearPass & Fortinet utilizing RESTful API and RADIUS Accounting