🔒 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
  • 549
    Views
  • 3
    Participants
Last reply from:
jerpe

Trending Topics

Online now

Members online
1,133
Guests online
7,294
Total visitors
8,427

Forum statistics

Threads
2,351,711
Posts
29,372,766
Members
1,084,339
Latest member
tngina
Back
Top