Never Buy Proxies Again - Setup your own Proxy Server

How big of a VPS would I need to make 200+ proxies if I had that many IPs? Would it be better to just lease the IPs instead of purchasing it directly from the VPS provider? Isn't that more cost efficient?
 
Thanks for the guide.
Is it also possible to add IP auth, so you add allowed IPs in a list that can use the proxies? If yes, how?
And also are there any scripts to automate the part where you have to input each IP with port name passw? Since it would be a lot for a /24 block.
 
A step by step guide to setup your own proxy server . No need to buy proxies again when you can setup your own server in almost same prices as most of providers sell .

Step # 1 : Goto LowEndBox.com or Webhostingtalk.com and find a VPS provider who has good reviews and can provide additional ips in reasonable prices (1$ per ip)

Step # 2 : Buy a Liunux VPS with 1GB RAM , 1 Core with 100Mbit or above port speed and with additional ips

Usuall prices for such VPS are 5$ per month for VPS and 10$ for 10 additional IPS

So in 15$ you get 11 total IPs (10 additional and 1 VPS IP) which you can then convert into proxies - In 15$ you are getting 11 Virgin Dedicated Proxies which you cannot purchase from most sellers

To get different IP range and subnets , purchase different smaller VPS in different locations and setup proxy server on them

Now the actual Work starts to setup proxy server

Steps to follow : Install Ubuntu 14 when you purchase VPS and then run below commands in SSH terminal (Use Putty for SSH access)

  1. apt-get update
  2. apt-get -y install fail2ban software-properties-common
  3. apt-get install nano
  4. apt-get install build-essential libevent-dev libssl-dev
  5. cd /etc
  6. wget http://3proxy.ru/0.7.1.1/3proxy-0.7.1.1.tgz
  7. tar zxvf 3proxy-0.7.1.1.tgz
  8. rm 3proxy-0.7.1.1.tgz
  9. cd 3proxy
  10. nano src/proxy.h
  11. add line - #define ANONYMOUS 1 (this makes proxy anonymous)
  12. make -f Makefile.Linux
  13. make -f Makefile.Linux install
  14. mkdir log
  15. cd cfg
  16. nano 3proxy.cfg
  17. Add ips here along with Username : Password : Port in this format : proxy -p3128 -a -iYour Ip here -eYour Ip here
  18. Edit username and password in the same file in this format : users UsernameHere:CL:passwordHere
  19. Allow your username in the same file (You will see the Allow option , just add your username there)
  20. chmod 0777 3proxy.cfg
  21. cd ../
  22. nano scripts/rc.d/proxy.sh ( enter the directory where you installed 3Proxy script! )
  23. sh scripts/rc.d/proxy.sh start
  24. nano /etc/rc.local
  25. sh /etc/3proxy/scripts/rc.d/proxy.sh start
Summary of the above commands :
  1. Update Ubuntu
  2. Install Fail2ban
  3. Install Nano editor
  4. Install libevent and libssl
  5. Download 3Proxy script
  6. Unzip it to directory
  7. And edit the Proxy.h file through Nano and add line #define ANONYMOUS1
  8. Edit 3Proxy.cfg through Nano and add your ips along with port , username and password
  9. Then edit proxy.sh and enter where you installed 3Proxy
  10. Reboot the server and thats it !

Thats it , restart your server and your proxy server is ready . Go ahead and test your proxies .
Ok but this is Linux, does this create a server on Linux which can then connect my windows computer to route all traffic through? I’m struggling to find any form of info on how to route all my windows computer traffic through a proxy (masked ip)
 
I can use this method to create multiple IPv6, right? And they are unique or all the same IP? Thanks
 
I am running sh scripts/rc.d/proxy.sh start and I am just getting permission denied, anyone know why?
 
Do I have to open the port? I am just renting out someone's server and haven't ask their permission for anything maybe thats it?
 
Can someone please specify with step 17, I don't see an Allow button at all? its just the nano text editor on a brand new file that has nothing in it
 
Do I have to open the port? I am just renting out someone's server and haven't ask their permission for anything maybe thats it?
I have tested this with aws free tier linux 16.04 or 18.04 servers and it works fine there.
 
Thanks for your tip.I'll start building some of my own.
Also,how do you think some sellers are able to make them even cheaper than 1$/ip ?
 
Thanks for this method will take a look in few days time
 
Thanks mate for taking the time to put this together and explain it step by step.
 
3proxy is a treasure! but it has some issues :
- many ISP AV detect 3proxy as "unwanted" or even "malicious" app, so you will have to use some tricks to run in (try to compile with some changes)
- no UDP support. (3proxy does not support UDP for "parent")
- you need to additionally set maxconn and make some changes in linux to work with high load- refer to: 3proxy.ru/highload.asp
 
Back
Top