mirror of
https://github.com/status-im/infra-role-geth.git
synced 2025-01-10 04:05:39 +00:00
Jakub Sokołowski
5b91c936dc
https://github.com/status-im/infra-hq/issues/69 https://github.com/status-im/infra-role-bootstrap-linux/commit/92d8923b https://github.com/status-im/infra-role-wireguard/commit/8394639e Signed-off-by: Jakub Sokołowski <jakub@status.im>
15 lines
314 B
YAML
15 lines
314 B
YAML
---
|
|
- name: Geth | Enable ports on firewall
|
|
iptables:
|
|
comment: '{{ geth_cont_name }} {{ item }}'
|
|
jump: 'ACCEPT'
|
|
chain: 'SERVICES'
|
|
source: '0.0.0.0/0'
|
|
protocol: '{{ item }}'
|
|
destination_port: '{{ geth_port | string }}'
|
|
with_items:
|
|
- tcp
|
|
- udp
|
|
notify:
|
|
- Save iptables rules
|