Router
OpenWrt
Set up Lunaire on routers running OpenWrt firmware.
Только для опытных
Прошивка роутера потенциально может его «окирпичить». Перед началом сделайте бэкап текущей конфигурации (System → Backup / Flash Firmware → Generate archive).1
Connect via SSH
Connect to your router via SSH. The default address is usually 192.168.1.1.
bash
ssh root@192.168.1.12
Install sing-box
Install the sing-box package from the OPKG repository.
bash
opkg update
opkg install sing-box3
Configure
Download your configuration from the Lunaire bot and place it in the sing-box config directory.
bash
# Получите конфиг от @LunaireVPNBot и положите по пути:
/etc/sing-box/config.json4
Start the service
Enable and start the sing-box service.
bash
service sing-box enable
service sing-box startRequirements
- OpenWrt 22.03 or later
- At least 16 MB flash / 128 MB RAM
- SSH access to the router