Take note I'm no pro, I'm as green as the grass && wet behind the ears!
Only difference is I make sure to study or learn something new daily.
So let's build a proxy server && solve some peoples issues of shitty proxies..
we won't get technical too fast by connecting load balancers like haproxy etc
have you heard of createproxy.com , it's a fucken scam to be honest, thats my opinion!
They claim they offer you tools to generate proxies bkah blah blah..
All his done is taken 3proxy && haproxy (Load Balancer) with a custom script to generate httpiv4 && httpiv6 and now his charging $24 + for memberships with no support etc!
I DDOS him daily cause I'd like him to burn for ripping people with free tools..
Anyways, lets build a proxy server using squid. Many companies such netflix; amazon etc use squid daily ...
what you need??
-Patience
-Ability to learn
-Don't give up if you don't get it right, research then fuck out of what ever issue you have
- A cloud VPS (Ubuntu;Debian;Centos)
&& most importantly ...
- Copy Paste Skills :)
ok lets start..
- Create your vps
- Ssh into vps && do you upgrades etc
- Then you need to import the following
It'll auto install squid for you.
Once done we edit the config
Once open scroll down until you see a line starting with "acl"
Now we need to add your ip to the white list
example: 1.1.1.1/24
right, now scroll down a bit .. No i'm kidding head all the way to the top,
you'll see the following...
http_port 3128
Let's add a few more ports to the server... (Remember depending on your hosting you will need to open these ports via firewall)
http_port 3129
http_port 3130
http_port 3131
My minds fuzzy due to lack of sleep, I cant remember how many outgoing connections squid can handle , just research that.
Also if you have got a low end vps with low ram dont add to many ports at all .
On my server's I've got 1000 ports open but I have load balancers && all that.
Okay once done, you'll need to add a username && password for auth.
just type the following:
squid-add-user
or if that doesn't work
sudo /usr/bin/htpasswd -b -c /etc/squid/passwd USERNAME_HERE PASSWORD_HER
Now restart the services.
sudo systemctl restart squid.service
check the status
sudo systemctl status squid.service
If all is fine bam, you are done.
Your proxies will look like this,
serverip:3128:username:pass
example :
10.0.1.4:3128:dick:head
10.0.1.3:3128:dick:head
etc
For those of you who have more than one ip address on a server import the following script
NOTE: This is only needed if you have more than one IP on your server.
Before you can configure squid to use muliple IP address, you need to add IP to your server and you should be able to connect to server using these IPs.
Once IP added to your server, you can configure it to use with squid proxy by running following command
Ok im off to bed ..
A like will not kill you ..
I might if you don't leave one
Only difference is I make sure to study or learn something new daily.
So let's build a proxy server && solve some peoples issues of shitty proxies..
we won't get technical too fast by connecting load balancers like haproxy etc
have you heard of createproxy.com , it's a fucken scam to be honest, thats my opinion!
They claim they offer you tools to generate proxies bkah blah blah..
All his done is taken 3proxy && haproxy (Load Balancer) with a custom script to generate httpiv4 && httpiv6 and now his charging $24 + for memberships with no support etc!
I DDOS him daily cause I'd like him to burn for ripping people with free tools..
Anyways, lets build a proxy server using squid. Many companies such netflix; amazon etc use squid daily ...
what you need??
-Patience
-Ability to learn
-Don't give up if you don't get it right, research then fuck out of what ever issue you have
- A cloud VPS (Ubuntu;Debian;Centos)
&& most importantly ...
- Copy Paste Skills :)
ok lets start..
- Create your vps
- Ssh into vps && do you upgrades etc
- Then you need to import the following
It'll auto install squid for you.
Once done we edit the config
Once open scroll down until you see a line starting with "acl"
Now we need to add your ip to the white list
example: 1.1.1.1/24
right, now scroll down a bit .. No i'm kidding head all the way to the top,
you'll see the following...
http_port 3128
Let's add a few more ports to the server... (Remember depending on your hosting you will need to open these ports via firewall)
http_port 3129
http_port 3130
http_port 3131
My minds fuzzy due to lack of sleep, I cant remember how many outgoing connections squid can handle , just research that.
Also if you have got a low end vps with low ram dont add to many ports at all .
On my server's I've got 1000 ports open but I have load balancers && all that.
Okay once done, you'll need to add a username && password for auth.
just type the following:
squid-add-user
or if that doesn't work
sudo /usr/bin/htpasswd -b -c /etc/squid/passwd USERNAME_HERE PASSWORD_HER
Now restart the services.
sudo systemctl restart squid.service
check the status
sudo systemctl status squid.service
If all is fine bam, you are done.
Your proxies will look like this,
serverip:3128:username:pass
example :
10.0.1.4:3128:dick:head
10.0.1.3:3128:dick:head
etc
For those of you who have more than one ip address on a server import the following script
NOTE: This is only needed if you have more than one IP on your server.
Before you can configure squid to use muliple IP address, you need to add IP to your server and you should be able to connect to server using these IPs.
Once IP added to your server, you can configure it to use with squid proxy by running following command
Ok im off to bed ..
A like will not kill you ..
I might if you don't leave one