Hi. I'm trying to write a firewall script that will log when one of my LAN clients sends mail via smtp port 25 to my isp's smtp server. I don't want to enable logging for all outbound connections though. It's a small LAN and there are access restriction rules for each client. I'm not fluent with the use of iptables yet, but I've been reading plenty. I came across this command... iptables -A INPUT -p tcp --dport 25 -j LOG --log-prefix "SMTPTRAFFIC:" I know there's no source and destination flags set in the above command at the moment, but I'm not quite sure what the rest of the command should contain. I know 'INPUT' isn't what I should have there and 'LOG' doesn't exist when I run iptables -L Can anyone point me in the right direction? Is it even possible to create logging rules if outbound connection logging is set to disabled? If I can provide any more info to help you understand what I'm looking for here, just let me know. Thanks much.