LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   iptables output to monitor (http://www.linuxquestions.org/questions/linux-networking-3/iptables-output-to-monitor-85175/)

lumux 08-24-2003 11:45 AM

iptables output to monitor
 
Can anyone tell me how to stop iptables outputting to the monitor? I haveit set up to block all ports on the internet side and it is acting as a router for my internal network...however every time a packet gets forwards or blocked etc it is reported on the monitor of the linux machine. How can I stop this?

Cheers

Lumux

Blindsight 08-24-2003 03:08 PM

A few things you can try..

Check to see if your firewall script is using any log options. iptables -L -n, there'll be "log" rules in there. Those logs are sent to your syslog, most likely. You can either disable the logs from iptables all together by deleting the logging rules, or fix your syslog.conf . That's ultimately how it's printing to stdout.

If that doesn't work, you could add 2> /dev/null to the end of your firewall rules to redirect errors to /dev/null.


All times are GMT -5. The time now is 10:48 PM.