How to Configure Squid Proxy on Ubuntu
Squid

How to Configure Squid Proxy on Ubuntu

Step 1: Install the Squid package on Ubuntu using the following commands:

sudo apt update

sudo apt install squid -y

Step 2: Configure the Squid proxy on Ubuntu by editing the configuration file with the following command:

sudo nano /etc/squid/squid.conf

In the editor, enable the HTTP port and access by adding:

http_port 3128

http_access allow all

http_port 3128
http_access allow all

Create ACL:

acl newlist src 172.16.10.7

acl block dstdomain "/etc/squid/block.txt"

http_access deny block

http_access allow newlist

ACL List

Save and exit the editor. Next, create the block list using the following command:

sudo nano /etc/squid/block.txt

The block list should contain the following entries:

block list

Step:3

Configure the proxy on the client device:

proxy on the client device

?

要查看或添加评论,请登录

????. ????????????????????????????的更多文章

  • ISE Command Explanation

    ISE Command Explanation

    The following command allows multiple endpoints on the same physical access port: authentication host-mode multi-auth…

    1 条评论

社区洞察

其他会员也浏览了