Move firewall config
Co-authored-by: Greg Karékinian <greg@karekinian.com>
This commit is contained in:
parent
dde29c4a6c
commit
ea4713c654
@ -225,10 +225,3 @@ end
|
|||||||
unless node.chef_environment == "development"
|
unless node.chef_environment == "development"
|
||||||
include_recipe "kosmos-ejabberd::firewall"
|
include_recipe "kosmos-ejabberd::firewall"
|
||||||
end
|
end
|
||||||
|
|
||||||
firewall_rule 'ejabberd_http' do
|
|
||||||
port [80]
|
|
||||||
source "10.1.1.0/24"
|
|
||||||
protocol :tcp
|
|
||||||
command :allow
|
|
||||||
end
|
|
||||||
|
@ -35,3 +35,10 @@ firewall_rule 'ejabberd_turn' do
|
|||||||
protocol :udp
|
protocol :udp
|
||||||
command :allow
|
command :allow
|
||||||
end
|
end
|
||||||
|
|
||||||
|
firewall_rule 'ejabberd_http' do
|
||||||
|
port [80]
|
||||||
|
source "10.1.1.0/24"
|
||||||
|
protocol :tcp
|
||||||
|
command :allow
|
||||||
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user