PortScan › Port guide › Port 1723
Port 1723 (PPTP VPN): A VPN You Should Stop Using
Port 1723 is PPTP VPN. Its MS-CHAPv2 authentication was publicly broken in 2012, and Microsoft no longer recommends it. How to move to WireGuard or OpenVPN.
What is port 1723?
PPTP is a VPN method that spread alongside Windows in the 1990s. It sets up a control connection on TCP port 1723 and sends the actual data over GRE (IP protocol 47). Because it is easy to set up, it is still found on older routers and NAS devices.
When it is normally open
- Remote-access VPNs on older routers, NAS devices and Windows servers
Risks if it is open
Broken authentication
Research published in 2012 demonstrated that MS-CHAPv2, the authentication PPTP mostly uses, lets an attacker recover the key from a single captured handshake regardless of the password. Microsoft has not recommended PPTP since.
Weak encryption
MPPE encryption is based on RC4 and falls short of modern standards.
Security checklist
- Turn off PPTP and move to WireGuard, OpenVPN or IPsec (IKEv2). Most recent routers and NAS devices support a WireGuard or OpenVPN server.
- WireGuard-based services such as Tailscale can provide remote access without opening a single port.
- If you cannot switch right away, restrict access by IP and use a strong password (this is not a real fix).
How to check whether port 1723 is open
From outside (is it exposed to the internet?)
Whether your server or home router accepts port 1723 from the internet can only be confirmed by connecting from outside. A check from inside the same network bypasses the router's firewall and gives a different answer.
PortScan opens a real TCP connection from the Cloudflare edge and reports Open, Closed or Filtered. Members can scan every port on their own IP for free and other targets free once a day.
Check port 1723On the server (what is listening?)
Windows (PowerShell):
netstat -ano | findstr ":1723 "
Get-NetTCPConnection -LocalPort 1723 -State Listen | Select LocalAddress,OwningProcess
Linux:
sudo ss -tlnp | grep ':1723 '
If it listens on 0.0.0.0 or [::] it is open on every network; 127.0.0.1 means only that machine can connect. To test port 1723 on a server from another computer, use Test-NetConnection server-address -Port 1723 on Windows or nc -vz server-address 1723 on Linux and macOS.
How to close or restrict port 1723
The best fix is to turn the service off or make it listen only on 127.0.0.1 (see the checklist above). If you need the service but must keep it off the internet, use a firewall.
Windows Firewall
# Administrator PowerShell
New-NetFirewallRule -DisplayName "Block TCP 1723" -Direction Inbound -Protocol TCP -LocalPort 1723 -Action Block
# To allow a single IP instead (block rules take precedence, so use this instead of the rule above)
New-NetFirewallRule -DisplayName "Allow TCP 1723 from office" -Direction Inbound -Protocol TCP -LocalPort 1723 -RemoteAddress 203.0.113.10 -Action Allow
Linux (ufw)
sudo ufw deny 1723/tcp
# Allow a single IP only
sudo ufw allow from 203.0.113.10 to any port 1723 proto tcp
On a cloud server, also check port 1723 in the security group (inbound rules), which is separate from the OS firewall. For services running in Docker, the rules Docker creates can bypass ufw, so binding the port to localhost with -p 127.0.0.1:1723:1723 is the reliable option.
Router
At home or in a small office, open the router's admin page and check whether port 1723 is in the port forwarding list, whether DMZ is enabled, and whether any program opened ports by itself through UPnP. If any of the three applies, port 1723 on your PC is directly visible from the internet.
How to read the scan result
- Open — something accepted a connection on port 1723. Work through the risks above.
- Closed — the packet reached the device, but nothing is listening on that port, so it was refused immediately (RST). The service is off.
- Filtered — no response. A firewall or the ISP is dropping packets, or the device is off. From an exposure point of view this is the safest state.
The verdict can depend on where you connect from. Many ISPs (including most Korean ISPs) block some ports such as 135, 139 and 445 on their network, so the same server can look Filtered from inside that network and Closed from abroad.
FAQ
- But PPTP was always the fastest, wasn't it?
- That is because its encryption is lightweight. WireGuard uses modern cryptography and is every bit as fast as PPTP.
Related ports
Last updated 2026-11-04 · Use this guide to check systems you manage. Scanning systems without permission may carry legal liability.