I am interested why clear username upon visiting Captive portal, and not wait until user enters credentials... Anyway, this won't matter if I fix first problem.
curl http://bbc.com -v
* Rebuilt URL to: http://bbc.com/
* Trying 151.101.192.81...
* TCP_NODELAY set
* Connected to bbc.com (151.101.192.81) port 80 (#0)
> GET / HTTP/1.1
> Host: bbc.com
> User-Agent: curl/7.53.1
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 307 Temporary Redirect
< Date: Thu, 08 Aug 2019 10:30:35 GMT
< Server: Check Point SVN foundation
< Content-Type: text/html
< X-UA-Compatible: IE=EmulateIE7
< Connection: close
< X-Frame-Options: SAMEORIGIN1
< Strict-Transport-Security: max-age=31536000; includeSubDomains
< Location: https://captiveportal
< Content-Length: 2340
However when I try with https:
curl https://bbc.com -v
* Rebuilt URL to: https://bbc.com/
* Trying 151.101.128.81...
* TCP_NODELAY set
* Trying 2a04:4e42::81...
* TCP_NODELAY set
* Immediate connect fail for 2a04:4e42::81: Network is unreachable
* Trying 2a04:4e42:400::81...
Indeed it seems the problem is that https inspection is not kicking in. Is there something wrong with my configuration? https traffic is dropped by the cleanup rule which is bellow 1077.