目录

squid 安装配置

squid 代理工具(不是VPN)linux 安装配置

squid安装配置

1
2
sudo apt update
sudo apt install squid
1
2
3
4
5
sudo systemctl status squid
netstat -an | grep 3145
# 默认3145端口
sudo systemctl start squid
sudo systemctl stop squid
1
sudo vim /etc/squid/squid.conf

文件内容 16% 处

1
2
# http_access deny all
http_access allow all

22%处

1
2
# Squid normally listens to port 3128
http_port 3145
1
2
sudo systemctl enable squid.service
sudo systemctl disable squid.service