Iptables

From MattWiki
Jump to: navigation, search

IPTState - View the current connection status

To display the current IPTables connection status.

iptstate

Send Iptables Log Messages to a Different file

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