diff --git a/bin/bootstrap.sh b/bin/bootstrap.sh index 113e912..f614794 100755 --- a/bin/bootstrap.sh +++ b/bin/bootstrap.sh @@ -26,5 +26,9 @@ do echo "${ip}:${squid_port}:admin:ballsofsteel" 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 diff --git a/bin/verify.sh b/bin/verify.sh new file mode 100755 index 0000000..421f07c --- /dev/null +++ b/bin/verify.sh @@ -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'