fix some small bugs and make a verify script that you can use to verify external connection
This commit is contained in:
parent
e5576fc449
commit
89523a57f2
2 changed files with 12 additions and 1 deletions
|
@ -26,5 +26,9 @@ do
|
||||||
echo "${ip}:${squid_port}:admin:ballsofsteel"
|
echo "${ip}:${squid_port}:admin:ballsofsteel"
|
||||||
done < "$ip_file"
|
done < "$ip_file"
|
||||||
|
|
||||||
# restart squid after
|
# first restart networking
|
||||||
|
# big money, big money, big money
|
||||||
|
sudo systemctl restart network
|
||||||
|
|
||||||
|
# restart squid after.
|
||||||
sudo systemctl restart squid
|
sudo systemctl restart squid
|
||||||
|
|
7
bin/verify.sh
Executable file
7
bin/verify.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
# run this on a seprate system after deployment has been completed. its just a wrapper around curl
|
||||||
|
|
||||||
|
$IP=$1
|
||||||
|
$PORT=$2
|
||||||
|
|
||||||
|
curl --proxy $IP:$PORT --proxy-basic --proxy-user admin:ballsofsteel 'https://ipinfo.io'
|
Loading…
Add table
Reference in a new issue