Skip to content

Configuration files

Everything the panel sets is stored in plain JSON files on the device, in /data/androidwrt/etc/: the equivalent of OpenWrt's /etc/config. You can read and edit them directly over SSH or SFTP.

The files

PathContents
etc/config.jsonThe main configuration: system, proxy, routing, DNS, SSH, firewall
etc/network.jsonType-C and WAN
etc/ssh/SSH host keys and authorized_keys
etc/profile, etc/bannerThe SSH login shell profile and welcome banner

How changes apply

  • A saved file takes effect within 2 seconds; there is nothing to restart.
  • If a file is not valid JSON, the running configuration is kept and a warning goes to the system log.
ssh root@<device-ip>
vi /data/androidwrt/etc/config.json   # saved: applied within 2 seconds

Backup, restore and reset

Under System → Backup / Flash Firmware you can:

  • download a backup: an archive of etc/
  • restore one by uploading it
  • reset to factory defaults

Before a restore or a reset, a copy of the current configuration is saved automatically to /data/androidwrt/backup/; the five most recent copies are kept.