feat(iptables): Allow node exporter
Node exporter is managed outside of this repository. Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
97ab3931bb
commit
55ea541cbe
1 changed files with 9 additions and 0 deletions
|
@ -25,6 +25,15 @@
|
||||||
jump: ACCEPT
|
jump: ACCEPT
|
||||||
comment: allow ping from the world
|
comment: allow ping from the world
|
||||||
|
|
||||||
|
- name: Allow node exporter from VPN
|
||||||
|
ansible.builtin.iptables:
|
||||||
|
chain: INPUT
|
||||||
|
protocol: tcp
|
||||||
|
destination: "{{ openvpn_subnet }}"
|
||||||
|
destination_port: "9100"
|
||||||
|
jump: ACCEPT
|
||||||
|
comment: allow node exporter from vpn
|
||||||
|
|
||||||
- name: Deny input connections by default
|
- name: Deny input connections by default
|
||||||
ansible.builtin.iptables:
|
ansible.builtin.iptables:
|
||||||
chain: INPUT
|
chain: INPUT
|
||||||
|
|
Loading…
Add table
Reference in a new issue