UFW: adds missing allow rules for LXC communication
This commit is contained in:
parent
d16c4c3693
commit
08bf40c99c
1 changed files with 25 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue