CloudGen Firewalls equipped with the Barracuda 3G USB modem can execute maintenance tasks and custom scripts triggered remotely via SMS. Administrators can also receive certain status information of a Barracuda CloudGen Firewall via SMS. Access control lists for specific phone numbers and password restrictions allow granular security policies for administrators.
Step 1. Enable Active GSM Channel
- Go to CONFIGURATION > Configuration Tree > Box > Network.
- In the left menu, select Wireless WAN.
- Expand Configuration Mode and click Switch to Advanced View.
In the Connection Details section, set Active GSM Channel to Yes.
- Click Send Changes and Activate.
Step 2. Configure SMS Control
Before configuring the SMS Control feature, make sure the Barracuda CloudGen Firewall is equipped with the Barracuda 3G USB modem. See How to Configure an ISP using a WWAN Modem .
- Go to CONFIGURATION > Configuration Tree > Box > Administrative Settings.
- In the left menu, select SMS Control.
- Expand Configuration Mode and click Switch to Advanced View.
In the SMS Control Settings section, enable Remote Control via SMS.
In the Allowed Phone Numbers table, add the phone numbers from which SMS control is allowed. Include country prefixes, omitting the leading zeros and plus sign.
The Successive Command Maximum field specifies the maximum number of successive commands to be accepted (default: 8). When this limit is reached, the counter must be reset in Control > Box > Reset SMS Counter.
In the Command Codes section, specify the password for each SMS command. Each password must start with a lower-case letter.
- In the Custom Script table, you can enter a custom bash script to be executed via SMS. Begin the script with:
#!/bin/bash and
specify the password in the Execute Custom Script section. - Click Send Changes and Activate.
SMS Control Commands
Task | Description/Command | ||
---|---|---|---|
Reboot | Reboots the system. Send: | ||
Restart | Restarts the subsystem. Send: | ||
Reconnect Network | Restarts the network subsystem. Send: | ||
Rebuild Mgmt Tunnel | Restarts the management VPN tunnel. Send: | ||
Send Status Message | Gets status information for the system (model, serial number, temperature, free RAM, load average, dynamic links status). Send: | ||
Execute Custom Script | Executes a custom bash script that is defined in the Custom Script table. Send: |
SMS Event Notifications
The following events are associated with SMS control:
Event | Description |
---|---|
[135]Resource Limit Pending | Less than 50 % of the maximum command value remains. |
[136]Resource Limit Exceeded | The maximum command counter has been reached or has been exceeded. |
[4111]Authentication Failure Warning | The ACL does not match. |
[4112]Authentication Failure Alert | Password authentication failure and/or unsuccessful command match. |
[4126]Remote Command Execution Alert | Successful authentication and command is accepted. |