aboutsummaryrefslogtreecommitdiffstats
path: root/optional/adp-router.json
diff options
context:
space:
mode:
Diffstat (limited to 'optional/adp-router.json')
-rw-r--r--optional/adp-router.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/optional/adp-router.json b/optional/adp-router.json
new file mode 100644
index 0000000..37404dd
--- /dev/null
+++ b/optional/adp-router.json
@@ -0,0 +1,9 @@
+{
+ "description": "Router",
+ "zone": { "lan": { "iface": "$LAN_IFACES", "addr": "$LAN_ADDRS" } },
+ "filter": [
+ { "in": "wan", "dest": "$LAN_PRIVATE_ADDRS", "action": "drop" }
+ ],
+ "policy": [ { "in": "lan", "out": "wan" } ],
+ "snat": [ { "out": "wan", "src": "$LAN_PRIVATE_ADDRS" } ]
+}