Redirection Page For Unbound Blocklist?

Started by ticker, August 10, 2022, 04:06:02 PM

Previous topic - Next topic
Is there a way to setup a simple custom HTML+CSS page to display, when clients visit a website that is blocked by Unbound's Blocklist? And ideally have it display which blocklist it is blocked from.

There is, simply host something locally or remote and set the relevant IP address in Unbound -> Blocklist -> advanced mode -> Destination address.

Cheers,
Stephan


Quote from: tuto2 on August 17, 2022, 01:11:28 PM
There is, simply host something locally or remote and set the relevant IP address in Unbound -> Blocklist -> advanced mode -> Destination address.

Cheers,
Stephan

Hi i try to do this too, i create a simpel html page where my nginx reverse proxy point to as default page for internal acces only.
in unbound i set up my public destination ip address, now all blocked pages lands on my friendly landing page.
This currently works only with http, trying to open a blocked page with https is not working for me ERR_SSL_UNRECOGNIZED_NAME_ALERT
any idea how to fix this ?

my reverse proxy redirect the default page to an https letsencrypt domain name.

Probably best to inspect the certificate chain in your browser to see what's being returned.