OneLine VPN Back

How to get a server

One action at a time. Do them in order.

What you need before starting

  • A computer (Windows, Mac, or Linux)
  • A bank card
  • Telegram
  • About 20 minutes

Checklist

  1. 01

    Open a provider and make an account

    Use your email. Any one of these is fine. Prices change, so read the price there. No referral codes.

    Hetzner Cloud, DigitalOcean, Vultr, Contabo.

    You will see: a page that asks for your email.

    Stuck? Try the next name on the list.

  2. 02

    Press the button that makes a new server

    You will see: words like Create, Deploy, or New server.

    Stuck? Look for a plus sign or the word Add.

  3. 03

    Pick a city close to your family

    You will see: a list of cities. For example, Frankfurt (Germany), Amsterdam (Netherlands) or New York (USA).

    Stuck? Any city is fine. Closer is a little faster.

  4. 04

    Choose Ubuntu 24.04

    You will see: a list of system names. Select Ubuntu 24.04. Ubuntu 22.04 is also fine.

    The row you want says Selected.
    Ubuntu 22.04
    Ubuntu 24.04Selected

    Stuck? If you only see Ubuntu 22.04, choose that.

  5. 05

    Choose the smallest size

    1 vCPU, 1 GB of memory, 10 GB of disk. About $4–6 a month is enough for about 10 devices.

    Pick the small one.
    1 vCPU · 1 GB · 10 GBSelected
    2 vCPU · 2 GB · 40 GB

    Stuck? Do not pick a bigger size.

  6. 06

    Type a password and save it

    Write it somewhere only you can open.

    You will see: a password box.

    Stuck? If the form asks for a key, leave that empty and use the password.

  7. 07

    Press create, then wait

    You will see: the status change to Running. Often under a minute.

    Stuck? Wait one more minute, then refresh the page.

  8. 08

    Copy the address

    It is four numbers with dots.

    Copy the IPv4 line.
    IPv4203.0.113.10
    Userroot
    StatusRunning

    Stuck? Copy the IPv4 line, not a longer number.

  9. 09

    On Windows, open Terminal

    Click Start. Type Terminal. Press Enter.

    Start search.
    Terminal

    Stuck? Skip this step if you are on a Mac.

  10. 10

    On a Mac, open Terminal

    Press Command and the space bar. Type Terminal. Press Enter.

    Spotlight search.
    Terminal

    Stuck? Skip this step if you are on Windows.

  11. 11

    Paste the connection line

    Replace YOUR_IP with the address you copied. Example: ssh [email protected]. Press Enter.

    ssh root@YOUR_IP

    You will see: a question that ends with yes/no.

    Stuck? Connection timed out means the address is wrong, or the server is still starting. Check the IPv4 and wait a minute.

  12. 12

    Type yes and press Enter

    Are you sure you want to continue connecting (yes/no)? yes

    Stuck? Type the three letters y, e, s. Then Enter.

  13. 13

    Type the password and press Enter

    Nothing appears while you type. No dots. That is normal.

    password: (invisible while you type)

    Stuck? Permission denied means the password was wrong. Connect again and retype it slowly.

  14. 14

    Paste the install line and press Enter

    curl -fsSL https://onelinevpn.com/install | sudo bash

    You will see: two questions, first a token, then a number.

    Stuck? Get those two answers in the next steps, then paste them.

  15. 15

    Open BotFather

    In Telegram, tap Search. Type BotFather. Tap the one with a blue check.

    You will see: a chat named BotFather.

    Stuck? The name is one word: BotFather.

  16. 16

    Send /newbot

    Type /newbot and tap the send arrow.

    You will see: “What should it be called?”

    Stuck? The slash at the start is required.

  17. 17

    Type a name, then a username

    For the name, type Family and send. For the username, type a word that ends in bot, such as FamilyLineBot, and send.

    The last message has the token. This sample is not real.

    /newbot

    What should it be called?

    Family

    Now a username ending in bot.

    FamilyLineBot

    Done. Token:
    123456789:AA_example_not_a_real_token

    You will see: a long token with a colon. Copy all of it.

    Stuck? If the username is taken, add a few digits and try again.

  18. 18

    Get your number from @userinfobot

    Search @userinfobot. Press Start. Copy the Id number. It is not your phone number.

    Copy the Id. The number below is an example.

    Start

    Id: 100000001

    Stuck? Open the chat again and press Start.

  19. 19

    Paste the token, then the number

    Back in the black window: paste the token, press Enter, paste the Id, press Enter.

    You will see: Done, open @YourBot and press /start

    Готово / Done, open @FamilyLineBot and press /start

    Stuck? If the token is rejected, copy it again from BotFather and run the install line again.

  20. 20

    On your phone, open the bot and press Start

    Then install AmneziaVPN and import the file or QR the bot sends.

    App Store, Google Play, desktop downloads.

    Stuck? In Telegram, search the bot name you just created.