Skip to content
项目

serverok/squid-proxy-installer

在 GitHub 查看

关于

Install Sqid Proxy on Ubuntu/Debian

系统与基础设施

这些数字如何统计

实测星标增长

24小时
+1
7天
+1
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Squid Proxy Installer

https://serverok.in/squid

Auto install Squid 3 proxy on following linux OS.

  • Ubuntu 18.04, 20.04, 22.04, 24.04
  • Debian 8, 9, 10, 11, 12, 13
  • CentOS 8
  • CentOS Steam 8, 9
  • AlmaLinux 8, 9

Install Squid

To install, run the script

wget https://raw.githubusercontent.com/serverok/squid-proxy-installer/master/squid3-install.sh -O squid3-install.sh
sudo bash squid3-install.sh

Videos - How to install Squid Proxy Server.

How to install Squid Proxy Server in DigitalOcean VPS

https://rumble.com/vdswgv-install-squid-proxy-server-in-digitalocean-vps.html

Create Proxy Users

To create users, run

squid-add-user

OR run following commands

sudo /usr/bin/htpasswd -b -c /etc/squid/passwd USERNAME_HERE PASSWORD_HERE

To update password for am existing user, run

sudo /usr/bin/htpasswd /etc/squid/passwd USERNAME_HERE

replace USERNAME_HERE and PASSWORD_HERE with your desired user name and password.

Reload squid proxy

sudo systemctl reload squid

Configure Multiple IP Address

NOTE: This is only needed if you have more than one IP on your server.

Before you can configure squid to use muliple IP address, you need to add IP to your server and you should be able to connect to server using these IPs.

Once IP added to your server, you can configure it to use with squid proxy by running following command

wget https://raw.githubusercontent.com/serverok/squid-proxy-installer/master/squid-conf-ip.sh
sudo bash squid-conf-ip.sh

Change Squid Proxy Port

Default squid proxy port is 3128. This blog post will show how to change squid port.

https://serverok.in/how-to-change-port-of-squid-proxy-server

Support

If you need professional assistance, reach out to

https://serverok.in/contact

探索相关项目

加载中…