User Tools

Site Tools


linux:iptables

This is an old revision of the document!


Table of Contents

iptables

BlockIP

iptables -A INPUT -s IPADDRESS -j DROP

Log the traffic

iptables -A INPUT -s IPADDRESS -j LOG --log-prefix "Testing "

Then you find the log in /var/log/kern.log

/var/www/dokuwiki/wiki/data/attic/linux/iptables.1535706908.txt.gz · Last modified: 2018/08/31 17:15 by percy