[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: help - log iptables



thank you Remzi

2011/4/1 Remzi AKYÜZ <linuxliste@gmail.com>
iptables -A INPUT -j allow
iptables -A INPUT -j LOG --log-prefix="Dropped :"

iptables -N allow
iptables -A allow -p tcp -m multiport --dports http,https,domain -m conntrack --ctstate NEW,ESTABLISHED,RELATED -j ACCEPT
iptables -A allow -p udp --dport 63

iptables -P INPUT DROP



--
---------------------------------------------------------------------------
Flávio Alexandre dos Reis
Linux user #481115
Ubuntu user #24388
Fone: 32 9194-9960
Juiz de Fora - MG


Reply to: