UFW: adds missing allow rules for LXC communication

This commit is contained in:
Maximilian Kratz 2024-07-21 12:37:21 +02:00
parent d16c4c3693
commit 08bf40c99c

View file

@ -43,3 +43,28 @@
rule: allow
port: '{{ forgejo_ssh_port }}'
proto: tcp
# LXC
# ufw allow in on lxcbr0
# ufw route allow in on lxcbr0
# ufw route allow out on lxcbr0
- name: Allow in on lxcbr0
community.general.ufw:
rule: allow
interface: lxcbr0
direction: in
- name: Route allow in on lxcbr0
community.general.ufw:
rule: allow
route: true
interface: lxcbr0
direction: in
- name: Route allow out on lxcbr0
community.general.ufw:
rule: allow
route: true
interface: lxcbr0
direction: out