Creating mobile proxies on Linux Ubuntu and USB modems

There are many instructions on the Internet for creating mobile proxies on Linux, but as a rule, this is a long “footcloth” of listings of bash scripts and console commands. Most enthusiasts, having seen these “step-by-step instructions”, come to the conclusion that it would be better to rent and not bother. Our solution is so easy to install and operate that even if you have basic PC knowledge, you can easily install and configure a proxy.

Required equipment

In this LTE proxy implementation scheme we will need:

computer (server)

The choice of server configuration depends on the number of modems to be installed. For 5 modems, a 4-core mini-computer is enough for us

4G/LTE Modem

our software supports usb modems and routers

USB hub/switch

for our 5 ports, almost any one will do, or a switch (for routers)

Internet

wired fiber optic Internet

Router

for 5 modems, an inexpensive model will be enough for us, but if you want to install more modems in the future, it is better to take one with gigabit ports

How to buy and download

Purchasing a license and downloading the distribution

First, we will need to register on the site and pay for a license. Registration and purchase procedure:

  • Fill out the registration form
  • Confirm your email in a letter from our service by clicking on the link;

After payment You receive an email with a link to download the distribution and enter the “external” IP address of the server.

You can also get to the “My Licenses” section through the user menu on the website.

Installation on Linux Ubuntu 18.04 server

Your server must have Ubuntu 18.04.x ​​server installed. You can download the operating system distribution on the official website https://releases.ubuntu.com/18.04/ubuntu-18.04.6-live-server-amd64.iso or via torrent https://releases.ubuntu.com/18.04/ubuntu-18.04.6-live-server-amd64.iso.torrent

You can download the "kraken-proxy" distribution using the wget utility. The only condition is that the “external” IP address of your server must be added to the license section in your personal account.

The entire installation process must be performed under the root user

BASH
wget https://kraken-proxy.com/static/kraken.sh
    

After downloading, set the execution permission and run the installation script. If you need to install a specific version, then specify the argument "--ver", for example: kraken.sh --ver

BASH
sudo chmod ugo+x kraken.sh
sudo ./kraken.sh
    

During the installation process, you must enter administrator information:

  • Login
  • Email
  • Password

E -mail - is necessary to restore access and send notifications about the status of the server, modems and other parameters.

BASH
Имя пользователя (leave blank to use 'admin'):admin
Email адрес: mail@yandex.ru
Password:*******
Password (again):*******
Superuser created successfully.
    

The next stage of installation will be setting up the smtp (mail) server. You can use any free mailer for example yandex:

  • Host: smtp.yandex.ru
  • Port: 465
BASH
E-mail - адрес ящика для отравки: mail@yandex.ru
Адрес smtp сервера: smtp.yandex.ru
smtp порт сервера: 465
Логин (адрес почты): mail@yandex.ru
Пароль от ящика:******
Использовать SSL (Y/N): Y
    

When installation is complete, you will receive a message indicating successful installation

BASH
Доступ RestAPI <внешний или локальный ip>:8000
Панель управления <внешний или локальный ip>:8080
    

If errors occurred during the installation process, attach the log file /tmp/install_kraken.debug in a letter, the template subject of the letter is and send to info@kraken-proxy.ru


Forcing the installation to start. If errors occurred during the installation process, this method will ignore already installed packages.

BASH
sudo ./kraken.sh -f
    

Useful information