Top.Mail.Ru

How to order and initially configure RouterOS CHR on VPS

How to order and initially configure RouterOS CHR on VPS

RouterOS CHR is a virtual version of RouterOS from MikroTik, which can be installed on a VPS and use the virtual server as a full-fledged router. For example, this is very convenient when you do not want to purchase physical hardware, but want to test the capabilities of a well-known OS. Next, we will tell you how to design and basicly configure a network so that the server goes online and is ready for further work.

1. Go to billing and order a virtual server. At the stage of choosing an operating system, instead of the usual Ubuntu or CentOS, select the “Other” section, and then RouterOS CHR. Once the order is confirmed, the system will automatically begin installation and the server will begin to activate.

Image3

2. When the VPS is ready, you will receive a notification by email and in the panel. After that, go to billing, open the VPS/VDS section, find the new server in the list, select it and click the “Go” button.

Image1

Image1

You will find yourself in the virtual machine control panel, where basic VPS settings are performed.

3. For the initial configuration of RouterOS, it is most convenient to use the console via VNC. To do this, open the server operations menu in VManager and select VNC.

Image2

Image2

As a result, the VNC Viewer window will open. This is essentially your virtual machine’s screen that you connect to directly.

4. When you first start RouterOS CHR, it is installed in the basic configuration: without a password and without pre-configured network interfaces. To log in, use standard information:

→ login: admin;
→password: Leave the field blank and just press Enter.

Image6

Image6

Immediately after authorization, the system will prompt you to read the license agreement. If necessary, you can skip viewing it by entering the letter n.

Image5

Image5

5. The next mandatory step is to set a new password for the admin user.
This is a very important point: open RouterOS devices quickly fall under automatic brute force attacks. This way you will protect access to your router at the very beginning.

Image7

Image7

6. Now you need to configure the network interface so that the server can access the Internet.
Pay attention to the location of the data center where you ordered the virtual server. For all countries except Liechtenstein, Albania, India, Luxembourg, New Zealand, Chile and Malaysia, the classic scheme is used:

→ your VPS is given an IP address in the /24 subnet;
→ the default gateway is the first address of this subnet.

For example, if the server is assigned IP 45.12.144.10/24, then the gateway will be 45.12.144.1. In RouterOS, this address must be bound to an interface (usually ether1) and the default route must be specified through the corresponding gateway.

Image9

Image9

After saving the settings, you should check the connection. For example, ping to an external resource. If responses are received, the underlying network connectivity is configured correctly.

7. If your VPS is located in Liechtenstein, Albania, India, Luxembourg, New Zealand, Chile or Malaysia, then a different routing scheme applies:

→ the default gateway always has the address 10.0.0.1;
→ the dedicated IP is issued with a /32 mask.

In this case, settings are performed using commands in the RouterOS console:
/ip address add address=YOUR_IP/32 network=10.0.0.1 interface=ether1
/ip route add gateway=10.0.0.1

Where YOUR_IP is the IP that you received for the VPS. After applying the commands, also check your Internet access using ping.

At this point, the initial configuration stage is completed: RouterOS CHR knows its IP address, gateway and can access the network. Then you can connect to the server via Winbox and configure everything to suit your needs:

→ firewall and NAT rules,
→ VPN connections,
→ static or dynamic routing,
→ VLAN, queues, traffic monitoring and other functions.

CONTENT:

Similar

All news

Похожее

Все новости

Adaxa Suite: подробный обзор ERP-системы корпоративного класса

Adaxa Suite — комплексная ERP-платформа для компаний, которым уже тесно в рамках простых учётных систем, но которые при этом не готовы идти в сторону дорогих корпоративных решений уровня SAP или Oracle. Изначально продукт создавался для среднего бизнеса, которому нужна большой набор функций, сквозная автоматизация процессов и надёжная архитектура без чрезмерной стоимости владения. Архитектура и техническая […]

Как заказать дополнительные IP-адреса на UFO.Hosting: пошаговая инструкция

По мере роста проекта одного IP-адреса может стать недостаточно. Это типичная ситуация для компаний, которые масштабируют инфраструктуру, запускают новые сервисы или разделяют внутренние процессы. В UFO.Hosting подключение дополнительных IP-адресов выполняется через биллинговую панель и занимает всего несколько минут. Важно: возможность для заказа дополнительных IP-адресов доступна для тарифов VPS начиная с Haedus. Зачем нужны дополнительные IP-адреса […]