Skip to content
evoila
  • Home
  • Partner
  • Industries
  • Success Stories
  • Events

GB

PL

CH

IT

ES

US

DE

AT

  • Home
    • Portfolio

      See what we build and how we deliver it.

    • Application Dev & Modern Platform

      • Platform Observability
      • Application Modernisation
      • Modernise your Developer Team
      • AI Integration in Applications
      • AI Assisted Development
      • Custom Application Development
      • Platform Engineering – From Chaos to Control
    • Cloud & Infrastructure

      • Modern Networks
      • Network Services
      • Private Cloud Solution
      • Hyperscaler
    • Data & AI

      • Data & AI Consulting
      • Data Platform
      • AI Platforms
      • Hybrid AI
      • AIOps
      • Agentic AI
    • Modern Workplace

      • Digital Employee Experience & Productivity
      • Secure & Managed Workplace
    • Security & Compliance

      • DevSecOps
      • Governance, Risk & Compliance
      • Offensive Security
      • Security Engineering
      • Managed Security Services
    • PLAN | Consulting

    • BUILD | Implementation

    • RUN | Managed Services

      • Advanced Managed Service
      • Enterprise Managed Service
      • Essential Support Service
  • Partner
  • Industries
  • Success Stories
    • Strategic Foundation

      • About us
      • International Expansion
      • Identity – Who we are
    • Culture & Commitment

      • Our Core Values
      • Responsibility & Impact
    • Knowledge & Insights

      • Blog
      • Podcasts
      • Press Kit & Downloads
    • Facts & Figures

      • Management & Leadership
      • Location
      • Company History

    Fresh from the team

    Insights & deep dives

    Read the blog

    • Careers

    • Where do you fit in?

      • Training Mode
      • Entry Mode
      • Expert Mode
    • Life at evoila

    • Why Join Us?

      • Working Reality
      • Hardware & Office Vibe
      • Learning & Development
    • How to join us?

      • How we hire
      • Jobs
      • Candidate FAQs
      • Applicant Use of data

    Wanna be part of IT?

    No dress code, no filler work only real projects and a sharp team

    See Open Positions
  • Events
  • Portfolio

    See what we build and how we deliver it.

  • Application Dev & Modern Platform

    • Platform Observability
    • Application Modernisation
    • Modernise your Developer Team
    • AI Integration in Applications
    • AI Assisted Development
    • Custom Application Development
    • Platform Engineering – From Chaos to Control
  • Cloud & Infrastructure

    • Modern Networks
    • Network Services
    • Private Cloud Solution
    • Hyperscaler
  • Data & AI

    • Data & AI Consulting
    • Data Platform
    • AI Platforms
    • Hybrid AI
    • AIOps
    • Agentic AI
  • Modern Workplace

    • Digital Employee Experience & Productivity
    • Secure & Managed Workplace
  • Security & Compliance

    • DevSecOps
    • Governance, Risk & Compliance
    • Offensive Security
    • Security Engineering
    • Managed Security Services
  • PLAN | Consulting

  • BUILD | Implementation

  • RUN | Managed Services

    • Advanced Managed Service
    • Enterprise Managed Service
    • Essential Support Service
  • Strategic Foundation

    • About us
    • International Expansion
    • Identity – Who we are
  • Culture & Commitment

    • Our Core Values
    • Responsibility & Impact
  • Knowledge & Insights

    • Blog
    • Podcasts
    • Press Kit & Downloads
  • Facts & Figures

    • Management & Leadership
    • Location
    • Company History

Fresh from the team

Insights & deep dives

Read the blog

  • Careers

    Discover how evoila works IT

  • Where do you fit in?

    • Training Mode
    • Entry Mode
    • Expert Mode
  • Life at evoila

  • Why Join Us?

    • Working Reality
    • Hardware & Office Vibe
    • Learning & Development
  • How to join us?

    • How we hire
    • Jobs
    • Candidate FAQs
    • Applicant Use of data

Wanna be part of IT?

No dress code, no filler work only real projects and a sharp team

See Open Positions

Published 26 Aug 2024

NSX integration for Fortinet Fortigate Firewalls

Technical Deep Dive

  • Firewall
  • Fortigate
  • Fortinet
  • NSX
  • NSXIntegration
  • SDN
NSX integration for Fortinet Fortigate Firewalls

Modern SDN solutions are flexible, fast and effective. The rules of the classic perimeter firewall should be exactly the same. To make life easier, Fortinet has an NSX integration that allows us to write our perimeter rules to dynamic NSX groups.

First things first

The Fortinet NSX integration works via a so-called external connector. For this purpose, the Fortigate contacts the NSX Manager at regular intervals and updates the previously imported groups. This allows us to use dynamic groups that were previously created in NSX using tags, for example.

First we need to configure our connector. To do this, go to the Fortigate at <Security Fabric> / <External Connectors> and click on <Create New>.

01 External Connector

