log target

Iptables Drop IP Address

by on November 20, 2010 · 3 comments

How do I block particular IP addresses or host with the iptables command under Linux?

{ 3 comments }

Q. I am running SSH/MySQL/Webserver and setup iptables based firewall. But my logs are send to console rather than the system log files. How do make sure that iptables LOG target messages are send to /var/log/messages file? A. IPTABLES LOG module turns on kernel logging of matching packets. When this option is set for a […]

{ 3 comments }