Nagios X IpTables

Rodrigo Maceno rodrigo.maceno at gmail.com
Mon Aug 14 19:16:10 CEST 2006


Ok, I understood what you said... But you could help me one more time?  I
tried to put two rules in IpTables:
iptables -A INPUT -p udp -s any/0 -d any/0 --dport=5666 -j ACCEPT
iptables -A FORWARD -p udp -s any/0 -d any/0 --dport=5666 -j ACCEPT

but I don't know if there is anything wrong... Could you help again??

Thanks...




2006/8/14, Hari Sekhon <hpsekhon at googlemail.com>:
>
>  Rodrigo Maceno wrote:
>
> Hello,
> I have the nagios installed and working normal, but it only works if I
> stop he iptables service. I would like to know how do it to run the Nagios
> without stop iptables. Anyone could help me??
>
> Thanks,
> Rodrigo L. Maceno
>
> PS: Sorry for my english... :/
>
> ------------------------------
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> ------------------------------
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>
> you need to learn iptables to open the necessary ports.
>
>
> man iptables
>
> would be a good place to start.
>
> also, check out which ports are used by services etc using netstat. It
> will take you a lot of time to figure out, but it's too complicated and
> specific to your setup for anybody to guide you all the way through.
>
> man netstat
> man iptables
>
> will get you started.
>
> Hari
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060814/f6718756/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list