|
If you want the rule to match any ip then you should just leave the -s
any and -d any out of the line iptables -A INPUT -p udp --dport 5666 -j ACCEPT iptables -A FORWARD -p udp --dport=5666 -j ACCEPT This will allow anything from anywhere to port 5666 on this host. The second line is not needed unless this box is a router. It's better to do something like iptables -A INPUT -p udp -s 192.168.1.0/24 --dport 5666 -j ACCEPT assuming your network is in the 192.168.1.1-255 range, since this would limit the port opening to only those machine on your network (or more specifically those machines in the 192.168.1.0 network). If it causes you too much trouble, you could be forgiven for doing iptables -F and disable it's re-application in the init scripts (assuming this host is protected behind a firewall!) Hari Rodrigo Maceno wrote: Ok, I understood what you said... But you could help me one more time? I tried to put two rules in IpTables: |
------------------------------------------------------------------------- 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 [email protected] 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
