How to prevent access to porn site through pfsense server
-
hi all
i ask if its possible to prevent accessing porn site and prevent site that have word i set in another way i want to block site that have word clip for example -
I use opendns.com for this. Sign up and set dns on gateway really easy.
-
is there a way in the pfsense server
and what about squid server used for? -
Open DNS is a good suggestion, however you can do this with squid and squidguard. Just install squid and configure it to your needs. Then install squidguard. You can add custom blacklists that are more in-depth. From here you can block pr0n from pfsense.
-
OT: How to delete the old cache or clear cache?
jigp
Davao City -
Which cache?
-
I think he's talking about squid cache.
-
i think the real question is why would you want to block my porn
-
cache - like old cache logs. how to delete them?
jigp
Davao City -
http://doc.pfsense.org/index.php/How_do_I_clear_the_DNS_Forwarder_cache%3F
-
That's how to clear the DNS Cache, I think he means clear the Squid Cache like you can in IPCop via the GUI.
To do this you need to
1. Stop Squid
2. delete everything in /var/squid/cache
3. recreate squid swap```
squid -z4\. Start Squid
-
thanks sir
jigp
Davao City -
i tried using squid guard mant time and dont do any thing and many time i press save and aplly and still stopped
-
Take a look at the tutorial for squid guard. It shows you how to configure it step by step. Gotta love those Flash tutorials.
-
thank u i have run it but i want to redirect to spicific webside when a user try to log to porn side
-
You could always install the 'SquidGuard' Package, and deny access with the Porn Blacklist.
-
ok thank u
i have do it
but there was aproblem and he block browsing internet and redirict me to the main page of server web -
If you can get to your router do the following:
Go to Services -> Proxy Content -> Default -> and click Destination Ruleset. (See Attachment 1)
Now Scroll to the bottom of your Ruleset list and find "Default Access [all]" Change this to access = allow (See Attachment 2)Hope this helps.
-
yes i made this before
when i open any webside it direct me to th main page of server and ask for use name and pass -
If you disable SquidGuard do you still get the usr and pass prompt?