Introduction

You may need a VPN/Proxy to hide your web surfing activities. BTW, you may want to use free VPN softwares/applications or even purchase them from some service providers. But, if you have experienced, there are lots of issues with — e.g. the connectivity problems, bandwidth, speed, and traffic limit of the services. We have a better solution to get rid of such issues. The solution is to build your own, yourself!

 

Requirements

  • If you are an amateur, skip this tutorial.
  • If you already have a VPS (Virtual Private Server), skip this step. If not, you need to buy one from a reliable hosting. You can choose a plan whatever you need. Be careful to read the hosting Terms of Services.

 

Solution

  1. After you bought a server, install a Linux Operating System on the server — prefer using CentOS.
  2. Download and install PuTTY on your system running Windows.
  3. Now, connect to your server’s command line using the software by entering your login credentials.
  4. Create a new user using the command below — to be used for SSH tunneling:
    sudo adduser proxy
  5. Specify a password for the user:
    sudo passwd proxy
  6. Now, edit your SSH Configuration File using an editor:
    nano /etc/ssh/sshd_config
  7. Append the line below to the file — it will allow the user to use SSH:
    allowuser proxy
  8. Restart the SSH service by:
    service sshd restart
  9. Create a shortcut on your desktop of your PC running Windows.
  10. Type the command below to the Shortcut location text box:
    C:\Windows\System32\cmd.exe /c echo y | PLINK.exe <server_host> -l proxy -pw <password> -P <ssh_port> -D 127.0.0.1:1080 -N -no-antispoof

    Where <server_host> is your server’s IP address or Domain, <password> is the SSH login password, and <ssh_port> is the server’s SSH port – by default will be 22.

  11. After you create the shortcut, the icon of the file will be changed to Command Prompt icon — looks like a black window.
  12. Double-click the shortcut to launch it.
  13. As you see, a black window including some texts will be shown.
  14. Wait for the prompt of:
    Using username "proxy".
  15. Now download and install Mozilla Firefox web browser, then launch it.
  16. On the Menu, go to Options.
  17. In General tab, scroll down to see Network Settings section. Click the Settings button.
  18. A window titled Connection Settings pops up.
  19. Check the option: Manual proxy configuration
  20. In the SOCKS host text box, type 127.0.0.1 and specify 1080 as the port.
  21. Be sure to check the options Proxy DNS when using SOCKS v5 and Enable DNS over HTTPS. Also, set the Use Provider to Cloudflare.
  22. Now, navigate to the following link using Firefox to see whether your real IP has changed or not: LinuTech IP Viewer
  23. It will show an IP. Make sure it’s your server’s IP address. To verify, connect to your server by SSH and execute the command below to see your server’s IP address:
    curl https://api.linu.tech/ip/?f=RAW
  24. If the verification was successful, go and enjoy surfing the web!

 

Conclusion

Simply, you have created your own IP hide service and no challenges about public VPN applications.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments