Natvps.id -VirtuCli is a command-line tool that can be used to do virtualizor server management through the terminal. With VirtuCli, you can check and control the server directly from the terminal, without the need to open the virtualizor panel.
This article discusses the installation steps and configuration of VirtuCli.
Get API Key & API Password Virtualizor
So that VirtuCli can communicate with fire enduser from virtualizor, required Fire & password lock for authentication.
Open the virtualizor panel, then log in as usual. Example: https://id2.natvps.id:4083.

Then, active Profileclick Fire credentials.

Click Make fireThen click For the fire couple.

If so, return to Fire List. API Key & API New password will appear.

Save both of them, because we will use it later in VirtuCli.
Install VirtuCli
First, install Python 3 and PIP:
apt update apt install python3 python3-pip -y

Then, install VirtuCli with PIP:
pip3 install virtucli

If so, then VirtuCli was successfully installed.
VirtuCli configuration
Create a new directory for configuration VirtuCli:
mkdir -p $(virtucli configpath)
Make File configuration new:
apt install nano -y # Jika belum nano $(virtucli configpath)/config.ini
Enter the following configuration:
[Server] SERVER_URL=<URL panel Virtualizor> API_KEY=<API Key> API_PASS=<API Password>
Adjust SERVER_URL, API_KEYAnd API_PASSWORD with mark that you have gotten from the virtualizor panel before.

Store with CTRL-X, Y, then enter.
Using VirtuCli
Here are some of the commands in VirtuCli:
1. List of VM
To see the VM list available in your account, enter:
virtucli listvm

2. Info VM
To see the details of a VM, enter:
virtucli vminfo -i <id_vps>

3. List of VDF Domain Prosechers
To see the domain forwarding in VM, type:
virtucli vdf -i <id_vps> list

4. Add a domain prosecution
To add an entry Domain prosecution New, enter:
virtucli vdf -i <id_vps> add --proto <protocol_vdf> --src <source_ip> --src-port <source_prot> --dest <dest_ip> --dest-port <dest_port>
For example, to add Domain prosecution Http with a domain Example.mdinata.my.id:

In the next release, Source IP/Destination IP will be taken automatically, without the need to type the IP server manually.
Other features?
This article will be updated if there are new features on VirtuCli.
You can also type virtucli -h to see all rule which are available.
Cover
Thus an explanation of VirtuCli, hopefully can help you in the management of virtualizor server.
If you are confused or doubtful, don’t hesitate to ask questions in the telegram group @ipv6indonesia. Thank You!
News
Berita
News Flash
Blog
Technology
Sports
Sport
Football
Tips
Finance
Berita Terkini
Berita Terbaru
Berita Kekinian
News
Berita Terkini
Olahraga
Pasang Internet Myrepublic
Jasa Import China
Jasa Import Door to Door