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?
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 08:04 PM.|