Router

OpenWrt

Set up Lunaire on routers running OpenWrt firmware.

1

Connect via SSH

Connect to your router via SSH. The default address is usually 192.168.1.1.

ssh root@192.168.1.1
2

Install sing-box

Install the sing-box package from the OPKG repository.

opkg update
opkg install sing-box
3

Configure

Download your configuration from the Lunaire bot and place it in the sing-box config directory.

# Get your config from @LunaireVPNBot
# Place it at:
/etc/sing-box/config.json
4

Start the service

Enable and start the sing-box service.

service sing-box enable
service sing-box start

Requirements

  • OpenWrt 22.03 or later
  • At least 16 MB flash / 128 MB RAM
  • SSH access to the router