Allow Consul gcp port to communicate.
```
--- a/cookbooks/consul/setup.rb
+++ b/cookbooks/consul/setup.rb
@@ -44,7 +44,7 @@ service 'consul' do
end
# iptables settings here:
-%w( 8300/tcp 8301/tcp 8301/udp 8500/tcp ).each do |port|
+%w( 8300/tcp 8301/tcp 8301/udp 8500/tcp 8502/tcp ).each do |port|
execute "ufw allow #{port}" do
user 'root'
```
This commit is contained in:
parent
c15c2f3de8
commit
48702191fe
@ -44,7 +44,7 @@ service 'consul' do
|
|||||||
end
|
end
|
||||||
|
|
||||||
# iptables settings here:
|
# iptables settings here:
|
||||||
%w( 8300/tcp 8301/tcp 8301/udp 8500/tcp ).each do |port|
|
%w( 8300/tcp 8301/tcp 8301/udp 8500/tcp 8502/tcp ).each do |port|
|
||||||
execute "ufw allow #{port}" do
|
execute "ufw allow #{port}" do
|
||||||
user 'root'
|
user 'root'
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user