• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

ACL trong squid proxy

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ACL trong squid proxy

    Tình hình là mình đang dựng thử 1 cái proxy với mục đích như sau mà ko biết có đúng ko:
    - Cấm tất cả internal network ko đc download file hay nghe mp3 ngoại trừ VIP IP thì đc đi Full Internet.

    acl allow_IP_VIP srs "/etc/squid/IP_VIP.txt"
    acl home_network src 192.168.1.0/255.255.255.0
    acl download_files urlpath_regex "/etc/squid/block_download_list.txt"

    http_access allow allow_IP_VIP
    http_access deny downloadfiles
    http_access allow home_network
    http_access deny all
    Last edited by hohoangluan; 14-10-2010, 11:42 AM.
    WIFI4G2GO - Dịch vụ cho thuê wifi du lịch giá rẻ - phủ sóng 71 quốc gia
    WIFI4G2GO - Dịch vụ cho thuê wifi du lịch quốc tế giá rẻ - phủ sóng 71 quốc gia

  • #2
    Bạn sửa dòng : acl home_network src 192.168.1.0/24 là ok!

    Comment

    Working...
    X