Recently Ukrainian President has imposed sanction on russian sites like vk.com, mail.ru and etc.
So, now all these web resources are unreachable from Ukraine.
In general, for breaching the blocking of ip we can use VPN or Proxy. As for me proxy is more comfortable way to deal with the problem. You do not need put all your traffic via remote server. An browser extension could be installed to use proxy only for specific sites.
Below I’ll describe a few methods how to setup proxy server on remote VPS server. For this we need a VPS server somewhere abroad, where web resources we instrested in are not blocked.
Suppose VPS has ubuntu installed.
First, we need to install it.
Then make a copy of squid.conf
And copy paste the following text
Let’s take a look at this line
It tells SQUID to use proxy authentication. Generally speaking we need to create passwd file with login/pass records from which SQUID will read and authenticate requests.
Lines below, tell SQUID to allow acl named foo to access proxy, because by default SQUID denies all requests
Now restart SQUID
How to use proxy only for blocked sites
For example, I need to use direct connection for all internet except vk.com. Since I use Chrome I’ll describe a method how to achive this using Chrome. For other browsers you can use a same method