Setup Captive Portal With SafeSquid

From Secure Web Gateway

Overview

Captive portal based authentication is different from proxy authentication.
In captive portal based authentication, the entire authentication process is done using landing page and IP locking against username.
So you should not enable any kind of proxy authentication further using access restrictions.

Setup

If you did not deploy the SafeSquid go through this page - Getting Started

If you already deployed the SafeSquid then follow the below steps

 

Enable wifi on mobile.png
  • Configuration on mobile with transparent mode
  1. Select Proxy as None among None, Manual, Proxy Auto-config. (Options may differ on various mobile)
  2. You have to select static IP under IP settings.
  3. Configure mobile IP address.(You can use default mobile IP address)
  4. Configure gateway as proxy IP.
  5. Configure network prefix length and DNS.
  6. Click on modify network button and enter your WIFI password.
  7. Save password and Click on OK button.
  8. Reset your Wi-Fi OFF and ON.
  9. As soon as you turn your Wi-Fi ON you will get SafeSquid Captive portal LOGIN button.

 

  • Configuration on mobile without transparent mode
  1. Select manual proxy and set proxy IP and Port (8081)
  2. You have to select static IP under IP settings.
  3. Configure mobile IP address.(You can use default mobile IP address)
  4. Set your default gateway.
  5. Configure network prefix length and DNS.
  6. Click on modify network button and enter your WIFI password.
  7. Save password and Click on OK button.
  8. Reset your Wi-Fi OFF and ON.
  9. As soon as you turn your Wi-Fi ON you will get SafeSquid Captive portal LOGIN button.

 

  • Click on Login button

 

Login to captive portal.png

 

 

Enter credentials.png

 

  • Enter valid credentials and click on Login button.
Loginpage.png
  • Access any website on your mobile browser.

          Note : You must import SafeSquid Root CA  certificate into the mobile setting.

 

Accessing website from browser.png

 

  • You might get block template for any website on your browser as per your policy configuration.(Verify your profile and filter reason)
Block template.png

 

  • To test captive portal on LAN network with transparent mode
  1. Remove Proxy Settings from Browser
  2. Configure Network
  3. When you browse any website you will get SafeSquid Captive portal LOGIN button.
     
  • To test captive portal on LAN network without transparent mode
  1. Preserve default proxy IP and set Port as 8081.
  2. When you browse any website you will get SafeSquid Captive portal LOGIN button.