lots of stuff
This commit is contained in:
@@ -111,6 +111,13 @@
|
||||
interface_out: eth0
|
||||
route: true
|
||||
|
||||
- name: UFW - Allow podman to wireguard
|
||||
community.general.ufw:
|
||||
rule: allow
|
||||
interface_in: podman+
|
||||
interface_out: wg0
|
||||
route: true
|
||||
|
||||
- name: UFW - Allow node exporter scraping
|
||||
community.general.ufw:
|
||||
rule: allow
|
||||
@@ -125,6 +132,31 @@
|
||||
proto: "tcp"
|
||||
to_port: 9882
|
||||
|
||||
- name: UFW - Allow blackbox exporter scraping
|
||||
community.general.ufw:
|
||||
rule: allow
|
||||
interface_in: podman+
|
||||
proto: "tcp"
|
||||
to_port: 9115
|
||||
|
||||
- name: UFW - Allow loki push from ingress
|
||||
community.general.ufw:
|
||||
rule: allow
|
||||
interface_in: wg0
|
||||
proto: tcp
|
||||
from_ip: "{{ wireguard_ingress_ip }}"
|
||||
to_port: "3100"
|
||||
|
||||
- name: UFW - Allow loki push routing from ingress
|
||||
community.general.ufw:
|
||||
rule: allow
|
||||
interface_in: wg0
|
||||
interface_out: podman+
|
||||
route: true
|
||||
proto: tcp
|
||||
from_ip: "{{ wireguard_ingress_ip }}"
|
||||
to_port: "3100"
|
||||
|
||||
- name: UFW - Enable and deny by default
|
||||
community.general.ufw:
|
||||
state: enabled
|
||||
|
||||
Reference in New Issue
Block a user