Skip to content

Commit 38533a1

Browse files
authored
Merge pull request #35 from NanoPish/master
take comment in account
2 parents eca06f4 + 320f5be commit 38533a1

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ None
5050
- rule: allow
5151
to_port: 22
5252
protocol: tcp
53+
comment: 'allow incoming connection on standard ssh port'
5354
```
5455
5556
##### Allow all traffic on eth1
@@ -62,6 +63,7 @@ None
6263
- rule: allow
6364
interface: eth1
6465
to_port: ''
66+
comment: 'allow all traffic on interface eth1'
6567
```
6668
6769
##### Allow snmp traffic from 1.2.3.4 on eth0

tasks/configure.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
protocol: "{{ item.protocol | default('any') }}"
6464
route: "{{ item.route | default(omit) }}"
6565
log: "{{ item.log | default(false) }}"
66+
comment: "{{ item.comment | default(omit) }}"
6667
with_items: "{{ ufw_rules }}"
6768
notify: reload ufw
6869
tags:

0 commit comments

Comments
 (0)