# 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:
```bash
fortigate-vpn-login --configure
```
To initiate the SAML workflow on a fortigate ssl vpn server:
```bash
fortigate-vpn-login -s https://vpn-server.example.com
```
To get help and more options:
```bash
fortigate-vpn-login -h
```
## Contents
- [ChangeLog](CHANGELOG.md)
## Setup and usage for local development
Make a virtual environment:
```bash
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/eitchugo/fortigate-vpn-login",
"name": "fortigate-vpn-login",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8, <4",
"maintainer_email": "",
"keywords": "vpn,security,openconnect,fortinet",
"author": "Hugo Cisneiros",
"author_email": "hugo.cisneiros@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/a9/d3/3be348b5a9bb3efe953b425b82afba2e0b7d2a5599439c174c5eb615c463/fortigate-vpn-login-0.5.tar.gz",
"platform": null,
"description": "# fortigate-vpn-login\n\nUses `openconnect` to connect to Fortinet VPNs, with extra features. This was created because sometimes we don't want\nto use the Forticlient program, or just want a background daemon working for us.\n\nSo why not use only `openconnect`? Because there's no proper SAML / OAuth2 support on it, so I decided to do a python\nwrapper to extract the `SVPNCOOKIE` from the browser workflow and use it on `openconnect`.\n\n## Usage\n\nTo configure this utility on an interactive mode, run:\n\n```bash\nfortigate-vpn-login --configure\n```\n\nTo initiate the SAML workflow on a fortigate ssl vpn server:\n\n```bash\nfortigate-vpn-login -s https://vpn-server.example.com\n```\n\nTo get help and more options:\n\n```bash\nfortigate-vpn-login -h\n```\n\n## Contents\n\n- [ChangeLog](CHANGELOG.md)\n\n## Setup and usage for local development\n\nMake a virtual environment:\n\n```bash\npython3 -m venv venv\nsource venv/bin/activate\npip install -e .\n```\n\nNote that this will also install the local dependencies, which might change after\nsome time. If needed, you can run `pip install -e .` again to reinstall the\nupdated dependencies anytime.\n",
"bugtrack_url": null,
"license": "",
"summary": "Uses openconnect to connect to Fortinet VPNs, with extra features",
"version": "0.5",
"project_urls": {
"Homepage": "https://github.com/eitchugo/fortigate-vpn-login"
},
"split_keywords": [
"vpn",
"security",
"openconnect",
"fortinet"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bc805ac5be69afd959ae9f547caf9afeb09dba51a92d5bc1163a6859541445dd",
"md5": "94846207ea8dfee9ec16f9621771dec3",
"sha256": "b2e964e198561ceeccb537f5f6f77ffd38eff0b53d745c8f44327a90eeea441c"
},
"downloads": -1,
"filename": "fortigate_vpn_login-0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "94846207ea8dfee9ec16f9621771dec3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8, <4",
"size": 23952,
"upload_time": "2023-08-08T00:48:36",
"upload_time_iso_8601": "2023-08-08T00:48:36.819015Z",
"url": "https://files.pythonhosted.org/packages/bc/80/5ac5be69afd959ae9f547caf9afeb09dba51a92d5bc1163a6859541445dd/fortigate_vpn_login-0.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a9d33be348b5a9bb3efe953b425b82afba2e0b7d2a5599439c174c5eb615c463",
"md5": "f11bb0c69d5fa48e975522894102c41f",
"sha256": "2773af3ea675faa3f1d72b1bc77161509d59de6374f9c8ba70678b8a7becf58f"
},
"downloads": -1,
"filename": "fortigate-vpn-login-0.5.tar.gz",
"has_sig": false,
"md5_digest": "f11bb0c69d5fa48e975522894102c41f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8, <4",
"size": 22764,
"upload_time": "2023-08-08T00:48:38",
"upload_time_iso_8601": "2023-08-08T00:48:38.803815Z",
"url": "https://files.pythonhosted.org/packages/a9/d3/3be348b5a9bb3efe953b425b82afba2e0b7d2a5599439c174c5eb615c463/fortigate-vpn-login-0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-08 00:48:38",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "eitchugo",
"github_project": "fortigate-vpn-login",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "fortigate-vpn-login"
}