[METHOD] How to setup you PRIVATE PROXY on your VPS Cheep

anyone have a solution for automation ??? if i have 100 proxies setup like this ? i'm willing to pay :D

thanks .
 
How much will it cost to setup 100 proxies like this & how much will it cost for a monthly basis,also how many proxies can I setup per vps account?Thanks OP for this great share!
 
How much will it cost to setup 100 proxies like this & how much will it cost for a monthly basis,also how many proxies can I setup per vps account?Thanks OP for this great share!
Yeah, interested as well for this info. Anyone can clarify these? Especially how to setup multiple proxies on the same VPS.
EDIT: Multiple Proxies Setup with Step-4 of Tutorial, right?
 
Last edited:
Does Digitalocean give you multiple IPs if you ask, if so how much do they charge for each? What's the max?
 
Post the contents of your squid.conf file, make sure you use code or pre tags. I'll take a look at it.
 
Post the contents of your squid.conf file, make sure you use code or pre tags. I'll take a look at it.
Code:
#A Port you would like to use
http_port 3128

acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl localnet src fc00::/7 # RFC 4193 local private network range
acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines

acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT

http_access allow manager localhost
http_access deny manager
http_access allow localnet
http_access allow localhost
hierarchy_stoplist cgi-bin ?
coredump_dir /var/spool/squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
refresh_pattern . 0 20% 4320

#If you are on a 32 bit machine, remove the 64 from /lib64/
auth_param basic program /usr/lib64/squid/ncsa_auth /etc/squid/squid_access
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
acl ncsaauth proxy_auth REQUIRED
http_access deny !ncsaauth
http_access allow ncsaauth
forwarded_for off

acl ip1 myip 91.214.114.221
tcp_outgoing_address 91.214.114.221 ip1

request_header_access Allow allow all
request_header_access Authorization allow all
request_header_access WWW-Authenticate allow all
request_header_access Proxy-Authorization allow all
request_header_access Proxy-Authenticate allow all
request_header_access Cache-Control allow all
request_header_access Content-Encoding allow all
request_header_access Content-Length allow all
request_header_access Content-Type allow all
request_header_access Date allow all
request_header_access Expires allow all
request_header_access Host allow all
request_header_access If-Modified-Since allow all
request_header_access Last-Modified allow all
request_header_access Location allow all
request_header_access Pragma allow all
request_header_access Accept allow all
request_header_access Accept-Charset allow all
request_header_access Accept-Encoding allow all
request_header_access Accept-Language allow all
request_header_access Content-Language allow all
request_header_access Mime-Version allow all
request_header_access Retry-After allow all
request_header_access Title allow all
request_header_access Connection allow all
request_header_access Proxy-Connection allow all
request_header_access User-Agent allow all
request_header_access Cookie allow all
request_header_access All deny all
vps.jpg

On image shows CentOS 6.3 but "cat /etc/redhat-release" shows 6.6. (If it helps)

proxy - 91.214.114.221:3128:user:1
 
Last edited:
What version of squid are you using? It's probably 3.1 because you're using centos but I want to make sure.
 
You were pretty far off, but this should work for you:

Code:
## Recommended minimum configuration:
#


# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
acl localnet src 10.0.0.0/8    # RFC1918 possible internal network
acl localnet src 172.16.0.0/12    # RFC1918 possible internal network
acl localnet src 192.168.0.0/16    # RFC1918 possible internal network
acl localnet src fc00::/7       # RFC 4193 local private network range
acl localnet src fe80::/10      # RFC 4291 link-local (directly plugged) machines


acl SSL_ports port 443
acl Safe_ports port 80        # http
acl Safe_ports port 21        # ftp
acl Safe_ports port 443        # https
acl Safe_ports port 70        # gopher
acl Safe_ports port 210        # wais
acl Safe_ports port 1025-65535    # unregistered ports
acl Safe_ports port 280        # http-mgmt
acl Safe_ports port 488        # gss-http
acl Safe_ports port 591        # filemaker
acl Safe_ports port 777        # multiling http
acl CONNECT method CONNECT


