Thursday, March 8, 2012

How to block facebook in Mikrotik



  - ip -->proxy --> setting -->enable and port typ :8080

    - click add and type like as:


      -Then go to Firewall click NAT and add new like





other ways Create filter rules as below : can block https://facebook.com
Drop Access to Facebook
/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp \
dst-port=80 content="facebook" action=drop comment="Block Facebook HTTP"

/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp \
dst-port=443 content="facebook" action=drop comment="Block Facebook HTTPS"

Drop Access to Youtube
/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp \
dst-port=80 content="youtube" action=drop comment="Block Youtube HTTP"

/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp \
dst-port=443 content="youtube" action=drop comment="Block Youtube HTTPS"

Drop Access to Twitter
/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp \
dst-port=80 content="twitter" action=drop comment="Block Twitter HTTP"

/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp \
dst-port=443 content="twitter" action=drop comment="Block Twitter HTTPS"


  

1 comment:

  1. youtube not block please help me how to block..................

    ReplyDelete