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

Trending Topics

Online now

Members online
1,174
Guests online
2,333
Total visitors
3,507

Forum statistics

Threads
2,286,232
Posts
29,036,429
Members
1,217,838
Latest member
tung tung ballerina cappu
Back
Top