The code lives here, git clone this directory or use GitHub interface to download .zip: https://github.com/DunnCreativeSS/freeProxyRotator/
See video of me detailing how to write this app from start to finish here: https://lbry.tv/Free_Proxy_Rotator
- npm i proxy-lists request-promise socks-proxy-agent
- Change this text: /home/jarettrsdunn/testnet-inter-exchange-volume-sma-crosses-trader-on-bitmex-/ to your webserver root WWW directory (usually /var/www/html on Linux).
- node proxies.js – this cannot be run as root. It also needs access to your webserver or a directory on it.
- Wait a little while, until there’s output from the node file into terminal.
- DuckDuckGo search how to load a .PAC file into your favorite browser to rotate your proxies for you according to PAC rules. Otherwise, watch the video! I go over how to configure it in Chrome/Brave without need for an extension.
- Your PAC address is (ipOrDomainOrLocalhost)/proxies.PAC.
- So long as the node app is running, your free proxies will update in realtime. It’ll keep testing them to see which are working, and should (for the most part) work to secure your browsing via SOCKS4/SOCKS5.
This probably won’t update all that often, but it’s a good sample of what a PAC would look like:
- sudo mkdir /var/www/html/proxies
- sudo chmod 777 /var/www/html/proxies
- change the path at the bottom of the proxies.js to /var/www/html/proxies/proxies.PAC
- your PAC now lives on (ipOrDomainOrLocalhost)/proxies/proxies.PAC.