mknudsen / cpfw-login

Command line agent for checkpoint firewall authentication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Checkpoint Firewall Login

Command line agent for checkpoint firewall authentication

Install

Download the latest release. Make sure to pick the right OS.

Usage

Run the agent on your command line like this:

./cpfw-login --url <cp fw url> --user <username> --password <password> [--passwordprompt]

The following parameters are available:

  • --url // CPFW_AUTH_URL required: base url of your checkpoint firewall login form without '/PortalMain'
  • --user // CPFW_AUTH_USER required: your user name
  • --password // CPFW_AUTH_PASSWORD required: your password
  • --check // CPFW_AUTH_CHECK_URL optional: any http url, used for checking before and after login. should be behind your firewall.
  • --interval optional: recheck/relogin every X seconds
  • --insecure optional: don't verify SSL/TLS connections
  • --passwordprompt optional: show a prompt for the password. It ignores the password parameter.

Build

make

Test

make test

Contributing

  1. fork
  2. commit
  3. send PR

About

Command line agent for checkpoint firewall authentication

License:MIT License


Languages

Language:Go 96.9%Language:Makefile 3.1%