A simple way to ban QQ with Squid

Source: Internet
Author: User
The simple way to use Squid to ban QQ-Linux Enterprise Application-Linux server application information is as follows. Using Squid to ban QQ is actually a simple implementation method. We only need to define one source and one target, and then allow the source to only access the target. All the others can be disabled.

# Define the terminal query machine (only some sites can be accessed)
Acl query_terminal src 192.168.200.96/28
# Define the external Web service IP address of the organization
Acl school_ips dst 218.6.165.8 218.6.165.7
# Only allow querying the external IP address of the terminal access unit
Http_access allow query_terminal school_ips
Http_access deny query_terminal all

For more highlights, please pay attention to my space
Http://hi.baidu.com/yuhongchun027

[ This post was last edited by yuhongchun]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.