Here we need to enter our NSX Manager, if we have an NSX Manager Cluster then of course the Cluster VIP or FQDN is needed. We can define an update interval, this determines how long it takes to update the groups on the Fortigate. In my lab I chose 30 seconds, depending on the environment lower or higher values may make sense. In a productive environment, the certificate should always be verified. In my homelab environment I deliberately turned this off.

02 External Connector Settings

Importing the dynamic NSX groups

The groups need to be imported via the Fortigate CLI. This is relatively easy to do for all groups and specifically for individual groups. Groups imported this way will be automatically updated in the future. If new groups are configured in NSX, they must be imported via the CLI if they play a role in the rules.

execute nsx group import <SDN Connector> <VDOM> <group>

If you want to import all NSX groups, you need to omit the group name in the CLI call. In the screenshot you can see me importing the dFG_AlpineLinux NSX group. This uses an NSX tag to combine all VMs of type Alpine Linux into one security group.

03 Group Import

In the Fortigate, you can now find the group under <Policy & Objects> / <Addresses> and use it like any other group in firewall policies. The NSX groups can be used not only for firewall rules, but also for policy-based routing via the SD-WAN feature.

04 Firewall Groups

In my example, I am prohibiting the Alpine Linux VMs from accessing the Internet. The current realized group assignment can be checked at any time via <Policy & Objects> / <Addresses> and a double click on the group.

05 Matched Addresses in Firewall Group

Delete groups

Groups need to be deleted manually. The easiest way to do this is via the Fortigate CLI. To do this, execute the following CLI command:

execute nsx group delete <VDOM> <filter>

If you want to delete all groups, you can simply leave the filter empty. If a group is used in a firewall policy, it cannot be deleted and you will receive a message that the group is in use.

Testing the solution

To do this, I log on to the Alpine2 VM and check the current IP. The VM has currently been assigned 172.31.2.10. We can also find this on the Fortigate in our dFG_AlpineLinux group. I am trying to send an ICMP to the Internet, which is blocked by the Fortigate firewall as expected.

06 Test 01

Next, I remove the Alpine Linux tag in the NSX, which ensures that the VM is no longer realized in the dFG_Alpine Linux group on the Fortigate after 30 seconds at the latest.

07 Test 02

Finally, I repeated my ping test. As expected, Internet access is now without any problems.

08 Test 03

Remarks

If the connection to NSX Manager is interrupted, group membership remains at the last synchronized state. This means that in highly dynamic environments, too much or too little traffic may be allowed or blocked. For this reason, the SDN connection should always be monitored. All group changes are saved in the Log SDN Connector Log of the Fortigate.

Use cases

One conceivable scenario would be to enable a dynamic firewall for VMs that are allowed to access the Internet. This can be done in NSX using a tag and a group. Every VM that does not have a tag and is therefore not in the group will be blocked at the Fortigate perimeter firewall.

09 Firewall Rule in FortiOS

The firewall rule allows everything that does not go into RFC1918 networks (private IP range). Of course, this is only a simple example and more complex setups are possible.

Additional information

Fortinet Documentation: Public and private SDN connectors

Daniel Krieger

Daniel Krieger

Share Share
View all posts
What VCF 9.1 actually changes for production AI workloads

Glen Tindal

2 Sep 2026

Technical Deep Dive

What VCF 9.1 actually changes for production AI workloads

A CIO I have known for years called me the day VCF 9.1 dropped. His team had been…

Read post
Copilot Cowork is GA: What the new pricing model means in practice from 1 July 2026

Anastasios Ntaflos

6 Jul 2026

Technical Deep Dive

Copilot Cowork is GA: What the new pricing model means in practice from 1 July 2026

When does experimenting with artificial intelligence end – and when does productive use begin? For many organisations, that…

Read post
Feature Flags as a Strategic Capability

Admir Hodzic

27 Mar 2026

Technical Deep Dive

Feature Flags as a Strategic Capability

How Modern Teams Deliver Faster, Safer Software Feature flags are no longer just toggles—they are a delivery capability…

Read post
Microsoft 365 E7: The $99 “Frontier Suite”

Anastasios Ntaflos

13 Mar 2026

Technical Deep Dive

Microsoft 365 E7: The $99 “Frontier Suite”

A meaningful upgrade or just bundling? Microsoft has introduced a new licensing tier with Microsoft 365 E7, priced at $99 per user per…

Read post
Schema-Driven Messaging with Avro: A Practical Guide for Engineers

Admir Hodzic

19 Feb 2026

Technical Deep Dive

Schema-Driven Messaging with Avro: A Practical Guide for Engineers

Message queues and event streams are foundational to modern distributed systems. They decouple producers and consumers, improve resilience,…

Read post
How complex is a migration from Citrix or RDS to Horizon really?

Anastasios Ntaflos

12 Feb 2026

Technical Deep Dive

How complex is a migration from Citrix or RDS to Horizon really?

Technically manageable – organizationally often made more complicated than necessary. “It's not the platform that's the problem, but…

Read post
evoila

We get IT done!

ImprintPrivacy PolicyWhistleblowerApplicant Use of data

© 2026 evoila. All rights reserved.