Utils
This commit is contained in:
@@ -21,7 +21,7 @@ rust:
|
||||
. <(wget -qO- http://astrader.net:3006/sem/Utils/raw/branch/main/Installers/rust.sh)
|
||||
```
|
||||
|
||||
squid:
|
||||
tinyproxy:
|
||||
```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)
|
||||
```
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user