Home Page › Forums › Network Management › Firewall, Traffic Shaping and Net Balancer › Blocking HTTPS access to facebook › Reply To: Blocking HTTPS access to facebook
January 25, 2013 at 11:40 am
#51338
Member
Using the IP addresses is just not a solution, the name is better:
iptables -I FORWARD -m string –algo kmp –string “facebook.com” -j DROP
iptables -I OUTPUT -m string –algo kmp –string “facebook.com” -j DROP