Giter Site home page Giter Site logo

kimfrellsen / fortistacks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fortinet-solutions-cse/fortistacks

0.0 1.0 0.0 20.82 MB

Project gathering how to use Fortinet product as VNFs, with examples, MANO, VIM etc.. see README for details

Home Page: http://docs.fortinet.com/d/fortigate-fortios-vm-openstack-cookbook

Dockerfile 0.96% Shell 67.28% Python 30.10% Makefile 1.66%

fortistacks's Introduction

Fortistacks

This project goal is to ease and speed up the use of Fortinet VMs on any stack/cloud etc..

To achieve this we propose here a tested public openstack with CityCloud or a personnal openstack in a box (Ubuntu)

Then using the mini-poc concept of 2 VMs, 2 network 1 fortigate we build examples in script, heat, Cloudify or OSM/Rift.io formats.

This version 2 also provide more advanced demo for secure sdwan and scalability.

To correctly get the referenced submodules please use the --recursive option of git clone like this:

git clone https://github.com/fortinet-solutions-cse/fortistacks.git --recursive

The scripts are supposed to run on an Ubuntu with sudo access. See the README Dockerclient for running on external Openstack on any client.

What you will find here

In the different directories you will find the following parts, read the README in each folder for details:

  • fortistacks Script to turn a vanilla Ubuntu with empty partition into a system ready for fortistack. Can be ignored if using public or your own openstack.

  • ubuntu-openstack set of scripts to install a fully fonctionnal openstack on 1 machine and use it later as the default VIM. Rely on you running the fortistacks script first.

  • public-openstack This section will configure you CityCloud openstack to work with this project.

  • mini-poc Is the name of a simple scenario (2 networks) 2 generic VMs 1 fortigate in between. All with floating ips so that one can connect to them and generate traffic, see it/block it. This same simple scenario is then declined with the the different approach. It contains the important points to pay attention to while deploying a fortigate/fortios.

  • fortigate/fortios Those are very similar only the fortigate/fortios are highlighted. Target is at least 5.6.3 or 5.4.5 which makes config_drive optionnal. There is script in bash(read it to see the cli) and heat templates

  • cloudify In this folder you will deploy a Cloudify-manager (on lxc locally or vm if public) autoconfigure for using opentack then have the blueprint to use it.

  • osm In this folder you will deploy an OpenSource MANO instance (on lxc locally or vm if public) autoconfigure for using opentack then have the descriptors to use it.

What do you need (choices)

  • An Openstack:

    • Public ($) use Citycloud: create and account and go to public-openstack folder
    • Private create you own and go to ubuntu-openstack folder
  • Fortigate/fortios images check fortigate and fortios folder for scripted and heat examples.

  • MANO:

    • Cloudify folder depending on you openstack choice deploy manager then use the blueprints.
    • OSM/Rift.io same as above

This project is opensource and based under Apachev2 license. Every contribution is supposed to respect that. Don't put your company IP in here .. it is bad.

Mini Proof of Concept

Mini-poc is used to refer to deploying 2 Ubuntu VMs with iperf, Apache, etc.. to be able to generate traffic. 2 networks left and right. 1 fortigate or fortios All have floating ips on a predefined mgmt network As described here:

    ===========================================================
        |                     |    Management/floating ips   |
        |                     |                              |
   .----v-----.               |                              |
   | trafleft |               |                              |
   |  Ubuntu  |               |                              |
   '----------'               |                              |
         |                    |                              |
         v                    |                              |
    .-,(  ),-.          .-----v-----.        .-,(  ),-.      |
 .-(          )-.       | Fortigate |     .-(          )-.   |
(      left      )----->|     vm    |--->(      right      ) |
 '-(          ).-'      '-----------'     '-(          ).-'  |
     '-.( ).-'                                '-.( ).-'      |
                                                  <-------.  |
                                                          |  v
                                                    .-----------.
                                                    | trafright |
                                                    |   Ubuntu  |
                                                    '-----------'

The goal is to offer an easy access to all parts and being able to experiment with Fortinet products on Openstack.

Videos

Fortistacks1.2 on Public openstack : https://youtu.be/Zp6CCEbJiUU

If you want to install your own openstack and use the same (on 1 machine) refer to Fortistacks1.1 https://youtu.be/0y38B61FTSk the video applies to version 1.2.

Previous versions

For stable versions of this project refer to :

https://github.com/fortinet-solutions-cse/fortistacks/releases to find the release you like. The master branch can contain work in progress.

fortistacks's People

Contributors

thomnico avatar migumun avatar kimfrellsen 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.