OPNsense Forum

English Forums => Tutorials and FAQs => Topic started by: ticker on August 10, 2022, 04:06:02 PM

Title: Redirection Page For Unbound Blocklist?
Post 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.
Title: Re: Redirection Page For Unbound Blocklist?
Post by: 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
Title: Re: Redirection Page For Unbound Blocklist?
Post by: cynicalApples7 on September 02, 2022, 08:18:58 PM
any tutorial on how to do this?
Title: Re: Redirection Page For Unbound Blocklist?
Post by: DeBaschdi on June 03, 2024, 04:47:51 AM
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.
Title: Re: Redirection Page For Unbound Blocklist?
Post by: tuto2 on June 12, 2024, 04:45:03 PM
Probably best to inspect the certificate chain in your browser to see what's being returned.