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

Trending Topics

Online now

Members online
717
Guests online
3,567
Total visitors
4,284

Forum statistics

Threads
2,306,455
Posts
29,171,862
Members
1,194,839
Latest member
KAMIZE
Back
Top