Aller au contenu

Port4500— IPSec NAT-Traversal

UDP 4500 transporte IPSec/IKEv2 NAT-Traversal (NAT-T). Lorsqu’un client VPN est derrière un NAT, IKE négocie le passage du port 500 au 4500 et y encapsule le trafic ESP. Il est presque toujours associé à UDP 500.

Registry assignments, software defaults and local listeners are different things. A port number alone does not identify or secure a service.

Configuration and troubleshooting

En cas d’échec d’un VPN IPSec derrière NAT, autorisez 500 et 4500, puis autorisez ESP (protocole IP 50) ou confirmez que l’encapsulation NAT-T est active. `ipsec statusall` (strongSwan) affiche l’état IKE_SA ; les clients Windows écrivent dans Event Viewer. Les documentations des passerelles VPN cloud présentent 500/4500 comme des prérequis obligatoires.

Important limitations

Certains pare-feu d’opérateurs ou d’entreprises bloquent 4500, si bien que le VPN ne fonctionne que sur certains réseaux. Commencez le diagnostic en changeant de réseau, par exemple avec un point d’accès mobile. Le port 4500 est réservé à IPSec : ne le réaffectez pas.

Read-only checks: run on the server host

Choose the commands for your OS. Check TCP and UDP separately. No result is not a lasting availability guarantee; inspect host and container separately.

Linux

sudo ss -lunp 'sport = :4500'

macOS

sudo lsof -nP -iUDP:4500

Windows PowerShell

Get-NetUDPEndpoint -LocalPort 4500

Sources and review

Sources checked on:

This review covers the explanations and sources on this page, not your device or every community software entry below.

Logiciels utilisant ce port (1 logiciels)

Community software entries: links are references, not individual verification.

IPSec NAT-T

IPSec NAT

Conseils d’utilisation

  • Avant d’utiliser le port 4500, vérifiez qu’il n’est pas occupé par d’autres services
  • En cas de conflit de ports, envisagez d’utiliser d’autres ports ou d’arrêter le service qui occupe le port

Questions fréquentes

What is port 4500 used for?

Port 4500 sits in the Security & Authentication category. This page lists the registered purpose and the software commonly associated with it; to see what is actually listening on a specific machine, check the process with ss/netstat.

Is port 4500 TCP or UDP?

The registered protocol on this page is UDP. The same number behaves independently on each protocol: TCP may be listening while UDP is idle, so check them separately.

How do I check if port 4500 is in use?

On Linux: sudo ss -tlnp 'sport = :4500' for an exact port match. On macOS: sudo lsof -nP -iTCP:4500 -sTCP:LISTEN. On Windows PowerShell: Get-NetTCPConnection -LocalPort 4500 -State Listen. A listener counts as confirmed only when you can see the bind address and process name; without root/admin you will not see other users' processes.

Is port 4500 secure? Should I open it in my firewall?

A port number has no inherent security — it depends on whether the listening service is correctly configured and whether it needs exposure at all. Keep loopback/internal-only services firewalled; where public access is required, pair it with source restrictions, VPN or authentication. The caution section on this page lists port-specific risks.

En bref

Port
4500
Protocole
UDP
Catégories
Sécurité et authentification
État d’utilisation
1 logiciels utilisant ce port

Besoin d’aide ?

Si vous trouvez des informations incorrectes ou souhaitez en ajouter, veuillez proposer une correction.

Proposer une correction