Set Up Your own Google Cloud Proxy Servers

Joined
Jul 15, 2017
Messages
47
Reaction score
158
What's up guys? So if you plan on doing any sort of automation, you probably need proxies right? While residential proxies are by far the best and safest bet, they also are not the cheapest. Thankfully, Google has a cloud service and you can get up to $300 credits for free each year! If you are tired of paying for proxies much like I am, check out the below tutorial on how to create your own proxy server. Now, there are some additional steps you should do in order to secure your server such as adding user authentication to it and although I don't have screenshots for that, I have included how to do it below.

1. Go to console.cloud.google.com.

a. Select “Yes” to agree to the terms and click “Accept”

GCL7JKR


2. Click “SIGN UP FOR FREE TRIAL” in the upper right hand corner

kfYB5oZ


3. Select your country, select the first “No” and select “yes”

a. Click “Agree and Continue”

aD0tdLa

4. Fill out your info on the next page

opFsCxj


5. Add Your Payment Info and Click “Start My Free Trial” (note you won’t be charged when the free trial ends. It will ask you for your card info again)

ZvASzuQ


6. A page like this will load. Click “Got It”

1wWcews


7. Click on the hamburger menu in the top left corner then >”Compute Engine”>”VM Instances”

9EjcMjm



8. Click “Create”
PYgzNC1


9. Change the Machine Type to the lowest one

Rskj9fl


10. Change Boot Disk to Ubuntu 18.04 LTS
AjIWIud
vwfCFN2


11. Check the two boxes for allowing HTTP and HTTPS traffic and click Create
n98EUCo


12. When you are done click on the SSH box. A new window will pop up and you will be working on the command line from within your virtual server from this point on
Swo0tzj


13. Switch to the super user by typing the command sudo -s (this is bad security practice, but for the tutorial simplicity I thought this was easiest)
hM08Klo


14. Add a user that will have super user privileges. The name can be whatever you want. I am going to make the user squid by running the command adduser squid
IJNaRgZ


15. It will ask you to set a password. Create a secure password for this user. It will also ask you to fill out information about this user. You do not have to type anything here. Just hit enter until it asks you if the information is correct and type y and hit enter
n0Up9fA


16. Add the user you just created by running the command usermod -aG sudo username. In this case, I would type usermod -aG sudo squid
TI4KZEr


17. Now update and upgrade your server packages by running apt-get update && apt-get -y upgrade
XNympeJ


18. When it’s done install the squid proxy server by running apt-get install squid
8pHNeh7


19. Once it has installed, make a backup of the configuration file just in case you mess up by running the command cp /etc/squid/squid.conf /etc/squid/squid.conf.bak
ZDw8dtH


20. Now we want to edit the configuration file to our settings. Run the command nano /etc/squid/squid.conf to begin editing
6iWKqWW


21. There are two things we want to do – allow connections on the server and change the port.

22. To allow computers to connect to our server hit Ctrl+Shift+- and you will get a prompt to enter a line number. Go to line 1194 and add the line http_access allow all
tyDex17


23. Now hit Ctrl+shift+- again to get the line prompt. Go to line 1612 and change the port number from 3128 to 80
RuDThGP


24. Hit Ctrl+x and type Y, hit enter, hit enter. You’ll now be taken back to the command line. If there is a bunch of text and you want to start with a clean command prompt type the command clear

25. Restart the squid proxy server to take effect systemctl restart squid
CJSMKF8


26. Check the status of the server systemctl status squid
clip_image050.jpg


27. You should now be able to connect to your proxy server


Securing Your Server with Basic Authentication
  1. Open the configuration file with nano /etc/squid/squid.conf and add the following:
    1. Code:
      auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/passwd
      auth_param basic realm proxy
      acl authenticated proxy_auth REQUIRED
      http_access allow authenticated
  2. Create the password file by running - touch /etc/squid/passwd
  3. Add a password for a username of choice. We will be using squid here - htpasswd -c /etc/squid/passwd squid
  4. You will be asked to input the password
  5. Now restart the server - systemctl restart squid
 
Nice tutorial! I am sure it will be helpful for many newbies. What would be even funnier if these proxies could be used to do bulk google search (scrapebox may be).. it will be like fighting fire with fire lol.

All this just to create 1 proxy?
These proxies (if they work with google search obviously) will be like private proxies and won't expire in 5 seconds. So, it's not that of a waste of time if they worked ( especially if the scripts can be automated)
 
This is a nice tutorial but datacenter proxies are blocked everywhere. Amazon and Google cloud don't work as proxies.

They work for me. At least for the most part. So long as you dont run 4+ accounts on one you should be fine.

All this just to create 1 proxy?
Yes. The scripts can be automated like stated. Also, you can create snapshots of the machines and clone them without going through all the steps again.
 
They work for me. At least for the most part. So long as you dont run 4+ accounts on one you should be fine.

I've been using Google Cloud Datacenter proxies for 2 months now, 5 accs per proxy each account doing 650 follows and 400 likes per day with no issues.



asdfasdf-s.jpg



You guys be pimpin' google cloud.

Running black hat proxies on google is EXCELLENT IDEA bro.
 
hi thanks for the tuto bro , so far so good but where should i past the last code in the conf file im a noob
 
not working, from the tutorial, you just added port 80 you did not specify how to add your external IP. And i wonder how is yours working
 
Does this work, I have 20 google cloud proxies , but alot of my accounts are getting banned.
 
I will give this a try. I want to see if it is worth the effort
 
Such an awesome share. Is there anything we can do to make this a LTE/4G proxy?
 
datacenter proxies are blocked everywhere. Amazon and Google cloud don't work as proxies.
datacenter proxies are blocked everywhere! please shut the fuck up??? this is blatantly fake and misleading
 
How many proxies can you set up? 300$ free credit for what? Based on gb use?
 
How many proxies can you set up? 300$ free credit for what? Based on gb use?

Answer Please

Is this considered ipv4 or 6 proxy?
I gues its only for ipv4.

in my testing, in 1 month you can setup totaly maximum 60 server for f1-micro. the smallest

-1 email google account, They only give you 20-24 project limit(You can request to increase), but maximum you only can create 5 project it because Billing limit(You can request to increase) because you need to open the firewall base if you use squid proxies with default settings you have to open all port in firewall because You need to open port 3128. When You request to open firewall rules with your 6th project, google will tell you to request billing limit to open up more firewall rules in every project that You want to open for next.

IF You use this technique, you only open http and https which is port 80 or 8080 i gues so.

-1 Project Google only allowed 8 ip per region server, if google has 15 Region, the will give you limit 8 regional ip x 15 region server = 120ip for 1 project

8 ip per region server (You have to request to increasing limit - Google will email to you, if you leave your phone number and you insist to increasing limit Google will call you and ask you a lot of question. it will make your head blowing up!!, but if you only want to use coupon. Im not suggested to request increasing limit, because We want to cheat google coupon right?)

-1 email = 20 project x 120 ip region = 2400

- unfortunately, Google console only allowed 12 ip global for each project (You have to request to increasing limit)

-so 12ip global x 5 allowed project billing limit = 60 ip server per email OR

60 proxies server per 1 email google account with 5 project, each project has 12 ip region

if you go to: https://cloud.google.com/products/calculator/

the pricing for 60 server f1-micro = $233.02 / Month - Google coupon is $300. so you will save 60 proxies for seo in 1 month

*ip global which is mean ipv4

f1-micro-60.png
 
Last edited:
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features and essential functions on BlackHatWorld and other forums. These functions are unrelated to ads, such as internal links and images. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock