iptables長(zhǎng)度攔截 如何查看iptables的log日志?
如何查看iptables的log日志?要查看關(guān)于NAT的iptables日志:使用iptables-t mangle-a postrouting-J log-log level debug-log p
如何查看iptables的log日志?
要查看關(guān)于NAT的iptables日志:使用iptables-t mangle-a postrouting-J log-log level debug-log prefix out packages:then modify/etc/系統(tǒng)日志.conf添加一行內(nèi)核調(diào)試/Var/log/iptables重新啟動(dòng)syslog服務(wù),這樣所有通過(guò)iptables的包都將記錄在/Var/log/iptables中。