Port reference › VPN

Port 1723 · PPTP

Legacy VPN protocol

TCP VPN Exposure risk: High

What is port 1723 used for?

PPTP VPN port. It also needs GRE (IP protocol 47).

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

Security notes

PPTP’s MS-CHAPv2 auth has long been broken. Switch to WireGuard, IPsec IKEv2 or OpenVPN.

Allow port 1723 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 1723 proto tcp
sudo ufw status

Check whether port 1723 is open

sudo ss -tlpn | grep ':1723 '

Other vpn ports

500 IKE (IPsec) 4500 IPsec NAT-T 1194 OpenVPN 51820 WireGuard 1701 L2TP