Script to login/logout from a Stormshield firewall
Like the one at IPGP 😉
You will need curl
(installed by default on macOS, instructions for Ubuntu
here) and Java Web Start.
Recommended: add the fwall
directory to your $PATH
.
To login, type in your terminal:
$ fwall login
The script will ask for username and password and propose to store your login credentials on macOS or Linux keychain (if available) or in a read-protected file. A Java Web Start window will open.
To logout, first close the Java Web Start window, then type:
$ fwall logout