ssl lock SSL HeadQuarters
  Network and Security Information Articles and Resources
 
Networks Security VOIP Vendors Windows *NIX All Articles RSS


SSLHQ.com


How to Backup Monowall Firewall using WGET

1> For windows simply download a WGET with SSL available via a google search or Wget SSL download

2> Save the binary to a script directory or a location in your PATH.

HTTP based Monowall firewalls

c:\backup\wget --http-user=admin-username --http-password=cleartext-password --post-data=Submit=download http://hostnameorIP/diag_backup.php -O c:\backup\backup.mono.xml

HTTPS based M0n0wall firewalls

c:\backup\wget --http-user=admin-username --http-password=cleartext-password --post-data=Submit=download https://hostnameorIP/diag_backup.php --no-check-certificate -O c:\backup\backup.mono.xml

The syntax can easily be converted to a batch script for complete automation of backups.

The same syntax can be used for the linux users you should have no problem changing C:\ to /home/backup.

Other Uses of WGET firewall backup scripting

Additional firewalls can be configured to use a similar script. The wget script can be modified to backup other firewalls that have web interfaces for example the Global Technology Associates (GTA) firewall can be backed up using a similar command line syntax.

Additional consultation services on firewalls are available per fee.
Professional.Services@sslhq.com



how-to-backup-firewall-using-wget-windows-linux