Install Squid Proxy Server

Proxy server allows hiding your IP address. You can find the Squid Proxy Installer script at

The script supports the following Operating systems

  • Ubuntu 14.04, 16.04, 18.04, 20.04
  • Debian 8, 9, 10
  • CentOS 7, 8

To install squid proxy server, run

NOTE: You can remove “sudo” from the command line if you are logged in as user root.

Create a Proxy User

To create a user in squid proxy, run

To change the password for an existing user, just create the user again with a different password. This will update the existing user password.

Video Tutorial

How to install Squid Proxy Server in DigitalOcean Droplet (VPS).

Configure Multiple IPs

If you have multiple IP addresses on the server, first make sure IPs are properly configured on your web server. If your secondary IPs are configured, you should be able to ping to these IPs and connect to the server using the IP address.

Once IPs are configured in the server and able to ping, you can run following commands

Now you will be able to use all IP available in the server as a proxy server.

This won’t work if your IPs are behind NAT. You can verify this by running the command “ip a”, it should list all IP addresses.

Test Proxy Server with curl

Related Posts

Need help with Linux Server or WordPress? We can help!


Leave a Reply

Your email address will not be published.