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

great tutorial here it really is helpful for people that don't use proxies 24/7, i do have a question though, if your home ip changes often (is dynamic) is there a way to accept connections from any ip as long as they provide the correct username and password associated with the proxy?
 
I can write a method how to make a socks5 proxy with Centos vps but i can't write a thread because i've not permission to write a link for downloading a *.RPM file for centos :(
 
I can write a method how to make a socks5 proxy with Centos vps but i can't write a thread because i've not permission to write a link for downloading a *.RPM file for centos :(

post a little more until you get the permission to do that ;)
 
Nice tutorial you got there and no issues with your english bud :)
 
Its a good method that I know but its not something I need right now as it will be more expensive and time consuming as simply paying a monthly fee for dedicate proxy.

Also you can have affiliate links as long you provide the same link with no affiliate, this is the rules and your reputation will not be damaged lol
 
Hi it is a good method but it didn't work form me (coldn't make it) but thanks to your method i found out how to make a socks5 proxy on Cetos.
 
What are the requirements for the VPS for this method in terms of IPv4 and IPv6? I don't know much about this so I may be asking a question that doesn't even matter with setting up the proxy. Reason I am asking is because I have seen multiple VPS offers that has a dedicated IPv4 or NAT IPv4 and the IPv6 is not available or some say /64 or /80. What should I be looking for in terms of IPv4 and IPv6?
 
I tried this, it seemed really interesting since i only need my proxies for a couple of hours a day. At the end of the day the benefit about the price per hour seems to be very time consuming, since you get charged when the droplet is working, and even if you turn it off it stills charges you because it stores the IP and data of the proxys. So your option would be to eliminate the droplet and reinstall it again everytime you are gonna use the proxy, with so many password changes and actions required that is kind of annoying... Well it was still interesting to install my own proxies at least, and cheap to test, i got fun and i'm thinking i would like to test more stuff like this. It is still cheaper to go the private proxy route though.
 
Last edited:
would this method work with other vps or just digitalocean? and digitalocean has banned people in the past, do you think they can ban you for using their vps as private proxies?
 
Why do you need such a setup, only for privacy matters or do you use it for SEO tools.. I have just private proxy installed and that works fine!
 
Folks i need assistance. The thread starter states "erase all in the squid conf (ctrl K)" & that we should c&P his code in the .conf. My question is how the heck do i do that!? It is not as simple as windows cut and paste. i
And for those asking how much will it cost. I paid 5 dollars and managed to get 25 dollars in credit. Im trying to use this for Ebay.
 
What are the requirements for the VPS for this method in terms of IPv4 and IPv6? I don't know much about this so I may be asking a question that doesn't even matter with setting up the proxy. Reason I am asking is because I have seen multiple VPS offers that has a dedicated IPv4 or NAT IPv4 and the IPv6 is not available or some say /64 or /80. What should I be looking for in terms of IPv4 and IPv6?

of course you should look for ipv4, however from my knowledge the max nr. of ips you can get using a vps is a /29 and this means

Ex:
Address: 192.168.0.12
Netmask: 255.255.255.248 = 29
Network: 192.168.0.12/29
HostMin: 192.168.0.13
HostMax: 192.168.0.18
Broadcast: 192.168.0.19
Hosts/Net: 6 (this is the max number of ips you can get / vps)

You can also see that OP in his screenshots is testing the proxies on his software and the number of the ips is 6
also there are many other things that needs to take into consideration when you set up squid (cache software) on a vps, like iptables, etc ..
what i recommend if you want to be productive is to install and use dante socks4/5 on the vps and not squid, squid is not made for being use on virtual machines
 
Guys i know this is an old thread, but i relay need some help here,
i follow the instruction , but get error when tried to create user
when i try touch /etc/squid/squid_access; htpasswd /etc/squid/squid_access myproxy1
the error :-bash: htpasswd: command not found

my server centos 6.8
please somebody help me out
 
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.
******the above worked flawlessly******
im using putty with ssh google
how-to-route-web-traffic-securely-without-a-vpn-using-a-socks-tunnel
 
Guys i know this is an old thread, but i relay need some help here,
i follow the instruction , but get error when tried to create user
when i try touch /etc/squid/squid_access; htpasswd /etc/squid/squid_access myproxy1
the error :-bash: htpasswd: command not found

my server centos 6.8
please somebody help me out
****try a newer version of centos ****
 
****try a newer version of centos ****
don't even do the password thing...simply d/l puttygen to make you some SSH keys . upload those to your vpn site and one on your computer. that is how I do it . so when you type the above script leave that portion out
 
great tutorial here it really is helpful for people that don't use proxies 24/7, i do have a question though, if your home ip changes often (is dynamic) is there a way to accept connections from any ip as long as they provide the correct username and password associated with the proxy?
Did you find the answer?
 
@OP: Thanks for the valuable share bro. It seemed to techy for me, so I asked my IT Dev to set these little proxy servers for me for varuous projects. :D
 
Back
Top