Skip to content

Commit

Permalink
Merge pull request #35 from NanoPish/master
Browse files Browse the repository at this point in the history
take comment in account
tersmitten authored Apr 23, 2020
2 parents eca06f4 + 320f5be commit 38533a1
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -50,6 +50,7 @@ None
- rule: allow
to_port: 22
protocol: tcp
comment: 'allow incoming connection on standard ssh port'
```
##### Allow all traffic on eth1
@@ -62,6 +63,7 @@ None
- rule: allow
interface: eth1
to_port: ''
comment: 'allow all traffic on interface eth1'
```
##### Allow snmp traffic from 1.2.3.4 on eth0
1 change: 1 addition & 0 deletions tasks/configure.yml
Original file line number Diff line number Diff line change
@@ -63,6 +63,7 @@
protocol: "{{ item.protocol | default('any') }}"
route: "{{ item.route | default(omit) }}"
log: "{{ item.log | default(false) }}"
comment: "{{ item.comment | default(omit) }}"
with_items: "{{ ufw_rules }}"
notify: reload ufw
tags:

0 comments on commit 38533a1

Please sign in to comment.