Home Net Guide

Home / Port numbers / Port 1701

Port 1701: L2TP

The tunnelling half of L2TP/IPsec VPNs. Port 1701 uses UDP.

Port
1701
Commonly used for
L2TP
Transport
UDP
Encrypted
No (relies on IPsec)
Range
User (registered) port, 1024 to 49151
Our advice
Open it only if you need it, and secure the service first
IANA registration
l2f l2f (TCP, UDP)
l2tp l2tp (TCP, UDP)

Registration: IANA Service Name and Transport Protocol Port Number Registry, retrieved 15 November 2026. The registered name can differ from the everyday use, because popular software often adopts a port without registering it. The description and advice are written by Home Net Guide and describe common practice: any program can be set to use any port.

What port 1701 is used for

Port 1701 is the Layer 2 Tunneling Protocol. L2TP only builds a tunnel and encrypts nothing itself, so it is almost always run inside IPsec, the combination known as L2TP/IPsec. Older operating systems included it as a built-in VPN type.

Should port 1701 be open?

L2TP should never be reachable on its own without IPsec, because the traffic would be unprotected. A correctly built server opens UDP 500 and 4500 and accepts 1701 only inside the encrypted tunnel. It is considered a legacy option: IKEv2 or WireGuard are better choices for a new setup.

Related ports

  • Port 500 (IKE (IPsec key exchange)): setting up IPsec VPN tunnels
  • Port 4500 (IPsec NAT traversal): IPsec VPN traffic passing through home routers
  • Port 1723 (PPTP): an obsolete VPN protocol
  • Port 51820 (WireGuard): WireGuard VPN tunnels

See all port numbers for the full list and how ports, TCP and UDP work.

Previous: Port 1521 (Oracle Database listener) · Next: Port 1723 (PPTP)