blokfb

1
#1: Create an acl for proxy clients. acl lan src 192.168.10.50/32 #2: Create an acl for facebook domain (any required sites) acl fb dstdomain .facebook.com #3: Create an acl office time for Mon-Sat, 10:00 to 17:00 (24hrs) acl officetime time MTWHFA 10:00-17:00 #4: Deny access to "http" facebook to accountant only in office times http_reply_access deny fb lan officetime #5: The below line will deny access to " https" secured facebook to the proxy user "accountant" in office times. Squid proxy will deny access to "https" facebook to accountant only in office times. http_access deny CONNECT fb lan officetime #(save the squid.conf configuration file) #6: And finaly reload squid service to take effect changes [root@server ~#]service squid reload Tips: The way to include multiple sites in one ACL

description

Cara Blok fb melalui seven layer mikrotik

Transcript of blokfb

#1: Create an acl for proxy clients.acl lan src 192.168.10.50/32

#2: Create an acl for facebook domain (any required sites)acl fb dstdomain .facebook.com

#3: Create an acl office time for Mon-Sat, 10:00 to 17:00 (24hrs)acl officetime time MTWHFA 10:00-17:00

#4: Deny access to "http" facebook to accountant only in office timeshttp_reply_access deny fb lan officetime

#5: The below line will deny access to "https" secured facebook to the proxy user "accountant" in office times. Squid proxy will deny access to "https" facebook to accountant only in office times. http_access deny CONNECT fb lan officetime#(save the squid.conf configuration file)

#6: And finaly reload squid service to take effect changes[root@server ~#]service squid reload

Tips: The way to include multiple sites in one ACL