custom firewall solution
This commit is contained in:
@ -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
17
host_vars/neko.yaml
Normal 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"
|
Reference in New Issue
Block a user