Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using Zentyal. I want to block https://www.facebook.com with iptables rules. Can you please tell how to block it for my organization's network?

share|improve this question

2 Answers 2

To use iptables rule im not sure how to do it but if you wish you can use a proxy in zentyal.

** Look for the tab named Domain Filtering in the HTTP Proxy section

enter image description here

share|improve this answer

I was able to block facebook without using IP tables. I used a Zentyal network object to represent all the facebook IP ranges, and then blocked those ranges using the firewall that in the Zentyal web interface.

You can read what others have said about this here: https://forum.zentyal.org/index.php/topic,16841.msg66809.html#msg66809

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.