Quote:
Just block that work "Facebook" From your conf file using url_regx -i module For example ACL Section # Acl Block_words url_regex -i "facebook" Http Section # http_access Block_words deny Then restart your squid Hope it will help you !! Regards Bala.Linuxtech |
Quote:
As I have already told, this works only if we go through browser settings in each PC. Since I have configured it as transparent proxy and since each user is having sudo privileges in their PC they can remove browser settings and can access https://www.facebook.com. So found a way to completely block it from coolsg5636 post. Code:
iptables -I FORWARD -p tcp -d dest_ip --dport des_port -j DROP Code:
iptables -I FORWARD -d dest_ip -j DROP |
Once again thank you all.
|
By the way,
What if you use a program like Ultraserf to bypass your proxy? You could manage to workaround again that limit, or not? |
Quote:
Code:
iptables -I FORWARD -d dest_ip -j DROP |
Hi to all,maybe this is off topic but i have to try to ask.I have 2 laptops,and i want to block traffic to facebook,from one to another.Commands which i used:
echo "1" > /proc/sys/net/ipv4/ip_forward iptables -t nat -I PREROUTING -m tcp -p tcp -d www.facebook.com --dport 443 -j DROP arpspoof -i wlan0 192.168.1.1 (gateway of my router) but i have still access to facebook site,any ideas regards |
iptables -I FORWARD -s 1.2.3.4 -m string --string facebook.com -j DROP --algo bm
|
All times are GMT -5. The time now is 11:19 AM. |