VPN ports explained: all you need to know - Surfshark (2024)

VPN ports explained: all you need to know - Surfshark (1)

Ports are digital endpoints in a device that serve as both the starting and ending points for internet connections. Each port has a number identifying a specific process that sends your traffic to the internet. In simple terms, apps, websites, and other online processes have unique port numbers.

This allows networks to route your traffic to the internet and back effectively. And since all online processes need a port number, a VPN (Virtual Private Network) is no exception. A VPN’s port number depends on the VPN protocol used to establish your connection.

Knowing key port numbers, you can specifically identify the processes that send your traffic to the internet. Let’s take a closer look at the VPN ports you may run into and the reasons why you should be aware of them.

Table of contents

    What is a VPN port?

    A VPN port is a port used by a VPN protocol to establish a secure connection to the internet. A VPN connection sends your encrypted traffic to a VPN server through a tunnel. A VPN port acts as a starting point when the data travels to the VPN server and as an endpoint when data returns to your device.

    VPN ports can be split into two types — ones that use UDP (User Datagram Protocol) and ones that use TCP (Transmission Control Protocol) to transfer data packets through a VPN tunnel. UDP is faster but less reliable, while TCP is slower but more consistent.

    Some VPN protocols can use both TCP and UDP, but they have different port numbers for each of these ports.

    What ports does a VPN use?

    The ports a VPN uses depend solely on the VPN protocols used for your connection. Surfshark uses WireGuard, OpenVPN, and IKEv2 protocols. As a default, WireGuard uses UDP port 51820, OpenVPN uses UDP port 1194 and TCP port 443, and IKEv2 uses UDP 500 and UDP 4500 ports.

    Here are some more default port numbers for other VPN protocols that are still in use today:

    VPN protocol

    Port number

    WireGuard

    UDP 51820

    OpenVPN

    UDP 1194
    TCP 443

    IKEv2 (Internet Key Exchange Version 2)

    UDP 500
    UDP 4500

    PPTP (Point-To-Point Tunneling Protocol)

    TCP 1723

    SSTP (Secure Socket Tunneling Protocol)

    TCP 443

    L2TP (Layer Two Tunneling Protocol)

    UDP 500
    UDP 4500
    TCP 1701

    IPSec (Internet Protocol Security)

    UDP 500
    UDP 4500

    What is port forwarding?

    Port forwarding is a technique that allows certain traffic to bypass firewalls and other security measures. It does so by telling your router’s NAT (Network Address Translation) system that this traffic is safe and shouldn’t be blocked. Port forwarding is typically used to access your home network remotely or create secure remote servers.

    However, it has quite a few security flaws, which is why Surfshark and many other premium VPNs choose not to offer a port forwarding feature to its users. A secure VPN connection only uses secure ports and closes all others that may damage the security of your connection. With port forwarding, more ports stay open, which opens up doors for bad actors online.

    Which VPN ports should you avoid?

    The security of your connection is not defined by a port number. Instead, the security of your connection depends on two factors: the VPN protocol and the encryption that a VPN service uses. However, if you want to look for unsafe VPN ports, look no further than TCP 1723. Not because the port itself is unsafe but because it’s linked to the least secure protocol — PPTP.

    So, port numbers aren’t all that important when you’re looking for a secure VPN service. Before anything else, you should make sure the VPN service offers secure encryption, modern protocols, a vast server infrastructure, and undergoes regular audits. If a VPN meets these criteria, it will typically use secure ports as well.

    Surfshark uses industry-leading AES-256 encryption to protect your data. It has an audited infrastructure with 3200+ servers worldwide and modern protocols to establish your connection. So you can rest assured that Surfshark will effectively protect your online privacy, hide your IP address, and definitely won’t use dodgy ports for your connection.

    Should you be worried about your VPN port?

    For most users, a port will always be a number attached to the end of your IP address. It stays in the background yet is essential for an effective internet connection. Unless you absolutely must change your port number to bypass certain firewalls or other security measures, you probably shouldn’t fiddle with the port number.

    Much like all online processes, VPNs have their own port numbers, which are assigned to a VPN protocol. The port doesn’t really have a big impact on your connection since its security and other features are determined by the protocol used.

    Use modern VPN protocols

    Get a premium VPN at an affordable price

    Get Surfshark

    VPN ports explained: all you need to know - Surfshark (2)

    FAQ

    What is port 500 used for?

    Port 500 is one of a few networking ports used for VPN connections. The protocols that use this port include the likes of IPSec, L2TP, and IKEv2.

    Do VPNs use port 443?

    Yes, some VPNs may use port 443. Particularly those that employ OpenVPN or SSTP protocols to establish a VPN connection. Port 443 is most commonly known for its use with HTTPS traffic and is rarely, if ever, blocked or restricted by firewalls or other security measures.

    How do I find my VPN port?

    The process of finding your port number is different depending on the platform you use. Here’s how you can do it on macOS and Windows:

    Windows

    macOS

    1. Press Windows Key + S.

    1. Press Command + Spacebar.

    2. Type in cmd and press Enter.

    2. Type in terminal and press Enter.

    3. In the console, type in netstat -a and press Enter again.

    3. In the terminal, type in netstat -an and press Enter again.

    4. Your ports will be listed under the Local Address column in the format

    4. Your ports will be listed under the Local Address column in the format

    If you need a more detailed guide, check out our article on how to find your port number.

    VPN ports explained: all you need to know - Surfshark (3)

    Written by

    Rokas Aniulis

    Here to provide simple explanations for difficult cybersecurity issues.

    Rate and share this article

    5/5

    VPN ports explained: all you need to know - Surfshark (2024)

    FAQs

    VPN ports explained: all you need to know - Surfshark? ›

    What ports does a VPN use? The ports a VPN uses depend solely on the VPN protocols used for your connection. Surfshark uses WireGuard

    WireGuard
    WireGuard is a communication protocol and free and open-source software that implements encrypted virtual private networks (VPNs), and was designed with the goals of ease of use, high speed performance, and low attack surface.
    https://en.wikipedia.org › wiki › WireGuard
    , OpenVPN, and IKEv2 protocols. As a default, WireGuard uses UDP port 51820, OpenVPN uses UDP port 1194 and TCP port 443, and IKEv2 uses UDP 500 and UDP 4500 ports.

    What port does Surfshark VPN use? ›

    Surfshark uses port 51820 for WireGuard, 1194 for OpenVPN, and 500 for IKEv2. These ports must be open for the VPN connection to work with the corresponding protocol.

    Which VPN protocol is best for Surfshark? ›

    How do I know which Surfshark VPN protocol is the best for me?
    • WireGuard® is good all around, especially when speed is the issue.
    • IKEv2 is on par with WireGuard® and is really good with mobile.
    • OpenVPN usually works best for routers.

    Is Surfshark VPN TCP or UDP? ›

    In the drop-down menu, there are OpenVPN (UDP) and OpenVPN (TCP) – choose the one you prefer more: TCP is slower but more reliable when transferring data; UDP is faster, but the data transfer is not guaranteed.

    What VPN ports need to be open? ›

    The most common VPN ports include 1194 for OpenVPN UDP and TCP port 443, 500 for IPsec/IKEv2, and 1723 for PPTP.

    How do I know what port my VPN is using? ›

    How to find your port number on Windows
    1. Start your command prompt.
    2. Type ipconfig.
    3. Next type netstat -a for a list of your various port numbers.

    How to configure Surfshark VPN? ›

    1. Download and install the Surfshark app.
    2. Log into the app.
    3. Connect to the VPN.
    4. Manage Surfshark locations.
    5. Manage Surfshark features.
    6. Manage Surfshark settings.
    7. Ensure your connection is successful.
    Mar 13, 2024

    Why Surfshark is better than NordVPN? ›

    In short, NordVPN has a larger server network, offering over 6,000 servers in 111 countries, while Surfshark has 3200 servers in 100 countries. However, Surfshark allows unlimited simultaneous connected devices, while NordVPN caps the number of devices at ten. Pricing-wise, Surfshark costs less across all plans.

    What are the 3 most common VPN protocols? ›

    The 3 most common VPN protocols are OpenVPN, L2TP/IPsec, and IKEv2/IPsec.

    What port is IPsec? ›

    IPsec usually uses port 500.

    How to use camouflage mode in Surfshark? ›

    Camouflage mode runs automatically when you connect to our servers using OpenVPN (UDP or TCP) protocols. You will find an option to change the protocol in the Settings menu of the Surfshark application. You may also be interested in: Surfshark Features and Settings.

    How many connections for Surfshark VPN? ›

    Surfshark protects an unlimited number of devices under one account, whereas most other VPNs have a connection limit. ExpressVPN, for instance, limits the number of devices to five or eight, depending on your plan. With Surfshark, one subscription is all you'll need.

    What ports are required for always on VPN? ›

    Configure VPN server as a RADIUS client

    On the NPS server, open your firewall rules to allow UDP ports 1812, 1813, 1645, and 1646 inbound.

    What is the best port for OpenVPN? ›

    The preferred port for an OpenVPN tunnel is the UDP port, but the TCP 443 port serves as a fallback method due to restricted internet connectivity on some networks, such as public networks.

    Should I use port 80 or 443 for VPN? ›

    You can make a daemon/service listen on pretty much any port you like. However any semi-competent network admin will notice something amiss when you start passing encrypted traffic over port 80 (which is normally unencrypted HTTP traffic). Use port 443 instead.

    Which VPNs use port 443? ›

    What ports does a VPN use?
    VPN protocolPort number
    OpenVPNUDP 1194 TCP 443
    IKEv2 (Internet Key Exchange Version 2)UDP 500 UDP 4500
    PPTP (Point-To-Point Tunneling Protocol)TCP 1723
    SSTP (Secure Socket Tunneling Protocol)TCP 443
    3 more rows
    Jan 24, 2024

    What VPN uses port 500? ›

    What port does a VPN use?
    VPN protocolVPN Port NumberProcess
    OpenVPN (TCP)443OpenVPN connections
    L2TP (UDP)500, 1701, 4500L2TP (IPSec control path) connections
    IKEv2 (UDP)500IKEv2 (IPSec control path) connections
    IPSec (UDP)500IPSec connections
    3 more rows
    Aug 11, 2022

    What port does always on VPN use? ›

    On the NPS server, open your firewall rules to allow UDP ports 1812, 1813, 1645, and 1646 inbound.

    What type of connection is Surfshark? ›

    Surfshark allows users the option to use the L2TP protocol, despite it not being as secure as other protocols available on the market. This protocol may offer faster speeds compared to OpenVPN and is compatible with many home routers.

    Top Articles
    Meet The Stunning Actress Behind The Verizon Commercial
    Unmasking the Actress in Verizon's New 5G Ads - Soul Sanctuaries
    Fiat 600e: Dolce Vita auf elektrisch
    Wcco Crime News
    The McPherson Republican from McPherson, Kansas
    Gasbuddy Costco Hawthorne
    Craigslist Lititz
    Feet.girl01
    Lifestyle | Stewartstown-Fawn Grove Daily Voice
    Who is on the FBI Most Wanted list cryptocurrency?
    Tate Sweat Lpsg
    The 8 Best Santa Ynez Wineries to Visit in 2023
    Live2.Dentrixascend.com
    Msu Ro
    Target Nytimes
    Super Nash Bros Tft
    Leaks Mikayla Campinos
    Megnutt Health Benefits
    Aly Raisman Nipple
    Tugboat Information
    April 7 Final Jeopardy
    Walmart Neighborhood Market Gas Price
    Bbc Weather Boca Raton
    1970 Baltimore Orioles World Series Scroll Pennant
    G4 Vore
    The Star Beacon Obituaries
    Configuring TPM 2.0 on a 6.7 ESXi host
    Eureka Mt Craigslist
    20 of the Best Restaurants in Moscow, Russia by a Local
    Itsfunnydude11 Wisconsin Volleyball Team : Itsfunnydude11 Twitter, Itsfunnydude11 Reddit – Know About It ! - Opensquares
    Courtney Callaway Matthew Boynton
    Spn 102 Fmi 16 Dd15
    Camila Arujo Leaks
    New R-Link system and now issues creating R-Link store account.
    Ups Customer Center Locations
    Waifu Fighter F95
    Oklahoma Craigslist Pets
    Sessional Dates U Of T
    Imagemate Orange County
    Viewfinder Mangabuddy
    Prodigy Login For Students
    Realidades 2 Capitulo 2B Answers
    168 Bus Schedule Pdf 2022
    Neo Geo Bios Raspberry Pi 3
    Mugshots In Waco Texas
    Salon5 – Europa, was geht? – Podcast
    Agurahl The Butcher Wow
    El Craigslist
    Pike County Buy Sale And Trade
    Car Hire in Romania from £4/day - Search for car rentals on KAYAK
    Winta Zesu Net Worth
    Latest Posts
    Article information

    Author: Jerrold Considine

    Last Updated:

    Views: 5879

    Rating: 4.8 / 5 (78 voted)

    Reviews: 85% of readers found this page helpful

    Author information

    Name: Jerrold Considine

    Birthday: 1993-11-03

    Address: Suite 447 3463 Marybelle Circles, New Marlin, AL 20765

    Phone: +5816749283868

    Job: Sales Executive

    Hobby: Air sports, Sand art, Electronics, LARPing, Baseball, Book restoration, Puzzles

    Introduction: My name is Jerrold Considine, I am a combative, cheerful, encouraging, happy, enthusiastic, funny, kind person who loves writing and wants to share my knowledge and understanding with you.