@solidus:
Yes of course, I understand that this is a very serious issue
So, if someone has an https home page set and is not sufficiently smart to change the https into an http at the beginning of the URL, what could be a simple solution/workaround?
Well ….
A visitor that want to have the page https://www.google.com instructs his browser that he want to see https://www.google.com - and nothing else - no matter what.
That's what https (ssl) is known about. It guarantees this need.
It doesn't need much thinking that other destinations or ruled out. If the connections gets incercepted (redirected), the returned certificate will NOT say its "google.com" but "myportal.net" => the browser will jell.
So, the visitor will start to understand that something is up ...
He should know that he is behind a "captive portal" (more and more people are using this kind of Internet access more and more.
The captive portal login page isn't, of course "https://www.google.com" so ....
Basic rule : a connection should be build before secure connections are possible.
With others words : use http://..... first and if ok, use https://.....
@solidus:
How much is feasible to put in the DNS resolver configuration, maybe using the "domain override" option, a domain like "log.me" that triggers the captive page?
DOMAIN : log.me –-- IP Address : pfsense LAN IP
It would be easy to say to someone that is blaming browsing issues to digit "log.me" in the browser address bar
;D
This has been done already. Search the forum (nad pfSEnse doc) for the examples.
Instruct the local DNS that log.me == the IP of the Captive portal and your close.