mirror of
https://github.com/status-im/infra-role-geth.git
synced 2025-01-24 10:59:02 +00:00
expose both tcp and udp ports for geth
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
05aa09ae86
commit
63947bdcbf
@ -1,12 +1,15 @@
|
|||||||
---
|
---
|
||||||
- name: Geth | Enable ports on firewall
|
- name: Geth | Enable ports on firewall
|
||||||
iptables:
|
iptables:
|
||||||
comment: '{{ geth_cont_name }}'
|
comment: '{{ geth_cont_name }} {{ item }}'
|
||||||
jump: ACCEPT
|
jump: ACCEPT
|
||||||
action: insert
|
action: insert
|
||||||
chain: DOCKER-USER
|
chain: DOCKER-USER
|
||||||
source: '0.0.0.0/0'
|
source: '0.0.0.0/0'
|
||||||
protocol: 'tcp'
|
protocol: '{{ item }}'
|
||||||
destination_port: '{{ geth_port }}'
|
destination_port: '{{ geth_port }}'
|
||||||
|
with_items:
|
||||||
|
- tcp
|
||||||
|
- udp
|
||||||
notify:
|
notify:
|
||||||
- Save iptables rules
|
- Save iptables rules
|
||||||
|
Loading…
x
Reference in New Issue
Block a user