Try to take off the spaces from your log-prefix string. I've had problems with this. Try replacing: --log-prefix "RULE 0 --ACCEPT " by --log-prefix "RULE0_ACCEPT" It should work. Sincerily, Leonardo Rodrigues Citando Francisco Garcia Guillen <Paco.Garcia@xxxxxxx>: > Hi all, > > The rules of iptables work fine but I can't obtain log messages from > iptables. > > With fwbuilder I mark all rules with LOG option. > > The generated script has this flag: "-j LOG --log-level 6 --log-prefix > "RULE 0 --ACCEPT " --log-tcp-sequence --log-tcp-options > --log-ip-options" > with each rule > The klogd is running > The syslogd is running > The syslog.conf is correctly configured > ... but the logs not appear in /var/log/messages file