Chilli_control is a command-line script that allows users to control their Smoothwall firewall by specifying command-line arguments for connecting or disconnecting.
To set up the script for your Smoothwall, you will need to edit the script itself. If you are using the same version of Smoothwall, you will likely only need to modify the firewall IP address and port, specify your web browser, and edit the getPassword subroutine. For example, the getPassword subroutine may prompt you for a password or extract it from a file or directly from the script.
However, if you are using a different version of Smoothwall, you may need to update the dial and status page locations. You can easily locate the URL for the status page. To find the dial page, you can examine the source HTML of any page with the Connect or Disconnect buttons and look for the ACTION= tag of the form containing those buttons. Additionally, you may need to modify the script to use http instead of https, although this would depend on your specific version of Smoothwall.
To use the script, simply call it with one of the following commands: Connect, Disconnect, Status, or view. Overall, chilli_control is a useful script for managing your Smoothwall connection and status.
Version 1.1: N/A