Fix and consolidate firewall rules

Most of them are already defined in the appropriate recipe. And one can
be moved. (These are currently opened on every server for no reason.)
This commit is contained in:
2019-04-19 15:52:56 +01:00
parent 45c764c83e
commit 7c29957ed9
2 changed files with 1 additions and 25 deletions

View File

@@ -10,7 +10,7 @@
unless node.chef_environment == "development" unless node.chef_environment == "development"
include_recipe "firewall" include_recipe "firewall"
firewall_rule "xmpp" do firewall_rule "xmpp" do
port [5222, 5269] port [5222, 5269, 5281]
protocol :tcp protocol :tcp
command :allow command :allow
end end

View File

@@ -38,27 +38,3 @@ firewall_rule 'mosh' do
protocol :udp protocol :udp
command :allow command :allow
end end
firewall_rule 'prosody_http_upload' do
port 5281
protocol :tcp
command :allow
end
firewall_rule 'hubot_express_hal8000' do
port 8080
protocol :tcp
command :allow
end
firewall_rule 'hubot_express_botka_xmpp' do
port 8082
protocol :tcp
command :allow
end
firewall_rule 'hubot_express_schlupp_xmpp' do
port 8083
protocol :tcp
command :allow
end