公司部署了一台Nginx服务器,领导想通过iptables防火墙日志记录所有通过,没通过的IP,这个有必要,要如何实现呢
iptables -j LOG --log-prefix "Iptables-SSH-IN: " --log-level 7