custom firewall solution

This commit is contained in:
2022-04-16 17:47:49 +02:00
parent 49102eb285
commit 75d7aad012
10 changed files with 50 additions and 50 deletions

View File

@ -2,4 +2,9 @@
servicename: git
backup:
prearecommand: ""
folder: "/home/git"
folder: "/home/service-user"
tarfolder: "gitea docker-compose.yml"
firewall:
- port: "2222"
proto: tcp
interface: "eth0"

17
host_vars/neko.yaml Normal file
View File

@ -0,0 +1,17 @@
---
firewall:
- port: "ssh"
proto: tcp
interface: "eth0"
- port: "http"
proto: tcp
interface: "eth1"
- port: "https"
proto: tcp
interface: "eth1"
- port: "ssh"
proto: tcp
interface: "eth1"
- port: "59000:59049"
proto: udp
interface: "eth1"