How to add a rule to firewall
Hi,
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. Thanks prakash |
May be that the port is blocked.
You can add rule to accept the particular port. iptables -A INPUT --dport 514 -j ACCEPT |
Also give entry of this line to /etc/rc.local so that this rule persist after reboot.
|
thanks
|
All times are GMT -5. The time now is 03:52 AM. |