Build your own proxy Server with easy and for free

no, but i want to access my server from anywhere

Use a VPS
Install VPN
Route all traffic through that public IP of the VPS



For the people who want to control their own proxy, this thread is for you.

TLDR; You will need a Debian 9 clean install from any cloud provider also must run as root user:
Step 1
Code:
wget https://raw.githubusercontent.com/proxyips/freeproxy/main/freeproxy.sh

Step 2
Get your public IP address from your server
Code:
curl https://ifconfig.me

Or
Select your public IP address
Code:
ip a

Step 3
Get the public IP address from the device. You are going to use it to connect to your proxy.
If you are using your computer or a device on your home/office network. Just open up a browser and go to.
Code:
https://ifconfig.me

Step 4
You must now edit freeproxy.sh file. Change the 1.1.1.1 with the IP address from Step 2. Then change 2.2.2.2 with the ip address you got from Step 3. Also, you need to replace change_user with your username and change change_password with your password. Then save the changes.
Code:
nano freeproxy.sh
chmod +x freeproxy.sh
./freeproxy.sh

Step 5
Using the proxy. Now that you have a nice new and shiny dual proxy server. One port connects you to the tor network and the other port connects you to public proxies. I will update the list often and place them in this thread. Remember to change 1.1.1.1 to the address you get in Step 2.
Tor connection
Code:
curl -x 1.1.1.1:8090 https://ifconfig.me
Public proxies
Code:
curl -x 1.1.1.1:8091 https://ifconfig.me

Any question post them. I will reply and help with any questions related to this script.

The script has been posted on GitHub:
Code:
https://github.com/proxyips/freeproxy.git
pull requests welcome


Great share OP!


Regards,
AD
 
Why don't you make a docker image? No config needed
It needs cron jobs to update the public proxies. Plus depends on services for the Tor section. But it could work with docker-compose. If people want to have a compose file I will do it. Need at least ten likes, and I will add Docker-Compose file to this thread.
 
It needs cron jobs to update the public proxies. Plus depends on services for the Tor section. But it could work with docker-compose. If people want to have a compose file I will do it. Need at least ten likes, and I will add Docker-Compose file to this thread.
Definitively.. but you can update the image with public proxies or you can let the code to self update.

You can have a volume to save stuff to disk persisted.

Or poatgres db to save data.

I only use dockerized apps because they are way more reliable. No need to tweak and waste time
 
TO: All using this method

I have updated the public proxy scraper. Nothing needs to be done on your end just wanted to keep you updated. The scraper is what provides the lists and pushes them to Github. Your server pulls from that list every ten minutes. If you have any problems post theme. I will respond and help.

Best Regards
 
great share! i was finding some good tips for building own proxy server and it's finally here
i'm gonna try it out!!
 
great share! i was finding some good tips for building own proxy server and it's finally here
i'm gonna try it out!!
If you run into any problems feel free to post them I will help. :)
 
I have a questions, how is the quality of the proxies? Is it shared since it’s public, is it ipv4 or ipv6?
Thanks
 
Because I was a newbie and I tried to do the installation but I get like proxy aborted or something like that ... and also after installation.. how am I suppose to use the proxy? where to check to see the public proxies? thanks
 
Because I was a newbie and I tried to do the installation but I get like proxy aborted or something like that ... and also after installation.. how am I suppose to use the proxy? where to check to see the public proxies? thanks

Remember this must run on a clean Debian 9 install. It won't work on any other OS or version of Debian.

To use the proxy replace 1.1.1.1 with the public IP address of your server:

Public Proxies
Code:
curl -x 1.1.1.1:8091 https://ifconfig.me

Tor Proxies
Code:
curl -x 1.1.1.1:8090 https://ifconfig.me

They are both HTTP proxies you will only be able to access them with the IP address in Step 2.

If your still having problems reply I will continue to help.
 
Would a raspberry pi running Debian be good enough to do this? Thanks for sharing this!
 
Would a raspberry pi running Debian be good enough to do this? Thanks for sharing this!
Make sure your using Debian 9
It should work, I haven't tested it. But you will need to change one of the config files.

DM me the output.
Code:
cat /opt/gobetween/gobetween.json

And I will help you
 
For the people who want to control their own proxy, this thread is for you.

TLDR; You will need a Debian 9 clean install from any cloud provider also must run as root user:
Step 1
Code:
wget https://raw.githubusercontent.com/proxyips/freeproxy/main/freeproxy.sh

Step 2
Get your public IP address from your server
Code:
curl https://ifconfig.me

Or
Select your public IP address
Code:
ip a

Step 3
Get the public IP address from the device. You are going to use it to connect to your proxy.
If you are using your computer or a device on your home/office network. Just open up a browser and go to.
Code:
https://ifconfig.me

Step 4
You must now edit freeproxy.sh file. Change the 1.1.1.1 with the IP address from Step 2. Then change 2.2.2.2 with the ip address you got from Step 3. Also, you need to replace change_user with your username and change change_password with your password. Then save the changes.
Code:
nano freeproxy.sh
chmod +x freeproxy.sh
./freeproxy.sh

Step 5
Using the proxy. Now that you have a nice new and shiny dual proxy server. One port connects you to the tor network and the other port connects you to public proxies. I will update the list often and place them in this thread. Remember to change 1.1.1.1 to the address you get in Step 2.
Tor connection
Code:
curl -x 1.1.1.1:8090 https://ifconfig.me
Public proxies
Code:
curl -x 1.1.1.1:8091 https://ifconfig.me

Any question post them. I will reply and help with any questions related to this script.

The script has been posted on GitHub:
Code:
https://github.com/proxyips/freeproxy.git
pull requests welcome
Does the firewall need to be on? I am guessing it needs be, does it effect the steps you have given?
 
Does the firewall need to be on? I am guessing it needs be, does it effect the steps you have given?

You can use a firewall, by default only a few ports are open. Working on an update to be released in a few days. Will have a better install experience.
 
You can use a firewall, by default only a few ports are open. Working on an update to be released in a few days. Will have a better install experience.
One thing I don't understand is why do public proxies come into the picture?
1) So I got the server
2) I make it a proxy server by running the code
3) isn't the proxy(ies) made from my server's IP? So it should be private proxies as it's my server?
 
Thank you so much for sharing, this is amazing
 
Back
Top