Giter VIP home page Giter VIP logo

fortisslvpnmonitor's Introduction

Fortigate SSL VPN

This program is written for Fortigate firewalls to display connected SSL VPN users in a systematized manner.

Features

  • Query multiple firewalls (specified in yaml file)
  • Helps you find users who are possibly sharing their account credentials
  • Be aware of your IP assignments and address pool depletion
  • Possibly find SSL VPN daemon issues of FortiOS
  • Cross-platform. Runs on Windows, Linux and Mac OS.

Requirements

Netmiko is needed to run this script. You can install it using below command.

pip3 install netmiko

Usage

Download all the files in this repository and place them in the same directory. Alternatively, you can clone this repository as well.

git clone https://github.com/pouriyajamshidi/FortiSSLVPNMonitor.git

Populate the firewalls.yaml according to your environment:

  • name: Firewall name
  • mgmt_ip: management IP address
  • port: SSH port
  • vdom: Vdom name, in case you are not using any, set it as none
  • ip_pool: IP address pool size for VPN users. E.g. 254 for /24

There are two versions of this program available

  • For FortiOS versions below 6.4:

    python3 pysslvpnmonitor_below_6.4.py
  • For FortiOS versions 6.4 and above:

    python3 pysslvpnmonitor.py

Tested on

Windows and Debian derivatives.

Contributing

Pull requests are welcome.

License

License

fortisslvpnmonitor's People

Contributors

pouriyajamshidi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.