Permalink
Browse files

Explain the required ordering of arguments to ports, to reduce user c…

…onfusion
  • Loading branch information...
1 parent de819d5 commit 98ff5a6bd5c96deff38c3da88cfb9d018ce54ddd @auxesis auxesis committed Sep 13, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.md
View
@@ -343,6 +343,10 @@ Some notes on the DSL so far:
For firewall configurations that are doing lots of public-to-private address
translation, you're going to use `accepts` very rarely.
+ - Arguments to `ports` can be mixed (`ports 500..650, 80, 25, 9000..9500`),
+ but you must always specify port mappings last, e.g. `ports 25, 80 => 8080`
+ is valid, but `ports 80 => 8080, 25` is not.
+
### Rule types ###

0 comments on commit 98ff5a6

Please sign in to comment.