Hi all. I want to learn how to create my own proxies to be used when making purchases. I followed this guide: https://www.digitalocean.com/community/tutorials/how-to-install-squid-proxy-on-ubuntu-12-10-x64
I do not understand Step 3. I’ll be using the proxies on the server i deploy on DigitalOcean. Also how do i automate the steps so i dont have to type everything again for my remaining proxies?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hi there, just for those like myself whom are Googling for an answer to this;
Referring to: https://wiki.squid-cache.org/SquidFaq/SquidAcl#ACL_elements
It looks like the squid acl setup / config could be set like this:
Where 100.100.1.100 is the client IP you want to allow
I want host ip
This comment has been deleted
@avanteze
So that we’re on the same page, you’re wanting to setup Squid as a proxy and connect to it from your local PC/Mac, correct?
If so, the step your referencing exists to setup an ACL, or Access Control List, which sets your local IP as the only IP that’s allowed to connect. The guide assumes you do not have a Static IP from your ISP and is recommending that you create an account with no-ip so that you have a more static address.
Most ISP’s don’t provide static IP addresses unless you’re a business client (I know Charter is that way where I am, as is Comcast), so to ensure that you’re able to connect to the proxy, you need to setup a static way of connecting.
If you don’t setup an account with no-ip, or a similar service, and your IP changes locally, you may not be able to connect to the proxy. If you don’t setup the ACL on Squid, then pretty much anyone could connect to and use it instead of just you.
As for automation, you can use a Bash script to automate most of the installation and setup and then upload that bash script to the server and run it, but you’d need to manually handle the no-ip part unless they have an API you can connect to that will allow you to pull down information.
A simple bash script to update & upgrade packages, then install squid, for example, could be as simple as: