Skip to content
Contents
GuidesOpenWrt

Revoke keys and clear configuration before giving away an OpenWrt router

List VPN, SSH, DDNS, robot token, cloud registration, Wi-Fi, and hotspot memory.

List VPN, SSH, DDNS, robot token, cloud registration, Wi-Fi, and hotspot memory. Perform authorization revocation and validation via a separate terminal to confirm disconnection. Backup the personal configuration to your own restricted storage for continued use.

Select model to restore and storage handling

Restore factory settings or reinstall an appropriate official image based on the device's partition layout, and remove your own SD, USB, or NVMe drives. Retain factory calibration and essential device partitions. Flashing physical erasure capability depends on the device and medium; for high-sensitivity requirements, follow the manufacturer's secure erase procedures or retain the medium as-is.

Start with account deactivation, then purge old devices

First, revoke the public VPN, DDNS, and platform-bound management certificates, and securely extract any backup data that needs to be retained. Perform a reset or reliable factory wipe based on the actual device's flash storage.

From first login, check for existing accounts, SSID, logs, and external files. Confirm network settings are blank, deliver accurate hardware revisions, and provide secure recovery procedures.

After rebooting, verify the new environment contains no residual old accounts or keys. When sensitive devices cannot confirm erasure, avoid transferring equipment containing storage media.

Reference

Reference screenshot · Data-only lower layers
Reference screenshot · Data-only lower layers
Reference screenshot · Data-only lower layers Open the original image

Linux kernel documentation · GPL-2.0

Related guides

Reference

Check the model, region and hardware revision on the label before selecting firmware.

Explore hardware

Comments