---
title: "Configure Protocols and Ports"
description: "Balance TCP/UDP traffic with NLB by defining service and target ports. Ensure instance pool security group allows ingress on target port for forwarding."
url: https://community.exoscale.com/product/networking/nlb/how-to/protocols-and-ports/
product: "NLB"
section: product
last_updated: 2026-06-03
---
> For AI agents: the documentation index is at https://community.exoscale.com/llms.txt. Every page is available as markdown at `<page URL>index.md` or with `Accept: text/markdown`.

# Configure Protocols and Ports

For each service you will provide the protocol of the traffic to be balanced (either `TCP` or `UDP`) and a pair of ports:

Service port
: the port on which the NLB Service has to listen for the incoming traffic.

Target port
: the port on which the NLB Service has to forward the traffic. This is the
  port on which the members of the Instance Pool will actually receive the
  forwarded traffic.

> [!WARNING]
> Your Instance Pool [security groups](https://community.exoscale.com/product/networking/security-group/index.md) 
> need to have an open ingress rule on the designated target port to work.

