CLOUDSTACK-402 - fixing firewall statement so that it actually works

This commit is contained in:
David Nalley 2012-10-20 22:05:32 -04:00
parent 0eff53f4f3
commit 7a940fc5f7
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@
<programlisting language="Bash">iptables -I INPUT -p tcp -m tcp --dport 1798 -j ACCEPT</programlisting>
<programlisting language="Bash">iptables -I INPUT -p tcp -m tcp --dport 16509 -j ACCEPT</programlisting>
<programlisting language="Bash">iptables -I INPUT -p tcp -m tcp --dport 5900:6100 -j ACCEPT</programlisting>
<programlisting language="Bash">iptables -I INPUT -p tcp -m tcp --dport 49152:492160 -j ACCEPT</programlisting>
<programlisting language="Bash">iptables -I INPUT -p tcp -m tcp --dport 49152:49216 -j ACCEPT</programlisting>
<para>These iptable settings are not persistent accross reboots, we have to save them first.</para>
<programlisting language="Bash">iptables-save > /etc/sysconfig/iptables</programlisting>
</section>
@ -56,4 +56,4 @@
<programlisting language="Bash">ufw allow proto tcp from any to any port 49152:492160</programlisting>
<note><para>By default UFW is not enabled on Ubuntu. Executing these commands with the firewall disabled does not enable the firewall.</para></note>
</section>
</section>
</section>

View File

@ -27,9 +27,9 @@
<xi:include href="hypervisor-kvm-requirements.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="hypervisor-host-install-overview.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="hypervisor-host-install-prepare-os.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="hypervisor-host-install-agent.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="hypervisor-host-install-libvirt.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="hypervisor-host-install-security-policies.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="hypervisor-host-install-network.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="hypervisor-host-install-firewall.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="hypervisor-host-install-agent.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
</section>