diff --git a/chef/cookbooks/metasploitable/recipes/apache_continuum.rb b/chef/cookbooks/metasploitable/recipes/apache_continuum.rb index c0e7db3..e6d6b17 100644 --- a/chef/cookbooks/metasploitable/recipes/apache_continuum.rb +++ b/chef/cookbooks/metasploitable/recipes/apache_continuum.rb @@ -4,6 +4,12 @@ # # Copyright:: 2017, Rapid7, All Rights Reserved. +include_recipe 'iptables::default' + +iptables_rule '01_apache_continuum' do + lines "-A INPUT -p tcp --dport 8080 -j ACCEPT" +end + package 'openjdk-6-jre' package 'openjdk-6-jdk' @@ -44,4 +50,4 @@ end service 'continuum' do action [:enable, :start] -end \ No newline at end of file +end