First you need your own VPS Server if you dont know how to start check this article
HOW TO CREATE YOUR OWN VPS (VIRTUAL PRIVATE SERVER)
1. What Services?
A. These are programs that you simply install on the server, and since they're not simply demanded and expected to continually be obtainable, it always runs within the background.
B. Examples that are conversant in the Proxy, SSH, OpenVPN, and ShadowSocks. And yes, LAMP and MySQL are services for net developers there.
2. What are the issues to contemplate once creating Services?
Note: give me a little off-topic for more background.
A. instruction. Prepare yourself exploitation the instruction. get older and take it as a challenge. If you are here and reading, it suggests that you are doing not wish to be a starter. therefore if you are very deciding to be told, i will be there for you, it's basics!
B. Config Files. No cry, haha! nearly the majority choices and configurations ar within the file you edit. don't rummage around for your click simply checkbox ok. rummage around for google or ÿôutubê the "Nano Editor" for fewer head-ups.
C. Linux Distro and Version. every Linux category includes a completely different "Package Manager" (or software system that manages the installation.) that means with commands that may not add different distros. In versions, at identical time, the distinction is that the version variety (ex. 6.2 vs. 7.0) is completely different from the core. typically different commands on firewall, networking, etc. therefore bear in mind. however don't be frightened, simply wet within the internet.
D. software system Versions. There ar several tutorials on the web, however let's note that dissentent|completely different} versions of every tutorial differ. check that each ar put in. typically the options we tend to ar yearning for in an exceedingly specific version of the pala. therefore continually check.
E. Ports. Get a decent information concerning the same old ports (ex. Http = 80, https = 443, ftp = 21, ssh = 22, proxy = 3128, etc. raise nyo google for a lot of infos.) What will it connect? Well, if you create a Proxy Service then run on port eighty or 443, then you put in an online Service, you create headache, conflicts in fact. Or create a Proxy Service then you may be running SSH, however with no proxy config you've got entered port twenty two, you are crying for 403 responses.
F. Firewalls. Since our services ar accessible through ports, bear in mind of what's known as a firewall. it's either interference, raiding, masking or aallow.
G. simply finish. nice facilitate with the thought of them to assist you troubleshoot. therefore if the service doesn't work,
(1) initial suspect, will the port enable the firewall?
(2) is that the config file placed on your port?
(3) will the service work?
(4) will anyone else use the port? Please facilitate Pine Tree State. the remainder is up to your lovely brain, you can.
EXTENDED half
This is for you to not simply hang around as a result of we've separate threads for doing services. See the top of this Post for details.
How to create services? Yehey!
Let's do this. initial we tend to get the service that you simply will use in real time so on.
HOW TO produce A PROXY SERVER
1. what's Proxy Server? From the word "proxy" (you're a married person World Health Organization has not arrived, hahaha! you are looking for a proxy. Haha!) therefore rather than seeing webservers World Health Organization ar requesting an internet site, the Proxy Server IP they see.
2. once you connect with Proxy, it creates an instantaneous tunnel between your server and your device. therefore wherever your server is currently and google is responding (google thinks you are in Singapore therefore google.com.sg is supplying you with that website)
3. that is right, let's have fun! Open MobaXterm! Please connect with the server as careful partially one. (Look at the quantity of unsuccessful logins in my screenshot, i am going to create those bruteforce, welcome to the important world! Haha!)
4. First command we are: (not with pound or sharp sign "#")
=====================
# yum -y install squid
=====================
"Yum" is the name of our Package Manager, then "-y" is yes in advanced with what it asks. Then "squid" is the name of our software (Squid Proxy Server). Just cut and paste in MobaXterm, then hit enter.
5. Then cut and paste:
=====================
# systemctl enable squid.service
=====================
Hit enter again. It's normal to have no response but next command line as in screenshot. It means successful. "Systemctl" is that managing services, "enable squid.service" means our Proxy is in the background and will automatically run when it comes.
6. Time to edit the config file:
=====================
# nano /etc/squid/squid.conf
=====================
Cut, paste and hit enter. Then welcome to Nano Editor. Use keyboard arrows to navigate.
First things first, make sure all you pass on the Proxy is listed on its ports it allow. So if you run SSH, add port 22 both to "Safe_ports" and "SSL_ports". This rule applies to all services that you like.
As in my screenshot, we will add:
---------------------------------------------
acl Safe_ports port 22
acl SSL_ports port 22
---------------------------------------------
For us to use the proxy publicly. Scroll down until we find "http_access deny all" to change:
---------------------------------------------
http_access allow all
---------------------------------------------
Then we can hit the keyboard combo "CTRL + X" then a question will appear, please answer "Y", then hit "enter".
7. Setup the firewall,
=====================
# firewall-cmd --zone = public --add-service = squid --permanent
=====================
Then reload,
=====================
# firewall-cmd --reload
=====================
Then restart Squid Proxy,
=====================
# systemctl restart squid
=====================
8. Here we are lets test it. Open browser at - http://www.httptunnel.ge/ProxyChecker.aspx
Enter the IP address of your VPS then port 3128.
Wow! How can such a proxy hunt? Green all ... Tsk! Hahaha! It would be nice if you did it yourself! :)
9. But I know that you do not want everyone to use your proxy? (But you, come from free proxy, hahaha!). So let's go further and create a username and password.
We install authenticator tools
=====================
# yum -y install httpd-tools
=====================
Then prep a file,
=====================
# touch / etc / squid / passwd && chown squid / etc / squid / passwd
=====================
Then create USER that for example "kapinoytutuser", this is my "htpasswd -m / etc / squid / passwd kapinoytutuser", the username you replace with the code,
=====================
# htpasswd -m / etc / squid / passwd [username]
=====================
It will ask for a password
Then test it if we did it right,
=====================
# / usr / lib64 / squid / basic_ncsa_auth / etc / squid / passwd
=====================
Wait for that input, type in the username you created, then space then password. In the sample is the same as the username and password (just sample it) so I put it "kapinoytutuser kapinoytutcuser" then enter.
There will be OK if successful. Then hit keyboard combo CTRL + C to exit checking.
Not yet done, one last edit is to request a password squid. Please edit us:
=====================
# Nano /etc/squid/squid.conf
=====================
Then simple, just put it at the end of the file
---------------------------------------------
auth_param basic program / usr / lib64 / squid / basic_ncsa_auth / etc / squid / passwd
auth_param basic children 5
auth_param basic realm Squid Basic Authentication
auth_param basic credentialsttl 2 hours
acl auth_users proxy_auth REQUIRED
http_access allow auth_users
---------------------------------------------
CTRL + X, enter then restart Squid Proxy again,
=====================
# systemctl restart squid
=====================
10. What next? Time to use it. Enjoy!
NEXT LEARNING?
COMMENTS