Jump to content

Iptables

From MattWiki

IPTState - View the current connection status[edit | edit source]

To display the current IPTables connection status.

iptstate

Send Iptables Log Messages to a Different file[edit | edit source]

touch /var/log/iptables.log
echo "kern.warning /var/log/iptables.log" >> /etc/syslog.conf
/etc/init.d/syslog restart