OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Tutorials and FAQs »
  • Redirection Page For Unbound Blocklist?
« previous next »
  • Print
Pages: [1]

Author Topic: Redirection Page For Unbound Blocklist?  (Read 3631 times)

ticker

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
    • View Profile
Redirection Page For Unbound Blocklist?
« 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.
Logged

tuto2

  • Administrator
  • Jr. Member
  • *****
  • Posts: 81
  • Karma: 19
    • View Profile
Re: Redirection Page For Unbound Blocklist?
« Reply #1 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
Logged

cynicalApples7

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
    • View Profile
Re: Redirection Page For Unbound Blocklist?
« Reply #2 on: September 02, 2022, 08:18:58 pm »
any tutorial on how to do this?
Logged

DeBaschdi

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Redirection Page For Unbound Blocklist?
« Reply #3 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
Code: [Select]
ERR_SSL_UNRECOGNIZED_NAME_ALERT
any idea how to fix this ?

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

tuto2

  • Administrator
  • Jr. Member
  • *****
  • Posts: 81
  • Karma: 19
    • View Profile
Re: Redirection Page For Unbound Blocklist?
« Reply #4 on: June 12, 2024, 04:45:03 pm »
Probably best to inspect the certificate chain in your browser to see what's being returned.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Tutorials and FAQs »
  • Redirection Page For Unbound Blocklist?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2