feat(iptables): Allow mqtt exporter
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
90b4f7cf0d
commit
f63342bacc
1 changed files with 9 additions and 0 deletions
|
@ -34,6 +34,15 @@
|
||||||
jump: ACCEPT
|
jump: ACCEPT
|
||||||
comment: allow node exporter from vpn
|
comment: allow node exporter from vpn
|
||||||
|
|
||||||
|
- name: Allow mqtt exporter from VPN
|
||||||
|
ansible.builtin.iptables:
|
||||||
|
chain: INPUT
|
||||||
|
protocol: tcp
|
||||||
|
destination: "{{ openvpn_subnet }}"
|
||||||
|
destination_port: "9000"
|
||||||
|
jump: ACCEPT
|
||||||
|
comment: allow mqtt 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