forwarded_for off
request_header_access Allow allow all
request_header_access Authorization allow all
request_header_access WWW-Authenticate allow all
request_header_access Proxy-Authorization allow all
request_header_access Proxy-Authenticate allow all
request_header_access Cache-Control allow all
request_header_access Content-Encoding allow all
request_header_access Content-Length allow all
request_header_access Content-Type allow all
request_header_access Date allow all
request_header_access Expires allow all
request_header_access Host allow all
request_header_access If-Modified-Since allow all
request_header_access Last-Modified allow all
request_header_access Location allow all
request_header_access Pragma allow all
request_header_access Accept allow all
request_header_access Accept-Charset allow all
request_header_access Accept-Encoding allow all
request_header_access Accept-Language allow all
request_header_access Content-Language allow all
request_header_access Mime-Version allow all
request_header_access Retry-After allow all
request_header_access Title allow all
request_header_access Connection allow all
request_header_access Proxy-Connection allow all
request_header_access User-Agent allow all
request_header_access Cookie allow all
request_header_access All deny all
cache deny all

#
# Recommended minimum Access Permission configuration:
#
# Only allow cachemgr access from localhost
http_access allow manager localhost
http_access deny manager


# Deny requests to certain unsafe ports
http_access deny !Safe_ports


# Deny CONNECT to other than secure SSL ports
http_access deny CONNECT !SSL_ports


# Add your home IP after src
acl user1 src 192.168.0.1


# Squid normally listens to port 3128
http_port 3128


# Define Port
acl port1 myport 3128


# All outgoing IPs
tcp_outgoing_address 91.214.114.221 port1


# Define IP
acl ip1 myip 91.214.114.221


http_access allow user1 ip1
http_access deny all


# Turn off persistent connections
server_persistent_connections off

Change 192.168.0.1 with your home computer's IP, and then run:

Code:
service squid reload

Your proxy will be 91.214.114.221:3128 I might've missed something, let me know if it works.
 
whene reload
Code:
 2015/03/20 12:51:18| aclParseAclList: ACL name 'manager' not found.
FATAL: Bungled squid.conf line 65: http_access allow manager localhost
Squid Cache (Version 3.1.10): Terminated abnormally.
CPU Usage: 0.007 seconds = 0.003 user + 0.004 sys
Maximum Resident Size: 22864 KB
Page faults with physical i/o: 0
 
How much will it cost to setup 100 proxies like this & how much will it cost for a monthly basis,also how many proxies can I setup per vps account?Thanks OP for this great share!

Would also like to know the answer.
 
DigitalOcean only provides a single IP per server instance. Therefore, it will cost you $0.007/hr/proxy. So, for 100 proxies the cost will be $0.7 per hour, or nearly $17/day, or $504/month. Note that, DigitalOcean limits a new account to max 5 server instances. If you need to create more than 5 proxies using this method, you will have to contact their support and ask them to increase the droplet limits.
 
Added
Code:
acl manager proto cache_object
and squid reloaded
but proxy don't work.
if you can help i can give (PM) you Login and Pass to vps to whach a problem
(sorry for bad English)
 
whene reload
Code:
 2015/03/20 12:51:18| aclParseAclList: ACL name 'manager' not found.
FATAL: Bungled squid.conf line 65: http_access allow manager localhost
Squid Cache (Version 3.1.10): Terminated abnormally.
CPU Usage: 0.007 seconds = 0.003 user + 0.004 sys
Maximum Resident Size: 22864 KB
Page faults with physical i/o: 0

Comment out these lines by adding # in front of them, and try again:

Code:
#[COLOR=#FFFFCC]http_access allow manager localhost
[/COLOR][COLOR=#FFFFCC]#http_access deny manager[/COLOR]
 
Added
Code:
acl manager proto cache_object
and squid reloaded
but proxy don't work.
if you can help i can give (PM) you Login and Pass to vps to whach a problem
(sorry for bad English)

Remove this line and do what I posted above.
 
What good with this then? Let's say I make one which mean I would only have one proxy. It's just ONE proxy which can easily get blacklisted/flagged on Foogle when used on Scrapebox
 
Back
Top