How to block aceess to a HTTPS site using python-iptables -
I want to implement a simple firewall by using python which will block access to the given list of sites. To do this, I want to know how to block a specific site using Ajhen-IPTable. For example how to block access to www.facebook.com?
Try it out, it works right, uses subprocesses and blocks say.
Or you can also use iptables as well
iptables -A output- d www.facebook.com -j DROP
Comments
Post a Comment