How does openwrt route record the access log after port mapping?

if you want to record the log of access to the specified port, such as which IP has accessed this port. In our office environment, we need to log in to the account to access the Internet, so we use a router to access the Internet and port mapping to access the devices under the router (such as printers)

The port mapping of

openwrt can be accessed, but it cannot be logged. I thought about using the log function record of iptables, but failed. It seems that iptables is not running, which is probably the reason for the simplified version. I know that nginx software can implement tcp agents and log, but there doesn"t seem to be a compiled nginx under openwrt. I don"t know if there are any ready-made tools to achieve this function. Please give advice to all the great gods

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37898-4ed07.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37898-4ed07.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?