🔒 Closed Block website in squid3

Status
Not open for further replies.
add mo to sa loob ng squid.conf


acl block_website dstdomain .website1.com .website2.com .website3.com

http_access deny block_website
 
block_website kahit ano yan...
pero iedit mo yang .website1.com ng kahit anong website...
ganyan sin sa .website2.com .website3.com
 
acl ipname src 1.1.0.0/24

http_access allow ipname

edit mo yang 1.1.0.0/24
ng IP mo ng ganyang format

alisin mo pla yung ...
http_access deny all

ganyan lang kadali,,
 
add mo to sa loob ng squid.conf


acl block_website dstdomain .website1.com .website2.com .website3.com

http_access deny block_website

block_website kahit ano yan...
pero iedit mo yang .website1.com ng kahit anong website...
ganyan sin sa .website2.com .website3.com

tas after maiedit restart mo yang squid server mo

pero mas maganda nlng sana na mag allow kana lang ng mga ip na pwedeng mag access ng squid mo...

acl ipname src 1.1.0.0/24

http_access allow ipname

edit mo yang 1.1.0.0/24
ng IP mo ng ganyang format

alisin mo pla yung ...
http_access deny all

ganyan lang kadali,,

Salamat paps. Try ko mamaya.
 
Status
Not open for further replies.

About this Thread

  • 10
    Replies
  • 530
    Views
  • 3
    Participants
Last reply from:
jerpe

Online now

Members online
969
Guests online
2,123
Total visitors
3,092

Forum statistics

Threads
2,276,141
Posts
28,967,846
Members
1,231,131
Latest member
Yrrojan
Back
Top