On Thursday 04 July 2002 5:31 am, Orca J. wrote: > Hi > I want to both DENY and LOG in the same rule ? or ACCEPT and LOG , or > DENY and LOG
You can't put them both in the same rule, butyou can create a user-defined chain and jump to that: iptables -N LOGDROP iptables -A LOGDROP -j LOG --log-options........ iptables -A LOGDROP -j DROP Then use that single target in your rules: iptables -A INPUT -i eth0 -j LOGDROP Antony/.
