You’ll download the latest CHR image, inject an autorun script, write the image to the VPS disk, and reboot straight into RouterOS.
Winbox is then used to complete the initial configuration.
1. Prepare the VPS
- Reinstall the VPS with a clean Debian 12 environment using the EDBB Control Panel.
- Boot the VPS and connect via SSH.
2. Create the Installation Script
- Create a new script file (example name:
install_chr.sh):
- Paste the following script provided by EDBB:
install_chr.sh
- Save the file (
Ctrl + O,Enter) and exit (Ctrl + X).
3. Run the Installer
Configure RouterOS manually
- Open your VPS service in the client area.
- Enable VNC and connect via noVNC or a VNC client.
- Sign in to RouterOS with user admin and a blank password.
- Set a new password for the admin account.
- Identify the network interface:
- Using the network details from your billing panel, configure the IP address (example values shown):
- Configure the default route (gateway example shown):
- Set DNS servers:
- After configuration, connect to RouterOS using Winbox.
4. Connect with Winbox
After the VPS restarts, it will boot into MikroTik RouterOS:- Download Winbox from mikrotik.com/download.
- Launch Winbox and create a new session:
- Connect To: public IPv4 address of the VPS.
- Login:
admin - Password: enter
password. - Click Connect.