Jamesits / vps2routeros

Install RouterOS without screen and keyboard, only Telnet/SSH is required.
Other
74 stars 40 forks source link
routeros

vps2routeros

This script will wipe your current OS then install RouterOS on the target computer without requiring physical access. It has been proven to work with a wide range of VPSs.

This project is previously hosted on a Gist, but the script become larger over time and a gist can not fit it anymore, so it is moved here.

WARNING

Your warranty is now void. I am not responsible for bricked devices, dead HDDs and SSDs, unreplied tickets, thermonuclear war, or you getting fired because your device is hacked to mine bitcoin. Please do some research if you have any concerns about this script before using it! YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.

Usage

Requirements

The target device:

Here is a VPS provider compatibility list. Contribution is welcomed.

Running the script

1. download this script to the target computer:

# use wget
wget https://cursed.im/vps2routeros

# or use curl
curl -L https://cursed.im/vps2routeros -o vps2routeros

2. Use any text editor to open the script, change the default config if needed

3. run it:

chmod +x ./vps2routeros
sudo ./vps2routeros

4. Set a password:

Login with WinBox or HTTP or SSH using username admin and an empty password, then change the password.

Documentation

Donation

If this project is helpful to you, please consider buying me a coffee.

Buy Me A Coffee or PayPal