Install Proxy Switcher and Manager in Google Chrome.
Switch PAC Script
tab and paste the next code in Inline
section:
var proxy = "IP:PORT";
//proxy = "";
var proxy_all = false;
//proxy_all = true;
var hosts = [
'userapi.com',
'vk.cc',
'vk.com',
'vk.me',
'vk.link',
'vk-cdn.net',
'vkuservideo.net',
'vkuserlive.com',
'vkuseraudio.net',
'vkforms.ru',
'vkuserdocs.net',
'vk-apps.com',
'vkpay.io',
'vk-portal.net',
'vkontakte.ru',
'vkuser.net',
'mycdn.me',
'ok.ru',
'mail.ru',
'attachmail.ru',
'datacloudmail.ru',
'imgsmail.ru',
'ya.ru',
'yadi.sk',
'yandex.ru',
'yandex.com',
'yandex.ua',
'yastatic.net',
'yandex.net',
'clstorage.net',
'narod.ru',
'dzen.ru',
'webmoney.ru',
'wmtransfer.com',
'kinopoisk.ru',
'mradx.net',
'tns-counter.ru',
'cdnland.in',
'svetacdn.in',
'yoomoney.ru',
'beget.com',
'beget.ru',
'beget.email',
'reg.ru',
'habr.com',
'more.tv'
];
var domains = [
'ru',
'su'
];
function FindProxyForURL(url, host) {
let uri = host.split('.').reverse();
let domain = uri[1] + '.' + uri[0];
if (proxy_all || hosts.includes(domain) || domains.includes(uri[0])) {
return "PROXY " + proxy;
}
return "DIRECT";
}
var proxy
– proxy IP and port;var proxy_all
– pass all traffic via proxy;var hosts
– pass websites from this list via proxy;var domains
– pass all the websites with domains from this list via proxy.
- Open
Wi-Fi
settings. - Select the necessary Wi-Fi network and click to modify it.
- Fill the
Proxy
section with proxy IP and port. - Save the changes.
- Open
Mobile Networks
settings. - Open
Access Point Name
orAPN
settings. - Select the necessary APN and click to modify it.
- Fill the
Proxy
section with proxy IP andPort
section with proxy port. - Save the changes.