Giter Club home page Giter Club logo

fortigpt's Introduction

FortiGPT

alt text

FortiGPT Troubleshooting Assistant is a web app that helps network administrators troubleshoot common networking issues using natural language processing. This app uses the FortiGate API and SSH to gather debug commands and sends them to the ChatGPT API for analysis. The app then provides troubleshooting advice based on the analysis results.

Tested on Fortigate 7.2.4 VM

The app uses ReactJS for frontend and NodeJS/Express for backend

Getting Started

To use FortiGPT Troubleshooting Assistant, simply select a problem category (e.g. VPN issues) from the sidebar menu, and choose the problem type. The app will gather the debug output from your FortiGate firewall and send it to the ChatGPT API for analysis. The app will then provide you with troubleshooting advice based on the analysis results. If you are not happy with the response from chatGPT you can modify the prompts used in the server folder and rebuild the docker image.

Categories currently available

  • System - Fortiguard, High Memory, High CPU
  • Connectivity - Packet Flow
  • Routing - BGP Down
  • VPN - VPN Down
  • Network - Interfaces

Future Development

  • If the community expresses interest in this tool, I will incorporate additional categories and problem types.

Requirements

FortiGPT Troubleshooting Assistant requires no dependencies to be installed. Instead, it can be run as a Docker container.

Installation

To run FortiGPT Troubleshooting Assistant, simply follow the steps below:

Docker

Run the docker command to download the image and simply browse to the container

docker run \
  -p 5005:5005 \
  -e OPENAI_API_KEY=your-api-key \
  gt732/fortigpt-react

Login Screen

alt text

Demo

  • VPN Phase1 pre-share key mis-match alt text

  • Debug Flow alt text

  • BGP Down alt test

Contributing

Contributions are welcome! To contribute to FortiGPT Troubleshooting Assistant, simply fork the GitHub repository and submit a pull request with your changes.

License

FortiGPT Troubleshooting Assistant is licensed under the MIT license. See LICENSE for more information.

fortigpt's People

Contributors

gt732 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.