SonicWALL – Redirect to Login Page on SonicWALL

authenticationsonicwall

I have the firewall LAN > WAN rule in place to require trusted users before allowing http, https, and dns. This allows redirecting to the login page for user authentication when the user visits http://example.com.

My issue is when a user visits https://example.com, they are not redirected to the login page but are given a network reset error. This is causing our users to think the internet is down rather than they need to login.

How can I set up a rule to redirect all unauthenticated users to https://login.mysonicwall when they visit an https website before http?

I thought this article would work for https, but it did not. I do have DPI-SSL license for this Sonicwall.

Best Answer

You have to allow DNS through. Without DNS resolution, the http(s) requests will not finish and trigger the redirect to the login page. What I did was add a rule that permitted DNS for All as the first rule, then everything else permitted for Trusted Users.