diff --git a/roles/customfirewall/tasks/main.yaml b/roles/customfirewall/tasks/main.yaml index 481da62..e21e52d 100644 --- a/roles/customfirewall/tasks/main.yaml +++ b/roles/customfirewall/tasks/main.yaml @@ -2,6 +2,7 @@ - name: Apply custom ufw rules community.general.ufw: rule: allow + direction: "in" port: "{{item.port}}" proto: "{{item.proto}}" interface: "{{item.interface}}"