#!/bin/bash

# Sample Forwarding & Masquerading

config -d config.firewall.dialin \
config -d config.firewall.dialout \
-s config.firewall.dialout.masquerade.enabled='on' \
config -d config.firewall.lan \
-s config.firewall.lan.forwards.dialout='on' \
-s config.firewall.lan.forwards.wan='on' \
config -d config.firewall.vpn \
config -d config.firewall.wan \
-s config.firewall.wan.masquerade.enabled='on' \
config -d config.firewall.wlan \
-a