Port 1723: PPTP

Port 1723 (TCP) is used by PPTP. Old Microsoft VPN protocol with broken encryption. Avoid.

1723Port
TCPProtocol
pptpIANA service name
VPN & proxyCategory

Port range

1723 is a registered port (range 1024–49151). Any user can bind to it; IANA records which service registered the number.

Security

Only open port 1723 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.

Open port 1723 in a firewall

ufw         sudo ufw allow 1723/tcp
iptables    sudo iptables -A INPUT -p tcp --dport 1723 -j ACCEPT
firewalld   sudo firewall-cmd --permanent --add-port=1723/tcp
Windows     New-NetFirewallRule -DisplayName "PPTP 1723" -Direction Inbound -Protocol TCP -LocalPort 1723 -Action Allow

Check if port 1723 is open

nc -vz example.com 1723
Test-NetConnection example.com -Port 1723   # PowerShell
sudo ss -tulpn | grep ':1723 '   # what is listening locally (Linux)

Other vpn & proxy ports

Frequently asked questions

What is port 1723 used for?
PPTP. Old Microsoft VPN protocol with broken encryption. Avoid.
Is port 1723 TCP or UDP?
TCP.