forgejo: allw port 3000 only from 192.168.2.0/24
This commit is contained in:
parent
b0214bdb9a
commit
dd375ea74a
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ ufw_rules:
|
||||||
to_port: "{{ gitea_http_port }}"
|
to_port: "{{ gitea_http_port }}"
|
||||||
protocol: tcp
|
protocol: tcp
|
||||||
comment: 'gitea'
|
comment: 'gitea'
|
||||||
from_ip: 0.0.0.0/0
|
from_ip: 192.168.2.0/24
|
||||||
- rule: allow
|
- rule: allow
|
||||||
to_port: "{{ gitea_ssh_port }}"
|
to_port: "{{ gitea_ssh_port }}"
|
||||||
protocol: tcp
|
protocol: tcp
|
||||||
|
|
Loading…
Reference in a new issue