Sample Header Ad - 728x90

Access iptables logs on Android

-1 votes
1 answer
990 views
I'm attempting to diagnose a packet forwarding issue on my Android 9 phone. I've added a -j LOG rule to my FORWARD chain. How can I access the logged messages? According to [this guide](https://tecadmin.net/enable-logging-in-iptables-on-linux/) , I first need to alter the syslog configuration file which is either at /etc/syslog.conf or /etc/rsyslog.conf. However, neither of those files exist on my phone.
Asked by August Vrubel (161 rep)
Feb 13, 2023, 03:50 PM
Last activity: Feb 13, 2023, 06:06 PM