OPNsense Forum
English Forums => Tutorials and FAQs => Topic started by: ticker on August 10, 2022, 04:06:02 pm
-
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
-
any tutorial on how to do this?
-
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.