浏览代码

Update README and pillar.example with new to_port property

tags/v0.2.0
Janek Bevendorff 6 年前
父节点
当前提交
bd2315ccda
共有 2 个文件被更改,包括 16 次插入2 次删除
  1. +12
    -0
      README.md
  2. +4
    -2
      pillar.example

+ 12
- 0
README.md 查看文件

@@ -62,6 +62,18 @@ ufw:
protocol: udp
```

Allow from a range of ports, tcp and udp
```
ufw:
services:
"10000:20000/tcp":
to_port: "10000:20000"
protocol: tcp
"10000:20000/udp":
to_port: "10000:20000"
protocol: udp
```

Allow from two specific ports, udp:
```
ufw:

+ 4
- 2
pillar.example 查看文件

@@ -69,8 +69,10 @@ ufw:
deny: True
from_addr: 10.0.0.1

# Deny everything from a multiple ip addresses
'*':
# Deny everything from multiple ip addresses and avoid
# conflicts with already defined service '*'
'*/multiple':
to_port: '*'
protocol: tcp
deny: True
from_addr:

正在加载...
取消
保存