How to create your own squid proxy server with Azure and Ubuntu
How to create your own squid proxy server with Azure and Ubuntu OS.
Squid is a proxy server for caching and filtering web content .
Squid proxy service will cache the requested web-content and re-using it for the further request of the same content.You can also hide your real IP with squid and access content usually forbidden for your country or IP address.
1.) Sign in to your Azure Portal and create VM
2.) Choose Ubuntu Server 14.04 LTS
3.) Configure your VM
4.) Create endpoint higher then 1024 for example 20000
5.) Connect with putty to install and configure squid
sudo apt-get install squid -y cd /etc/squid3
Make backup of default configuration just in case…
sudo cp squid.conf squid.conf.bak
Remove default configuration
sudo rm -rf squid.conf
Create and open new configuration in nano (you can use any other editor)
sudo nano squid.conf
Paste this 2 lines of code into your new configuration file
http_access allow all http_port 20000
6.) Restart squid service
sudo service squid3 restart
7.) To check your connection use telnet IP on port defined in your squid configuration.
In this case 20000
telnet IP 20000
Your proxy server is ready if your connection was successiful.
Setup your OS to use this proxy server and go to http://whatsmyip.org to check your new IP address.