Port reference › Network infrastructure

Port 4789 · VXLAN

Overlay network tunnel

UDP Network infrastructure Exposure risk: Medium

What is port 4789 used for?

Standard VXLAN port, carrying L2 frames inside UDP. Used by EVPN-VXLAN fabrics, VMware NSX and Kubernetes Flannel or Calico VXLAN mode. (The Linux kernel default is the older 8472.)

Registered port (1024-49151): the range used by ordinary applications.

Security notes

Allow only between VTEP networks. Inbound VXLAN from outside can inject arbitrary frames into your network.

Allow port 4789 through the firewall

This port is risky to expose, so the commands below allow only the IPs you specify.

# Replace 203.0.113.10/32 with the IP or network you want to allow
sudo ufw allow from 203.0.113.10/32 to any port 4789 proto udp
sudo ufw status

Check whether port 4789 is open

sudo ss -ulpn | grep ':4789 '

Other network infrastructure ports

53 DNS 853 DNS over TLS 67 DHCP server 68 DHCP client 123 NTP 161 SNMP 162 SNMP trap 179 BGP 514 Syslog 830 NETCONF 5353 mDNS