How to Install socks5-proxy-server on Ubuntu Server Latest

Introduction

Socks5-proxy-server is a lightweight and flexible proxy server written in Go that allows users to access the internet anonymously. The server provides support for both SOCKS5 and SOCKS4 protocols making it an ideal choice for those who are concerned about their online privacy.

In this tutorial, we will show you how to install socks5-proxy-server which is from https://github.com/nskondratev/socks5-proxy-server on Ubuntu Server latest.

Prerequisites

To follow this tutorial, you will need the following prerequisites:

Step 1: Install Go

The first step of installing socks5-proxy-server is to install Go language. Follow the command below.

$ sudo apt-get update
$ sudo apt-get install -y golang

Step 2: Install socks5-proxy-server from Github

After installing Go, the next step is to install socks5-proxy-server directly from Github.

Create a new directory using the command below and navigate into it.

$ mkdir socks5-proxy-server && cd socks5-proxy-server

once inside the new directory, Run the command below to clone the Git repository.

$ git clone https://github.com/nskondratev/socks5-proxy-server.git

Step 3: Build socks5-proxy-server

After cloning the Git repository, navigate to the root directory of the repository using the command below.

$ cd socks5-proxy-server

Now, build the server with the go build command.

$ go build

This process will create an executable binary file called socks5-proxy-server in the directory.

Step 4: Configure socks5-proxy-server

Since the server is not yet configured, create a folder to keep the file configuration of socks5-proxy-server in.

$ mkdir configs && cd configs

Next, create a new configuration file and save it in the newly created folder directory.

$ touch config.json

using your editor, open the config.json file and add the following code.

{
    "Bind": "127.0.0.1:1080",
    "Username": "username",
    "Password": "password",
    "AuthType": "none"
}

Replace the username and password with your preferred credentials.

Step 5: Run socks5-proxy-server

After configuring the server, it's time to run it.

$ ./socks5-proxy-server

The server should output some logs, including the ports used to listen for incoming requests.

Step 6: Test the socks5-proxy-server

Open your local computer's internet browser and navigate to the Proxy Settings. On the Proxy Settings tab, set the IP address to your server's IP address and the port to 1080.

Save the changes, and you're ready to use socks5-proxy-server.

Conclusion

Socks5-proxy-server is an excellent open-source alternative to commercial proxy server software. In this tutorial, we have shown you how to install socks5-proxy-server from Github and configure it. While we've only scratched the surface of the possibilities of the proxy server, you should now have an understanding of how to get socks5-proxy-server up and running on your Ubuntu Server Latest.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!