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? ›

    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.

    What ports 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.

    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.

    What ports are needed for VPN? ›

    What kind of ports does a VPN use?
    • Point-to-Point Tunneling Protocol (PPTP) — Port 1723 TCP.
    • Layer Two Tunneling Protocol (L2TP) — Ports 1701 TCP, 500 UDP, and 4500 UDP.
    • Internet Protocol Security (IPSec) — Ports 500 UDP and 4500 UDP.
    • Secure Socket Tunneling Protocol (SSTP) — Port 443 TCP.
    Jun 20, 2023

    How to bypass VPN detection in Surfshark? ›

    Enable Bypasser
    1. Open the Surfshark application and tap Settings on the bottom bar. NOTE: If you don't have Surfshark on your Android, follow our guide on how to set up Surfshark VPN on Android.
    2. In the Settings tab, click on VPN Settings.
    3. Tap on Bypasser.
    4. Select which method you are going to use.
    Jan 30, 2024

    What ports does always on VPN use? ›

    This architecture uses 2 NLBs. One is external for the VPN (RRAS) servers and the other one is internal for the NPS servers. The internet-facing NLB listens on ports TCP/443 and UDP 500/4500, which directs traffic to the RRAS servers. The internal-facing NLB listens on UDP ports 1812/1813 for RADIUS traffic.

    What protocol should I use for Surfshark VPN? ›

    The best Surfshark VPN protocol largely depends on the device you're using or the reason you need a VPN: 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.

    How do you know what port you are using? ›

    How to find your port number on Windows
    1. Type “Cmd” in the search box.
    2. Open “Command Prompt.”
    3. Enter the netstat -a command to see your port numbers.
    Mar 29, 2022

    What is the best UDP port for VPN? ›

    Most VPN protocols are associated with UDP port 500 or TCP port 443. These port numbers are known for their speed and reliability and are rarely blocked.

    How do I find VPN connections? ›

    When connected, the VPN connection name will display Connected underneath it. To see if you're connected to the VPN while you're doing things on your PC, select the Network icon (either or ) on the far right of the taskbar, then see if the VPN connection says Connected.

    What is the best port for OpenVPN? ›

    OpenVPN daemons interface and ports

    By default, they listen on all available network interfaces, using UDP port 1194 and TCP port 443. You can customize these settings via the Admin Web UI or CLI.

    Does VPN port matter? ›

    The choice of port can affect both the security and reliability of your VPN connection, as well as its ability to bypass firewalls or network restrictions.

    Should my VPN be UDP or TCP? ›

    TCP is more reliable, but there are many uses where UDP is preferred and this is usually the default protocol on most VPN services.

    Can you be tracked with Surfshark VPN? ›

    A strict no-logs policy

    To be private means to be private from everyone, including your VPN provider. Surfshark never tracks what you do online, meaning that no connection logs are kept aside from what is needed to keep your VPN tunnel up.

    Does Surfshark have port forwarding? ›

    VPN clients and VPN port forwarding

    In either case, it's hard to know upfront, so if port forwarding is important to you, check the VPN's website, contact its customer support, or read the FAQs to see if it does. Surfshark VPN does not support port forwarding. This decision was made with your security in mind.

    Does Surfshark allow tunneling? ›

    Surfshark is a VPN service provider that offers a VPN split tunneling feature in all of its subscription plans. Keep in mind — not all VPNs support split tunneling.

    Is Surfshark TCP or UDP? ›

    In fact, you can choose which mode to use with Surfshark! Why? Because TCP sends and receives data packages all while keeping the computer equivalent of direct eye contact with the recipient. On the other hand, UDP is faster as it sort of just labels the packages and chucks them at the recipient.

    What port is used for SSL VPN? ›

    The default protocol and port for Mobile VPN with SSL is TCP port 443, which is usually open on most networks.

    What is port 4500 used for? ›

    Port 4500, often paired with the UDP protocol, is fundamental in the deployment of IPsec VPNs, serving as a conduit for secure communications across internet protocols.

    What port does TCP VPN use? ›

    OpenVPN daemons interface and ports

    By default, they listen on all available network interfaces, using UDP port 1194 and TCP port 443. You can customize these settings via the Admin Web UI or CLI.

    Top Articles
    Daedalus Wallet
    Buy Cryptocurrency with Credit or Debit Card Instantly | Currency.com
    Dairy Queen Lobby Hours
    Pixel Speedrun Unblocked 76
    How Many Cc's Is A 96 Cubic Inch Engine
    GAY (and stinky) DOGS [scat] by Entomb
    The Haunted Drury Hotels of San Antonio’s Riverwalk
    South Ms Farm Trader
    Uc Santa Cruz Events
    Jscc Jweb
    Zürich Stadion Letzigrund detailed interactive seating plan with seat & row numbers | Sitzplan Saalplan with Sitzplatz & Reihen Nummerierung
    Darksteel Plate Deepwoken
    Elizabethtown Mesothelioma Legal Question
    Conan Exiles Colored Crystal
    Baywatch 2017 123Movies
    Fdny Business
    1-833-955-4522
    Ratchet & Clank Future: Tools of Destruction
    Epguides Strange New Worlds
    Phoebus uses last-second touchdown to stun Salem for Class 4 football title
    How to Download and Play Ultra Panda on PC ?
    Yonkers Results For Tonight
    2000 Ford F-150 for sale - Scottsdale, AZ - craigslist
    Timeline of the September 11 Attacks
    1636 Pokemon Fire Red U Squirrels Download
    Expression Home XP-452 | Grand public | Imprimantes jet d'encre | Imprimantes | Produits | Epson France
    Rural King Credit Card Minimum Credit Score
    WPoS's Content - Page 34
    Shia Prayer Times Houston
    Why comparing against exchange rates from Google is wrong
    Helpers Needed At Once Bug Fables
    Publix Coral Way And 147
    Davita Salary
    Learn4Good Job Posting
    Que Si Que Si Que No Que No Lyrics
    Clark County Ky Busted Newspaper
    Whitehall Preparatory And Fitness Academy Calendar
    Questions answered? Ducks say so in rivalry rout
    Craigslist Malone New York
    FREE - Divitarot.com - Tarot Denis Lapierre - Free divinatory tarot - Your divinatory tarot - Your future according to the cards! - Official website of Denis Lapierre - LIVE TAROT - Online Free Tarot cards reading - TAROT - Your free online latin tarot re
    Foxxequeen
    10 Types of Funeral Services, Ceremonies, and Events » US Urns Online
    Mejores páginas para ver deportes gratis y online - VidaBytes
    Wood River, IL Homes for Sale & Real Estate
    The Quiet Girl Showtimes Near Landmark Plaza Frontenac
    Sitka Alaska Craigslist
    Gelato 47 Allbud
    Superecchll
    Ark Silica Pearls Gfi
    683 Job Calls
    Primary Care in Nashville & Southern KY | Tristar Medical Group
    Latest Posts
    Article information

    Author: Otha Schamberger

    Last Updated:

    Views: 6783

    Rating: 4.4 / 5 (55 voted)

    Reviews: 86% of readers found this page helpful

    Author information

    Name: Otha Schamberger

    Birthday: 1999-08-15

    Address: Suite 490 606 Hammes Ferry, Carterhaven, IL 62290

    Phone: +8557035444877

    Job: Forward IT Agent

    Hobby: Fishing, Flying, Jewelry making, Digital arts, Sand art, Parkour, tabletop games

    Introduction: My name is Otha Schamberger, I am a vast, good, healthy, cheerful, energetic, gorgeous, magnificent person who loves writing and wants to share my knowledge and understanding with you.