mirror of
https://github.com/status-im/infra-role-geth.git
synced 2025-01-09 11:45:50 +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
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user