Skip to content
Contents
GuidesOpenWrt

Why a tgt iSCSI IQN allowlist may leave a target accessible

The iSCSI configuration file may differ from the currently active target access list. Before verifying access controls, check the target, LUN, and their actual effective access permissions by reading them from the management interface.

Applies to · OpenWrt 25.12.6 · tgt · iSCSI

What to check

Check the running ACL of the LUN in the administrator console to ensure it contains ALL, and compare it against the allow_name and allow_address settings in the configuration.

Connect over Ethernet and run the following commands in an SSH session on the router.

tgtadm --lld iscsi --mode target --op show

How to interpret the result

When an unexpected ALL is detected, first restrict the reachability of business networks and verify ACL rule generation. If the runtime table matches expectations, cross-check client identity using existing login records, then proceed with controlled test suite acceptance.

Verify and recover

On a test volume, verify authorized access and the intended denial policy. Keep a backup of the mapping and retain an independent management connection while applying restrictions.

Related guide · Identify a new device from OpenWrt lease and access logs

Explore hardware

Comments