summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorBrent Bloxam <brent.bloxam@gmail.com>2012-03-20 13:17:18 -0400
committerSol Jerome <sol.jerome@gmail.com>2012-03-20 13:47:55 -0500
commit9db7adf03ca47d26f74f20a72542beae153b21f7 (patch)
treee8df383da9479a5835e47bb5f92ea7c4487736d9 /doc
parentee47266a811e77e4b688f8834fc6c72b4a70c5d6 (diff)
downloadbcfg2-9db7adf03ca47d26f74f20a72542beae153b21f7.tar.gz
bcfg2-9db7adf03ca47d26f74f20a72542beae153b21f7.tar.bz2
bcfg2-9db7adf03ca47d26f74f20a72542beae153b21f7.zip
Fixed other incorrect IP addresses to be proper RFC1918 Class C
(cherry picked from commit a547890a356d14ae891cf85eb402efa18ba95ccb)
Diffstat (limited to 'doc')
-rw-r--r--doc/server/plugins/generators/tgenshi/iptables.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/server/plugins/generators/tgenshi/iptables.txt b/doc/server/plugins/generators/tgenshi/iptables.txt
index 3e49470d7..afdbcf864 100644
--- a/doc/server/plugins/generators/tgenshi/iptables.txt
+++ b/doc/server/plugins/generators/tgenshi/iptables.txt
@@ -206,8 +206,8 @@ iptables
::
:MYSQL - [0:0]
- -A INPUT -p tcp -m state --state NEW -m tcp --dport 3306 --tcp-flags FIN,SYN,RST,ACK SYN -j MYSQL
- -A MYSQL -s 192.168.0.0/255.0.0.0 -j ACCEPT
+ -A INPUT -p tcp -m state --state NEW -m tcp --dport 3306 --tcp-flags FIN,SYN,RST,ACK SYN -j MYSQL
+ -A MYSQL -s 192.168.0.0/255.255.0.0 -j ACCEPT
For a host that is in the mysql-server group you get an iptables file
that looks like the following::
@@ -246,7 +246,7 @@ that looks like the following::
# Allow SSH Access
:SSH - [0:0]
-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.168.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