[PATCH] Fix noc02 IP in global iptables/nrpe templates.

Ricky Zhou ricky at fedoraproject.org
Tue Sep 14 20:14:22 UTC 2010


---
 configs/system/nrpe.cfg                 |    2 +-
 modules/iptables/templates/iptables.erb |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/configs/system/nrpe.cfg b/configs/system/nrpe.cfg
index 04f2e4a..ae69684 100644
--- a/configs/system/nrpe.cfg
+++ b/configs/system/nrpe.cfg
@@ -70,7 +70,7 @@ nrpe_group=nrpe
 # NOTE: This option is ignored if NRPE is running under either inetd or xinetd
 
 #allowed_hosts=127.0.0.1,192.168.0.2
-allowed_hosts=10.5.126.41,127.0.0.1,192.168.1.10,192.168.1.20,209.132.182.50,192.168.1.75
+allowed_hosts=10.5.126.41,127.0.0.1,192.168.1.10,192.168.1.20,209.132.182.50,192.168.1.20
  
 
 
diff --git a/modules/iptables/templates/iptables.erb b/modules/iptables/templates/iptables.erb
index b38615a..74319ae 100644
--- a/modules/iptables/templates/iptables.erb
+++ b/modules/iptables/templates/iptables.erb
@@ -137,7 +137,6 @@ COMMIT
 -A INPUT -p tcp -m tcp -s 10.5.126.41 --dport 5666 -j ACCEPT
 -A INPUT -p tcp -m tcp -s 192.168.1.10 --dport 5666 -j ACCEPT
 -A INPUT -p tcp -m tcp -s 192.168.1.20 --dport 5666 -j ACCEPT
--A INPUT -p tcp -m tcp -s 192.168.1.75 --dport 5666 -j ACCEPT
 -A INPUT -p tcp -m tcp -s 209.132.182.50 --dport 5666 -j ACCEPT
 
 # SNMP allows from our monitoring systems
-- 
1.5.5.6

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20100914/0baa329d/attachment.bin 


More information about the infrastructure mailing list