Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…onfusion
  • Loading branch information...
commit 98ff5a6bd5c96deff38c3da88cfb9d018ce54ddd 1 parent de819d5
@auxesis auxesis authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.md
View
4 README.md
@@ -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 ###
Please sign in to comment.
Something went wrong with that request. Please try again.