aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2018-08-13 15:53:31 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2018-08-13 17:19:15 +0300
commitafe81387c48acd3fe7d5228bec4d1e5bb36f560e (patch)
treea2146b6012f99cd704ed4ff4464302c6931a28f4
parent425c85058300026a8591f1e39fba8a000bf8a10e (diff)
downloadawall-1.6.2.tar.bz2
awall-1.6.2.tar.xz
adp: web-clientv1.6.2
-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" ]
+ }
+ ]
+}