pfBlocker with Blocking Notice?
-
Is it possible to display a notice like "THIS WEBSITE IS BLOCKED BY ADMIN" in relation to DNSBL feeds inside of pfBlocker?
-
I assume you are referring to the DNSBL where you can define domain name lists and such? Have the DNSBL Virtual IP point to a legitimate web server IP that displays your block page and does absolutely nothing else.
Doing that would essentially tell guests that XYZ.com is "Webserver" instead.This probably isn't the best method, but should suffice.
-
Firewall —> pfBlockerNG —> DNSBL
Custom block web pages can be added to:
/usr/local/www/pfblockerng/www/ folder.show us your custom page after you r done
brNP
-
@noplan said in pfBlocker with Blocking Notice?:
/usr/local/www/pfblockerng/www/
Hi, Thanks for your response. I have DNSBL feed lists setup. I located that path but can't see how to upload my own custom page, and then how would it display when a blocked website it pinged?
Thanks again
-
@profIT said in pfBlocker with Blocking Notice?:
a blocked website it pinged?
Ping is using ICMP packets.
A website needs a web server and a web navigator using TCP packets.
You already know how these two "display".When you ping a blocked hostname, it will resolve the hostname first.
[2.4.5-RELEASE][admin@pfsense.mylocalnetwork.tld]/root: ping www.weknow.ac PING www.weknow.ac (10.10.10.1): 56 data bytes 64 bytes from 10.10.10.1: icmp_seq=0 ttl=64 time=0.071 ms 64 bytes from 10.10.10.1: icmp_seq=1 ttl=64 time=0.057 ms 64 bytes from 10.10.10.1: icmp_seq=2 ttl=64 time=0.051 ms 64 bytes from 10.10.10.1: icmp_seq=3 ttl=64 time=0.068 ms ^C --- www.weknow.ac ping statistics --- 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.051/0.062/0.071/0.008 ms
NB : www.weknow.ac is on the DNSBL list.
10.10.10.1 is the pfBlockerNG web server - and that IP replies to ping ...@profIT said in pfBlocker with Blocking Notice?:
how to upload my own custom page
Activate SSH access. This is the other most important "remote console" access. You'll be needing it for important and urgent matters.
Use an SFTP capable program - FileZilla will do the job.
NOTE : SFTP is not FTP.Use FileZilla to place the file there where you want.
Other solutions exist.
-
-
@noplan said in pfBlocker with Blocking Notice?:
teh rest like @Gertjan
Curious, I don't see that option anywhere under DNSBL on PFBlockerNG... What's the exact location? Are you on a devel version?
-
@C0RR0SIVE said in pfBlocker with Blocking Notice?:
Are you on a devel version?
Of course. BBcan177 declared it stable a little bit more then a year ago.
That's the one with the goodies, the bonuses, and issues we know about ;) -
whatpackage do u use ?
i use