mirror of
https://github.com/serverok/squid-proxy-installer.git
synced 2026-04-02 10:38:52 +00:00
updated repo links
This commit is contained in:
14
README.md
14
README.md
@@ -2,18 +2,18 @@
|
||||
|
||||
Auto install Squid 3 proxy on
|
||||
|
||||
Ubuntu 14.04
|
||||
Ubuntu 16.04
|
||||
Debian 8
|
||||
Debian 9
|
||||
Debian 10
|
||||
* Ubuntu 14.04
|
||||
* Ubuntu 16.04
|
||||
* Debian 8
|
||||
* Debian 9
|
||||
* Debian 10
|
||||
|
||||
## Install Squid
|
||||
|
||||
To install, run the script
|
||||
|
||||
```
|
||||
wget https://raw.githubusercontent.com/serverok/squid/master/squid3-install.sh
|
||||
wget https://raw.githubusercontent.com/serverok/squid-proxy-installer/master/squid3-install.sh
|
||||
chmod 755 squid3-install.sh
|
||||
sudo ./squid3-install.sh
|
||||
```
|
||||
@@ -25,7 +25,7 @@ Before you can configure squid to use muliple IP address, you need to add IP to
|
||||
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/master/squid-conf-ip.sh && bash squid-conf-ip.sh
|
||||
wget https://raw.githubusercontent.com/serverok/squid-proxy-installer/master/squid-conf-ip.sh && bash squid-conf-ip.sh
|
||||
```
|
||||
|
||||
# Create Users
|
||||
|
||||
@@ -11,7 +11,7 @@ if cat /etc/os-release | grep PRETTY_NAME | grep "Ubuntu 18.04"; then
|
||||
touch /etc/squid/passwd
|
||||
/bin/rm -f /etc/squid/squid.conf
|
||||
/usr/bin/touch /etc/squid/blacklist.acl
|
||||
/usr/bin/wget --no-check-certificate -O /etc/squid/squid.conf https://raw.githubusercontent.com/serverok/squid/master/squid.conf
|
||||
/usr/bin/wget --no-check-certificate -O /etc/squid/squid.conf https://raw.githubusercontent.com/serverok/squid-proxy-installer/master/squid.conf
|
||||
/sbin/iptables -I INPUT -p tcp --dport 3128 -j ACCEPT
|
||||
/sbin/iptables-save
|
||||
service squid restart
|
||||
@@ -22,7 +22,7 @@ elif cat /etc/os-release | grep PRETTY_NAME | grep "Ubuntu 16.04"; then
|
||||
touch /etc/squid/passwd
|
||||
/bin/rm -f /etc/squid/squid.conf
|
||||
/usr/bin/touch /etc/squid/blacklist.acl
|
||||
/usr/bin/wget --no-check-certificate -O /etc/squid/squid.conf https://raw.githubusercontent.com/serverok/squid/master/squid.conf
|
||||
/usr/bin/wget --no-check-certificate -O /etc/squid/squid.conf https://raw.githubusercontent.com/serverok/squid-proxy-installer/master/squid.conf
|
||||
/sbin/iptables -I INPUT -p tcp --dport 3128 -j ACCEPT
|
||||
/sbin/iptables-save
|
||||
service squid restart
|
||||
@@ -33,7 +33,7 @@ elif cat /etc/*release | grep DISTRIB_DESCRIPTION | grep "Ubuntu 14.04"; then
|
||||
touch /etc/squid3/passwd
|
||||
/bin/rm -f /etc/squid3/squid.conf
|
||||
/usr/bin/touch /etc/squid3/blacklist.acl
|
||||
/usr/bin/wget --no-check-certificate -O /etc/squid3/squid.conf https://raw.githubusercontent.com/serverok/squid/master/squid.conf
|
||||
/usr/bin/wget --no-check-certificate -O /etc/squid3/squid.conf https://raw.githubusercontent.com/serverok/squid-proxy-installer/master/squid.conf
|
||||
/sbin/iptables -I INPUT -p tcp --dport 3128 -j ACCEPT
|
||||
/sbin/iptables-save
|
||||
service squid3 restart
|
||||
@@ -48,7 +48,7 @@ elif cat /etc/os-release | grep PRETTY_NAME | grep "jessie"; then
|
||||
touch /etc/squid3/passwd
|
||||
/bin/rm -f /etc/squid3/squid.conf
|
||||
/usr/bin/touch /etc/squid3/blacklist.acl
|
||||
/usr/bin/wget --no-check-certificate -O /etc/squid3/squid.conf https://raw.githubusercontent.com/serverok/squid/master/squid.conf
|
||||
/usr/bin/wget --no-check-certificate -O /etc/squid3/squid.conf https://raw.githubusercontent.com/serverok/squid-proxy-installer/master/squid.conf
|
||||
/sbin/iptables -I INPUT -p tcp --dport 3128 -j ACCEPT
|
||||
/sbin/iptables-save
|
||||
service squid3 restart
|
||||
@@ -62,7 +62,7 @@ elif cat /etc/os-release | grep PRETTY_NAME | grep "stretch"; then
|
||||
touch /etc/squid/passwd
|
||||
/bin/rm -f /etc/squid/squid.conf
|
||||
/usr/bin/touch /etc/squid/blacklist.acl
|
||||
/usr/bin/wget --no-check-certificate -O /etc/squid/squid.conf https://raw.githubusercontent.com/serverok/squid/master/squid.conf
|
||||
/usr/bin/wget --no-check-certificate -O /etc/squid/squid.conf https://raw.githubusercontent.com/serverok/squid-proxy-installer/master/squid.conf
|
||||
/sbin/iptables -I INPUT -p tcp --dport 3128 -j ACCEPT
|
||||
/sbin/iptables-save
|
||||
systemctl enable squid
|
||||
@@ -75,7 +75,7 @@ elif cat /etc/os-release | grep PRETTY_NAME | grep "buster"; then
|
||||
touch /etc/squid/passwd
|
||||
/bin/rm -f /etc/squid/squid.conf
|
||||
/usr/bin/touch /etc/squid/blacklist.acl
|
||||
/usr/bin/wget --no-check-certificate -O /etc/squid/squid.conf https://raw.githubusercontent.com/serverok/squid/master/squid.conf
|
||||
/usr/bin/wget --no-check-certificate -O /etc/squid/squid.conf https://raw.githubusercontent.com/serverok/squid-proxy-installer/master/squid.conf
|
||||
/sbin/iptables -I INPUT -p tcp --dport 3128 -j ACCEPT
|
||||
/sbin/iptables-save
|
||||
systemctl enable squid
|
||||
|
||||
Reference in New Issue
Block a user