summaryrefslogtreecommitdiffstats
path: root/json
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2012-03-16 13:02:18 +0000
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2012-03-16 13:02:18 +0000
commit02587950ae702d01e21f38a0785d29a75cd6637f (patch)
treeebfdaeb0ed3a6c945ceb8e53c907c51a6df17561 /json
parent47de4ee42407c506dad80f10e37c9f3c506a4b00 (diff)
downloadawall-02587950ae702d01e21f38a0785d29a75cd6637f.tar.bz2
awall-02587950ae702d01e21f38a0785d29a75cd6637f.tar.xz
directory for default JSON files
Diffstat (limited to 'json')
-rw-r--r--json/masquerade.json8
-rw-r--r--json/services.json15
2 files changed, 23 insertions, 0 deletions
diff --git a/json/masquerade.json b/json/masquerade.json
new file mode 100644
index 0000000..98e2d61
--- /dev/null
+++ b/json/masquerade.json
@@ -0,0 +1,8 @@
+{
+ "ipset": {
+ "awall-masquerade": {
+ "family": "inet",
+ "type": "hash:net"
+ }
+ }
+}
diff --git a/json/services.json b/json/services.json
new file mode 100644
index 0000000..78a2003
--- /dev/null
+++ b/json/services.json
@@ -0,0 +1,15 @@
+{
+ "service": {
+ "dns": [
+ { "proto": "udp", "port": 53 },
+ { "proto": "tcp", "port": 53 }
+ ],
+ "gre": { "proto": "gre" },
+ "icmp": { "proto": "icmp" },
+ "ipsec": [
+ { "proto": "esp" },
+ { "proto": "udp", "port": [ 500, 4500 ] }
+ ],
+ "ssh": { "proto": "tcp", "port": 22 }
+ }
+}