From dd375ea74abfa0eafcc31541cfc746c65ba02c3f Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Fri, 3 Jan 2025 15:06:02 +0100 Subject: [PATCH] forgejo: allw port 3000 only from 192.168.2.0/24 --- group_vars/git.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/group_vars/git.yml b/group_vars/git.yml index 10e174c2..2d772755 100644 --- a/group_vars/git.yml +++ b/group_vars/git.yml @@ -45,7 +45,7 @@ ufw_rules: to_port: "{{ gitea_http_port }}" protocol: tcp comment: 'gitea' - from_ip: 0.0.0.0/0 + from_ip: 192.168.2.0/24 - rule: allow to_port: "{{ gitea_ssh_port }}" protocol: tcp