I'm learning to configure firewall rules using iptables. For some reason, iptables does not recognize LOG as a valid target:
○ sudo iptables -A INPUT -p icmp -j LOG
iptables: No chain/target/match by that name.
○ sudo iptables
iptables v1.6.0: no command specified
Try `iptables -h' or 'iptables --help' for more information.
○ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
I'm not really sure where to go from here. I thought LOG would be a built-in target with iptables. Any help would be appreciated.
EDIT: I forgot to mention that this is Ubuntu 16.04 running on my chromebook via Crouton.