Uses openconnect to connect to Fortinet VPNs, with extra features
Project description
fortigate-vpn-login
Uses openconnect
to connect to Fortinet VPNs, with extra features. This was created because sometimes we don't want
to use the Forticlient program, or just want a background daemon working for us.
So why not use only openconnect
? Because there's no proper SAML / OAuth2 support on it, so I decided to do a python
wrapper to extract the SVPNCOOKIE
from the browser workflow and use it on openconnect
.
Usage
To configure this utility on an interactive mode, run:
fortigate-vpn-login --configure
To initiate the SAML workflow on a fortigate ssl vpn server:
fortigate-vpn-login -s https://vpn-server.example.com
To get help and more options:
fortigate-vpn-login -h
Contents
Setup and usage for local development
Make a virtual environment:
python3 -m venv venv
source venv/bin/activate
pip install -e .
Note that this will also install the local dependencies, which might change after
some time. If needed, you can run pip install -e .
again to reinstall the
updated dependencies anytime.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for fortigate_vpn_login-0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2e964e198561ceeccb537f5f6f77ffd38eff0b53d745c8f44327a90eeea441c |
|
MD5 | 94846207ea8dfee9ec16f9621771dec3 |
|
BLAKE2b-256 | bc805ac5be69afd959ae9f547caf9afeb09dba51a92d5bc1163a6859541445dd |