-   Linux - Newbie (
-   -   How to add a rule to firewall (

surya_prakash 04-07-2009 07:04 AM

How to add a rule to firewall

I have syslog receiver running on my system.And it is not receiving messages if iptables are running.If i stop iptables i am able to receive messages in /var/log/messages. syslog is running at 514 port(udp).How to add a rule to tables so that i receive messages when firewall is running.


linuxlover.chaitanya 04-07-2009 07:13 AM

May be that the port is blocked.
You can add rule to accept the particular port.

iptables -A INPUT --dport 514 -j ACCEPT

hasan_sust 04-07-2009 07:18 AM

Also give entry of this line to /etc/rc.local so that this rule persist after reboot.

surya_prakash 04-07-2009 07:53 AM


All times are GMT -5. The time now is 10:39 AM.