Create a socks5 proxy server to bypass blocking


In this article for dummies we clarify how to create a socks5 proxy server to bypass the Telegram/Vkontakte/Yandex/Odnoklassniki and other websites blocking.

Read also:

  • Espionage for Android and iOS
  • Learn someone else’s IP
  • How to hack a Wi-Fi network and protect it
  • Creating a SOCKS5 server
  • Creating a VPN:
  • Streisand
  • Softether VPN
  • Algo VPN
  • OpenVPN
  • PPTP
  • L2TP / IPsec
  • Route all the traffic through TOR
  • Turning Chrome into Tor

Creating socks5 proxy

As servers are provided by hosting providers, you need first to sign up for them to know who they are dealing with.

Signing up at hosting provider

The DigitalOcean provider is the most stable and efficient and has the most favourable tariffs. Click the link (get 10$ for free)  and sign up:

  • Enter your email address
  • Create and enter a password

    Create a socks5 proxy server to bypass blocking

  • Click Create an Account

  • Get into your email account and complete registration by clicking a link in the confirmation emailCreate a socks5 proxy server to bypass blocking

The registration is completed. The next step is adding a bank card.

Adding a debit/credit card

After registration you have to enter payment information. You need to have a debit/credit card which is accepted for online payments.

Create a socks5 proxy server to bypass blocking

Use English while entering the data.

Then, we move on to the third step – choosing and creating a server.

Creating a personal server

Let’s get down to how to create a personal server (you can also create a website or personal cloud drive like Yandex disk or DropBox on this server). The DigitalOcean provider calls them Droplet.

Click Create Droplet and then you will be redirected to the page for creating server configurations:

  • In Choose an image section choose the Ubuntu distribution (16.04×64 recommended)

  • Choose a tariff of 5$ per month or 0,007 cents per hour.
    Create a socks5 proxy server to bypass blocking

  • Choose a datacenter region, which in the future will emulate your location (if you select the US city, the IP will be American). Moreover, it should be noted that the closer to the server you are, the faster you will load pages and files.

    Create a socks5 proxy server to bypass blocking

  • At the end click CREATE to create Droplet (a server)

    Create a socks5 proxy server to bypass blocking

    Creating takes 2-5 minutes. Then you will receive an email with the server’s IP address, login (usually root), and a password.

Create a socks5 proxy server to bypass blocking

You can also learn IP on the main Droplet control page. Let’s move on to creating from a regular server in the VPN.

Creating SOCKS5 Dante proxy server

Further we will tell how to connect to the server and what packages need to be installed to make it work!

Connecting to the server

In order to somehow manage the server (command line), you need a tool. In our case it’s the PuTTY utility, which you need to download and install.

After installation, run PuTTY, specify the IP address and click OPEN.

Create a socks5 proxy server to bypass blocking

  1. Then you need to enter your login (root)
  2. You are required to change the received password immediatelyCreate a socks5 proxy server to bypass blocking


    • password – “old”, current password

    • (Curent) UNIX password – confirm password

    • Enter new UNIX password – enter a new password

    • Retype new Unix password – confirm a new password

Update the Ubuntu server software:

sudo apt-get update && sudo apt-get upgrade -y

Setting up Dante

Download Dante from the server:


Download gdebi, the additional package, and install Dante:

sudo apt-get install gdebi-core
gdebi dante-server_1.4.1-1_amd64.deb

There will be lots of errors, just ignore them.

Now we need to know which network interface our IP is on. For this we enter the command:


And get about the same:Create a socks5 proxy server to bypass blocking

In this example, the interface is eth0. Write your network interface in the notepad.

Now let’s configure the proxy server. Clear the config, enter the command:


And make changes with the nano text editor:

nano /etc/danted.conf

We make our configuration:

logoutput: syslog
user.privileged: root
user.unprivileged: nobody

internal: port=1080

external: eth0

socksmethod: none
clientmethod: none

client pass {
        from: to:
        log: connect disconnect error

socks pass {
        from: to:
        log: connect disconnect error

In the line “external: eth0” you must specify your interface! Save your changes!

Start Dante SOCKS5 server:

service danted start

All set!

We will add a video on SOCKS5 server configuration and SOCKS5 server configuration on various devices shortly.

How to add a login and password to maintain privacy?

Create a login (Linux user) and password:

sudo useradd YourLogin && sudo passwd YourPassword

Change the file /etc/danted.conf again, enter the command:

nano /etc/danted.conf

Change the line socksmethod from none to username:

socksmethod: username
clientmethod: none
client pass {

Restart the server 
service danted restart

Any questions left? Post them in comments and tell whether you’ve succeed or failed.

That’s it! More useful articles and instructions can be found in the articles section and Linux Hacks. Stay with the Android + 1! It will be even more interesting!