4500Port
UDPProtocol
ipsec-nat-tIANA service nameVPN & proxyCategory
Port range
4500 is a registered port (range 1024–49151). Any user can bind to it; IANA records which service registered the number.
Security
Only open port 4500 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.
Open port 4500 in a firewall
ufw sudo ufw allow 4500/udp iptables sudo iptables -A INPUT -p udp --dport 4500 -j ACCEPT firewalld sudo firewall-cmd --permanent --add-port=4500/udp Windows New-NetFirewallRule -DisplayName "IPsec NAT traversal 4500" -Direction Inbound -Protocol UDP -LocalPort 4500 -Action Allow
Check if port 4500 is open
nc -vzu example.com 4500 # UDP checks are unreliable: no reply ≠ closed sudo ss -tulpn | grep ':4500 ' # what is listening locally (Linux)