expose both tcp and udp ports for geth

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-04-26 13:45:01 +02:00
parent 05aa09ae86
commit 63947bdcbf
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020

View File

@ -1,12 +1,15 @@
---
- name: Geth | Enable ports on firewall
iptables:
comment: '{{ geth_cont_name }}'
comment: '{{ geth_cont_name }} {{ item }}'
jump: ACCEPT
action: insert
chain: DOCKER-USER
source: '0.0.0.0/0'
protocol: 'tcp'
protocol: '{{ item }}'
destination_port: '{{ geth_port }}'
with_items:
- tcp
- udp
notify:
- Save iptables rules