Hey guys,
I am working to enable Penalty Box on my perimeter gateways, and I'm having trouble finding information on how to make the fwaccel dos config commands persist through a reboot. I have followed sk112454 to modify $FWDIR/bin/fwaccel_dos_rate_install with the commands listed below, rebooted the gateway, and if I run a 'fwaccel dos config get', it still shows everything as disabled.
#!/bin/bash
$FWDIR/bin/fwaccel dos config set --enable-pbox
$FWDIR/bin/fwaccel dos whitelist -B
$FWDIR/bin/fwaccel dos pbox whitelist -B
$FWDIR/bin/fwaccel dos config set --disable-internal
$FWDIR/bin/fwaccel dos config set --enable-log-pbox
$FWDIR/bin/fw samp get -l -k req_type -t in -v quota | $FWDIR/bin/fwaccel dos rate install
if [[ -e $FWDIR/bin/fwaccel6 ]]; then
$FWDIR/bin/fwaccel6 dos whitelist -B
$FWDIR/bin/fwaccel6 dos pbox whitelist -B
$FWDIR/bin/fw samp get -l -k req_type -t in -v quota | $FWDIR/bin/fwaccel6 dos rate install
fi
Thanks!