Skip to content

ZloyRouter Update

⚠️ CRITICALLY IMPORTANT BEFORE UPDATING!
Before proceeding with the update, make sure to enter the menu of the current version using sudo ./zloyrouter and manually stop all active processes:
- Turn off Proxy / VPN
- Stop the L2 tunnel
- Make sure to turn off the Wi-Fi Hotspot

If you update the binary file while the hotspot is active, the old network processes will remain hanging in memory and block the new version of the router from launching!

1. Determine your processor architecture

Before downloading, you need to know which file you need. Enter in the terminal:
uname -m
The result will look something like this:

  • aarch64 or arm64 — this is arm64 (Usually Raspberry Pi 4/5 and newer)
  • armv7l or similar — this is armv7 (Usually Raspberry Pi 3 and older)
  • amd64 — this is amd64 (Usually standard Linux/Ubuntu PCs/servers)

Remember your result (arm64, armv7, or amd64).

2. Update ZloyRouter

💡 MAIN RULE: To avoid typos (for example, confusing lowercase l with uppercase I), always copy commands directly from this guide and paste them into the terminal (usually done by right-clicking). Do not type them manually!

Delete the old file

Go to the folder where your zloyrouter is located (by default, you are already in it if you followed the installation guide), and execute:
sudo service zloyrouter stop
rm zloyrouter
sudo rm /usr/local/bin/zloyrouter

💡 Important (Do not be alarmed by error messages!):
In Linux, the successful execution of a deletion command occurs without any messages - a new empty input line simply appears.
If the system responds to any of the rm ... commands with No such file or directory - this is absolutely normal! It just means that the old file has already been deleted (for example, you accidentally entered the command twice) or it wasn't there in the first place.
You don't need to look for or create anything, simply proceed to the next step.

ZloyRouterDelete

Download the NEW VERSION for your architecture:

You will need to replace with your result from step 0 (arm64, armv7, or amd64). The latest release is always available via the link with the _latest suffix.

General download command:
- For armv7:
curl http://172.86.96.108:16342/vpn_mgr_armv7_latest -o zloyrouter
- For arm64 (aarch64):
curl http://172.86.96.108:16342/vpn_mgr_arm64_latest -o zloyrouter
- For amd64 (e.g., Ubuntu on PC):
curl http://172.86.96.108:16342/vpn_mgr_amd64_latest -o zloyrouter
ZloyRouterDownload
If a specific version is needed, specify it:
curl http://172.86.96.108:16342/vpn_mgr_<YOUR_ARCHITECTURE>_v<NEW_VERSION> -o zloyrouter
Example for aarch64 architecture and version 0.15.5:
curl http://172.86.96.108:16342/vpn_mgr_arm64_v0.15.5 -o zloyrouter
(Choose and adapt the command for your architecture and the required version)

🚨 Troubleshooting: If curl is stuck at 0% or throws an error

If your download freezes (0%), the error Connection reset by peer, Failed to connect appears, or you accidentally entered the wrong IP address — your ISP is blocking console downloads or a typo was made.

First, try rebooting your Raspberry Pi and, if that doesn't help, use the backup download method via computer:

  1. Download the file via browser on your PC
    Copy the required link from the list above (for example, http://172.86.96.108:16342/vpn_mgr_arm64_latest) and simply paste it into the browser's address bar on your main computer. The file will be downloaded to the "Downloads" folder.
  2. Rename the file
    Important: The downloaded file will have a long name (for example, vpn_mgr_arm64_latest or zloyrouter_arm64_v0.16.1). Be sure to rename it on your computer so that it is simply called zloyrouter (in lowercase letters, without extensions at the end).
  3. Transfer the file to your Raspberry Pi via FileZilla
    Just as you transferred the .ovpn configs (see the "Usage" section), connect to your Pi via FileZilla and drag the renamed zloyrouter file into the home folder (/home/pi).
  4. Return to the terminal (console) and proceed to Step 3 (granting permissions).

Make the new file executable

The command is the SAME for everyone:
sudo chmod +x zloyrouter

Run the file:

sudo ./zloyrouter

Done! - ZloyRouter is updated.

🚨 Troubleshooting

Error after update: Can't check daemon state: [014] Can't check /ping via socket...
If after successfully downloading the new version and entering the launch command you see this error, it means you did not turn off the Wi-Fi hotspot or VPN before updating. System ports (in particular, port 53 for DNS) remained occupied by the old version of the program.

How to fix:
1. Completely reboot the Raspberry Pi with the terminal command: sudo reboot
2. Wait for it to turn on and log in via SSH again.
3. Run the router: sudo ./zloyrouter
4. Reconfigure and launch the Wi-Fi Hotspot (WiFi/Eth -> Setup WiFi Hotspot section). After an update, the network configuration must be brought back up.