For AI agents: the complete documentation index is available at https://docs.us.ovhcloud.com/en/llms.txt, the full documentation bundle is available at https://docs.us.ovhcloud.com/en/llms-full.txt, and this page is available as Markdown at https://docs.us.ovhcloud.com/en/hosted-private-cloud/vmware/nsx-manage-gateway-firewall.md.
  • English

Gateway Firewall Management in NSX

View as Markdown

Gateway Firewall allows filtering between internal segments and the network outside the incoming or outgoing cluster.

It works on the North-South (Tier-0 Gateways) and East-West (Tier-1 Gateways) gateways if the source or destination is not inside the cluster.

If you want to create filtering rules between internal segments, you will need to use distributed firewall using our guide on distributed firewall management.

Learn how to manage gateway firewalls.

Requirements

Instructions

We will create a strategy to improve the visibility and administration of rules based on their usefulness.

Next, we will add a rule within our strategy that blocks access to the entire external network of a cluster from a group that contains a segment (you can use our Distributed Firewall Management guide to create groups) and any for the destination.

Go to the Security tab, select Gateway Firewall and click + ADD POLICY.

NSX manage gateway firewall - step 1

 

Select ovh-T0-gw to the right of Gateway.

  • Name your policy my policy below the Name column.
  • Click the three vertical dots to the left of your policy.

NSX manage gateway firewall - step 2

 

Click Add Rule in the menu.

NSX manage gateway firewall - step 3

 

Name your rule block segment1 to any below the Name column.

NSX manage gateway firewall - step 4

 

Click on the pen to the right of "Any" in the Source column.

NSX manage gateway firewall - step 5

 

Stay in the Groups tab, select the g-segment01 group and click APPLY.

NSX manage gateway firewall - step 6

 

Choose Drop under the Action column and click PUBLISH.

NSX manage gateway firewall - step 7

Your rule is active on the ovh-T0-gw gateway, it blocks all outgoing traffic from members of the g-segment01 group.

Conclusion

Having read this guide, you should be able to create a strategy to improve the administration of rules based on their usefulness as well as add a rule within that strategy that blocks access to the entire external network of a cluster from a group that contains a segment and any for the destination.