# Script to enable port forwarding and IP Masquerading, to share
# the primary internet connection to the second port of DS1512+
action=$1
shift;
local INT_IFACE="eth1"
local IFCFG_FILE="/etc/sysconfig/network-scripts/ifcfg-${INT_IFACE}"
local DHCPD_CONF="/etc/dhcpd/dhcpd.conf"
local RULES_NAT="/etc/firewall_rules_nat.dump"