13 lines
320 B
Bash
13 lines
320 B
Bash
#!/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
|