Commit 425c8505 authored by Kaarle Ritvanen's avatar Kaarle Ritvanen

adp-router: configurable default action

parent 75f39a4a
{
"description": "Router",
"before": "adp-config",
"variable": { "adp_router_policy": "accept" },
"zone": {
"adp-lan": {
"iface": "$adp_lan_ifaces", "addr": "$adp_lan_addrs"
......@@ -12,6 +14,12 @@
"action": "drop"
}
],
"policy": [ { "in": "adp-lan", "out": "adp-wan" } ],
"policy": [
{
"in": "adp-lan",
"out": "adp-wan",
"action": "$adp_router_policy"
}
],
"snat": [ { "out": "adp-wan", "src": "$adp_lan_private_addrs" } ]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment