HI Linux Gurus,

Can you help me with my slight concern here:
I want to put a logging on my iptables that will go to a praticular 
directory/folder. 
e.g, (/var/log/iptables) I tried to enable it on the iptables but it will go 
through 
default direcorty (/var/log/messages). Here's my sample script from iptables:
<! snip> IPTABLES -L
LOG        tcp  --  anywhere             10.5.1.20          tcp dpt:http LOG 
level warning prefix `DROP_80'
DROP       tcp  --  anywhere             10.5.1.20          tcp dpt:http
LOG        tcp  --  anywhere             10.5.1.20          tcp dpt:ssh LOG 
level warning prefix `DROP_22'
DROP       tcp  --  anywhere             10.5.1.20          tcp dpt:ssh
 
Can you help me on this? Can it also configured to log rotate daily? Please 
advise. Thanks

Roland Fajardo
SKY CABLENET


-- 
_______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze
--
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to