summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorBrent Bloxam <brent.bloxam@gmail.com>2012-03-20 13:04:58 -0400
committerSol Jerome <sol.jerome@gmail.com>2012-03-20 13:47:47 -0500
commitee47266a811e77e4b688f8834fc6c72b4a70c5d6 (patch)
tree2fc5b96e31d7a792a436990cf4800510423ec37c /doc
parent45cd60e18e5cb22619272ae8a0d6e2af692d1cf7 (diff)
downloadbcfg2-ee47266a811e77e4b688f8834fc6c72b4a70c5d6.tar.gz
bcfg2-ee47266a811e77e4b688f8834fc6c72b4a70c5d6.tar.bz2
bcfg2-ee47266a811e77e4b688f8834fc6c72b4a70c5d6.zip
Added missing table for SSH, fixed allowable SSH address to be proper RFC1918
Class C (cherry picked from commit e7fb96776d0e18670fdfb61025295e27b1dc772b)
Diffstat (limited to 'doc')
-rw-r--r--doc/server/plugins/generators/tgenshi/iptables.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/server/plugins/generators/tgenshi/iptables.txt b/doc/server/plugins/generators/tgenshi/iptables.txt
index 2655e7b2d..3e49470d7 100644
--- a/doc/server/plugins/generators/tgenshi/iptables.txt
+++ b/doc/server/plugins/generators/tgenshi/iptables.txt
@@ -64,6 +64,7 @@ iptables
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]
:NO-SMTP - [0:0]
+ :SSH - [0:0]
#Default rules
#discard malicious packets
@@ -84,7 +85,7 @@ iptables
# Allow SSH Access
-A INPUT -p tcp -m state --state NEW -m tcp --tcp-flags FIN,SYN,RST,ACK SYN --dport 22 -j SSH
- -A SSH -s 192.0.0.0/255.0.0.0 -j ACCEPT
+ -A SSH -s 192.168.0.0/255.255.0.0 -j ACCEPT
# Allow Ganglia Access
-A INPUT -m state --state NEW -m tcp -p tcp --tcp-flags FIN,SYN,RST,ACK SYN --src 192.168.1.1 --dport 8649 -j ACCEPT