Different types of VPNs use different ports to establish a secure connection over the Internet. It all depends on the types of protocols that a certain VPN offers. Some providers choose to only support a handful of protocols, while others offer a broad range of VPN protocols. Below is a list of some common VPN protocols and the ports that they use:
- PPTP (Point-to-Point Tunneling Protocol) – This protocol uses port 1723 TCP.
- L2TP (Layer Two Tunneling Protocol) – This protocol uses port 1701 TCP, Port 500 UDP, and port 4500 UDP.
- IPSec (Internet Protocol Security) – This protocol uses port 500 UDP and ports 4500 UDP.
- SSTP (Secure Socket Tunneling Protocol) – This protocol uses port 443 TCP.
- OpenVPN – This protocol uses port 1194 TCP/UDP and port 443 TCP.
Since we are discussing ports, let’s talk about some ports that are unsafe or can be vulnerable to attacks. Remember, no port is natively secure. Below is a list of some unsafe ports that you should avoid using:
- TCP port 21
- TCP port 23
- TCP/UDP port 53
- TCP port 80
- TCP port 1080
- TCP port 4444