Block some websites for Some IP's and Allow Some IP's
-
I want to block websites like facebook, gmail, webmails, chat sites etc for some IP.
For others, I need to enable all the sites.How to do this ?
Squid or firewall rules?I tried to do block https facebook on squid. But the method is not working.
Please help.
Thank You
-
Squid + squidGuard + Shalla (or other) blacklist.
-
Will this block https sites too ?
Wel actualy its not wrking for me as expected ?
and how to allow for some IP's ?
-
Will this block https sites too ?
It will if you have squid properly configured.
Wel actualy its not wrking for me as expected ?
I'm guessing you don't have it configured properly.
and how to allow for some IP's ?
Create a Group ACL in squidGuard and apply different policies to it. Assign users to that group.
-
Am using Transparent Mode .
-
Am using Transparent Mode .
I would recommend you use explicit mode instead.
-
You could also do this through the firewall with aliases.
We have a small number of machines that we allow to get anywhere. We created an Alias with their IP's listed and called it Allowed_Outbound. We set a firewall rule that allows them out and put a rule behind it that blocks everything else.