aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--optional/adp-dns-client.json4
-rw-r--r--optional/adp-http-client.json4
-rw-r--r--optional/adp-web-client.json12
3 files changed, 12 insertions, 8 deletions
diff --git a/optional/adp-dns-client.json b/optional/adp-dns-client.json
deleted file mode 100644
index 282d16d..0000000
--- a/optional/adp-dns-client.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "description": "DNS client",
- "filter": [ { "in": "_fw", "out": "adp-wan", "service": "dns" } ]
-}
diff --git a/optional/adp-http-client.json b/optional/adp-http-client.json
deleted file mode 100644
index 8d94b47..0000000
--- a/optional/adp-http-client.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "description": "HTTP client",
- "filter": [ { "in": "_fw", "out": "adp-wan", "service": "http" } ]
-}
diff --git a/optional/adp-web-client.json b/optional/adp-web-client.json
new file mode 100644
index 0000000..9702b9a
--- /dev/null
+++ b/optional/adp-web-client.json
@@ -0,0 +1,12 @@
+{
+ "description": "Web client",
+ "before": "adp-config",
+ "variable": { "adp_web_client_zones": "_fw" },
+ "filter": [
+ {
+ "in": "$adp_web_client_zones",
+ "out": "adp-wan",
+ "service": [ "dns", "http", "https" ]
+ }
+ ]
+}