
Use Linux VPS as Proxy Server | Run Proxy Server on VPS | Use Ubuntu as Proxy Server
Many times we need a proxy server [ IP : Port ] to bypass censorship and other things. So, here is an simple solution to use a Linux VPS as proxy server or your Ubuntu machine as proxy server.
- We are going to use SQUID to run Proxy server on our VPS or Linux machine. To install Squid on your machine run the following command .
- apt-get install squid3

- By default Squid dosen't allow incoming connections from outside of the network. So, we are required to configure Squid.conf file located at [ /etc/squid3 ] to make squid accept external connections.
- We will discuss how to configure Squid for more functionalities in later tutorials. Till then you can use a pre-editied file to allow squid to accept external traffic.
- Download File from here: https://www.dropbox.com/s/52jm0fq90g1ioke/squid.conf
- Now replace the file with squid.conf file loacted at [ /etc/squid3 ] using SFTP [ Use BitVise SSH client ].
- Configure your browser to use your VPS, Ubuntu Machine's IP [ To get IP, type ifconfig in terminal ] address as proxy and 3128 as Port. [ 3128 default service port of Squid ].

- To Start, Stop squid use the following commands.
- service squid3 start [ To Start Squid]
- service squid3 restart [ To Restart Squid]
- service squid3 stop [ To Stop Squid]