Commit 3c6e171d authored by Kaarle Ritvanen's avatar Kaarle Ritvanen

adp: variable naming convention

parent 0cf11c06
{ {
"description": "Allow DHCP", "description": "Allow DHCP",
"filter": [ "filter": [
{ "in": "$DHCP_ZONES", "out": "_fw", "service": "dhcp" }, { "in": "$adp_dhcp_zones", "out": "_fw", "service": "dhcp" },
{ "in": "_fw", "out": "$DHCP_ZONES", "service": "dhcp" } { "in": "_fw", "out": "$adp_dhcp_zones", "service": "dhcp" }
] ]
} }
{ {
"description": "Router", "description": "Router",
"zone": { "lan": { "iface": "$LAN_IFACES", "addr": "$LAN_ADDRS" } }, "zone": {
"lan": { "iface": "$adp_lan_ifaces", "addr": "$adp_lan_addrs" }
},
"filter": [ "filter": [
{ "in": "wan", "dest": "$LAN_PRIVATE_ADDRS", "action": "drop" } {
"in": "wan",
"dest": "$adp_lan_private_addrs",
"action": "drop"
}
], ],
"policy": [ { "in": "lan", "out": "wan" } ], "policy": [ { "in": "lan", "out": "wan" } ],
"snat": [ { "out": "wan", "src": "$LAN_PRIVATE_ADDRS" } ] "snat": [ { "out": "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