Maybe you were looking for the Enterprise Documentation instead?
Careful! You are browsing documentation for an outdated version of Kong. Go here to browse the documentation for the latest version.

Table of Contents

Network & Firewall

In this section you will find a summary about the recommended network and firewall settings for Kong.


These are the port settings in order for Kong to work:


Below are the recommended firewall settings:

  • The upstream APIs behind Kong will be available on proxy_listen and proxy_listen_ssl. Configure these ports accordingly to the access level you wish to grant to the upstream APIs.
  • Protect admin_api_listen, and only allow trusted sources that can access the Admin API.
  • Allow traffic on cluster_listen port only between other Kong nodes. This port is used for infra-cluster communications.


Kong assumes a flat network topology in multi-datacenter setups. If you have a multi-datacenter setup, Kong nodes between the datacentes should communicate over a VPN connection.

Kong will try to auto-detect the node’s first, non-loopback, IPv4 address and advertise this address to other Kong nodes. Sometimes this is not enough and the IP address needs to be manually set, you can do that by changing the advertise property in the cluster configuration.