If you've got locked out of your CyberGuard / SnapGear firewall, as long as you still have SSH access you can regain access without doing a factory reset.
From the command prompt type "enableweb"
The web interface has been enabled on ALL interfaces, for HTTP and HTTPS.
Please ensure you review the administration access control options.
As it says, this will re-enable access on ALL interfaces, including Internet, so you need to review the choices, FAST!