From 94b9688c0da9f755f7874fc2ffcf3432523a1fbe Mon Sep 17 00:00:00 2001 From: Nasir Hafeez <38311694+nasirhafeez@users.noreply.github.com> Date: Tue, 13 Aug 2024 12:52:26 +0500 Subject: [PATCH] Create README.md --- Fortigate/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Fortigate/README.md diff --git a/Fortigate/README.md b/Fortigate/README.md new file mode 100644 index 0000000..c0db8fc --- /dev/null +++ b/Fortigate/README.md @@ -0,0 +1,13 @@ +# Aerohive External Captive Portal + +This is an example of a PHP based external captive portal for Fortigate. The code given here can be used to setup a basic captive portal featuring an HTML login form. + +The username and password has to be posted to the Fortigate firewall. + +HTTP Request Type: `GET` + +Apache access log example: + +``` +login&post=http://172.172.172.1:1000/fgtauth&magic=050e078a95ae1754&usermac=fc:3f:db:a6:4a:ff&apmac=70:4c:a5:ab:85:95&apip=172.172.172.1&userip=172.172.172.2&ssid=Test&apname=FG800D5818800451&bssid=00:00:00:00:00:00 +```