Skip to content

Commit a0df36c

Browse files
committed
Merge pull request ansible#66 from FauxFaux/patch-1
Enable "ufw default allow routed"
2 parents 3a98a39 + 613b3bd commit a0df36c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/ufw.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
description:
5353
- Select direction for a rule or default policy command.
5454
required: false
55-
choices: ['in', 'out', 'incoming', 'outgoing']
55+
choices: ['in', 'out', 'incoming', 'outgoing', 'routed']
5656
logging:
5757
description:
5858
- Toggles logging. Logged packets use the LOG_KERN syslog facility.
@@ -173,7 +173,7 @@ def main():
173173
state = dict(default=None, choices=['enabled', 'disabled', 'reloaded', 'reset']),
174174
default = dict(default=None, aliases=['policy'], choices=['allow', 'deny', 'reject']),
175175
logging = dict(default=None, choices=['on', 'off', 'low', 'medium', 'high', 'full']),
176-
direction = dict(default=None, choices=['in', 'incoming', 'out', 'outgoing']),
176+
direction = dict(default=None, choices=['in', 'incoming', 'out', 'outgoing', 'routed']),
177177
delete = dict(default=False, type='bool'),
178178
insert = dict(default=None),
179179
rule = dict(default=None, choices=['allow', 'deny', 'reject', 'limit']),

0 commit comments

Comments
 (0)