This commit is contained in:
2022-12-14 23:03:08 +03:00
parent bd0012e1c5
commit 09418cfaea
2 changed files with 14 additions and 2 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ rust:
. <(wget -qO- http://astrader.net:3006/sem/Utils/raw/branch/main/Installers/rust.sh) . <(wget -qO- http://astrader.net:3006/sem/Utils/raw/branch/main/Installers/rust.sh)
``` ```
squid: tinyproxy:
```bash ```bash
. <(wget -qO- http://astrader.net:3006/sem/Utils/raw/branch/main/Installers/squid.sh) . <(wget -qO- http://astrader.net:3006/sem/Utils/raw/branch/main/Installers/tinyproxy.sh)
``` ```
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
sudo apt update
sudo apt remove squid -y
sudo apt-get install tinyproxy -y
sudo sed -i 's/Allow 127.0.0.1/Allow 127.0.0.1 \nAllow 0.0.0.0/0/' /etc/tinyproxy/tinyproxy.conf
sudo sed -i 's/Port 8888/Port 3128/0/' /etc/tinyproxy/tinyproxy.conf
sudo systemctl start tinyproxy
sudo systemctl status tinyproxy