Skip to content

VPN protocol

WireGuard VPN

GatewayVPN connects with WireGuard by default. You get faster connections, lower ping and ChaCha20 encryption, with no settings to change.

  • Windows
  • macOS
  • iOS
  • Android

What is WireGuard?

WireGuard is an open-source VPN protocol. It sets the rules your device and a VPN server follow to build an encrypted tunnel and send your data through it.

It's one layer of a VPN connection, not the whole thing. GatewayVPN provides the app and the servers; WireGuard decides how the tunnel between them works. It replaces older protocols like OpenVPN and IPSec with a smaller codebase and modern cryptography.

New to VPNs? Start with What is a VPN?

  • VPN serviceGatewayVPN app + servers
  • ProtocolWireGuard: how the tunnel is built
  • EncryptionChaCha20-Poly1305
  • NetworkUDP over your Wi-Fi or mobile data

How WireGuard works

Four steps, from Connect to a tunnel that stays up as you move.

  1. Keys are swapped

    Your device and the server exchange public keys. The app does this for you.

  2. A one-round handshake

    One message each way creates session keys, so the tunnel opens fast. The keys rotate every two minutes.

  3. Encrypted packets over UDP

    Every packet is encrypted and authenticated on your device before it travels to the server.

  4. Roaming without reconnects

    Change networks and the server picks up your new address from your next packet. The tunnel stays up.

WireGuard's encryption

ChaCha20
Encrypts your data so it's unreadable in transit
Poly1305
Checks each packet wasn't changed on the way
Curve25519
Lets both sides agree on keys without sending them
BLAKE2s
Fast hashing used during the handshake
Perfect forward secrecy
Rotating keys keep past sessions safe if a key leaks
ChaCha20 vs AES-256: see VPN encryption →

Why use WireGuard

Here's where the difference shows up in everyday use.

  • Gaming

    Lower ping

    Play on another region's server without the lag older protocols add to every move.

    Why: less processing per packet

  • Streaming

    HD without buffering

    More of your connection's speed goes to the show, not the VPN.

    Why: low protocol overhead

  • On the move

    No drops between networks

    Leave the café Wi-Fi for 5G mid-call and your tunnel carries on.

    Why: built-in roaming

  • On your phone

    Longer battery life

    Keep the VPN on all day without it draining your battery in the background.

    Why: silent when idle

  • Connects in one round trip
  • ~4,000 lines of auditable code
  • Modern crypto, no weak options

WireGuard vs OpenVPN vs IKEv2

All three are secure. They differ in speed, how they handle network changes and how easily they get through firewalls.

WireGuard, OpenVPN and IKEv2/IPSec compared
Feature WireGuard OpenVPN IKEv2/IPSec
SpeedFastestGood over UDP, slower over TCPFast
Connection timeNear-instant, one round tripSlower, multi-step handshakeQuick
Switching networksSeamless roamingHas to reconnectStrong (MOBIKE)
EncryptionChaCha20-Poly1305AES-256-GCMAES-256-GCM
CodebaseAbout 4,000 linesLarge, relies on OpenSSLLarge, built into most systems
Strict firewallsUDP only, can be blockedTCP mode gets through mostFixed ports, easy to block
Manual router setupApps onlyYes, UDP and TCPApps only
Best forEveryday use, gaming, streamingRestricted networks, routersPhones on the move

You don't have to choose. GatewayVPN's Automatic Protocol tries WireGuard first, and the fallback protocol switches you to OpenVPN when WireGuard is blocked.

When to use another protocol

WireGuard is the best choice most of the time, but it has two limits worth knowing. GatewayVPN covers both, so you rarely need to think about them.

Want to pick a protocol yourself? Go to Settings → Network Protocol, switch off Automatic Protocol and choose from the list.

The limit

UDP only

Some hotel, school and office networks only allow TCP traffic, which stops WireGuard from connecting.

How GatewayVPN handles it

The fallback protocol, on by default, switches you to OpenVPN TCP, which gets through most firewalls.

The limit

No traffic disguise

WireGuard has no built-in obfuscation, so networks that inspect traffic can recognize and block it.

How GatewayVPN handles it

Connect to fallback protocol is on by default, so the app reconnects you with OpenVPN when WireGuard is blocked.

WireGuard and your privacy

Standard WireGuard keeps your last IP address in server memory even after you disconnect. It's the most common privacy criticism of the protocol.

GatewayVPN servers wipe it the moment your session ends. Combined with our no-logs policy, there's no record of when you connected or where from.

Read our privacy policy →

GatewayVPN server memory

  1. 1 · You connect 203.0.113.42 Your IP is held in memory
  2. 2 · While connected 203.0.113.42 Used only to send traffic back to you
  3. 3 · You disconnect Wiped Erased right away, nothing kept

How to use WireGuard with GatewayVPN

WireGuard is on by default in every GatewayVPN app. You only need the settings if you want to lock it in.

Default

It's already on

  1. Download GatewayVPN for Windows, macOS, iOS or Android and sign in.
  2. Tap Connect. Automatic Protocol is on by default and picks WireGuard first.
Download the app

Optional

Choose it manually

  1. Settings
  2. Network Protocol
  3. Automatic Protocol off
  4. WireGuard

Keep the fallback switch on so the app can move you to another protocol if a network blocks WireGuard.

Works with your other features

Connect with WireGuard in one tap

Faster connections, modern encryption and IPs wiped on disconnect. Ready on all your devices.

  • Windows
  • macOS
  • iOS
  • Android

Frequently asked questions

Quick answers to what people ask most about WireGuard.

Still have a question?

Our support team is available 24/7 and usually replies within 30 minutes.

Contact support →

Yes. WireGuard uses modern, well-reviewed cryptography (ChaCha20-Poly1305, Curve25519 and BLAKE2s), and its small codebase makes it easier to audit than older protocols. Session keys rotate every two minutes, which gives you perfect forward secrecy.

In most cases, yes. WireGuard opens a tunnel in a single round trip and adds less processing to each packet, so it connects faster and usually gives you higher speeds and lower ping. OpenVPN over TCP is the slowest option, but it's useful on networks that block UDP.

The WireGuard protocol is free and open source. To use it for privacy, you still need a VPN service that runs WireGuard servers and apps. Every GatewayVPN plan includes WireGuard on all apps at no extra cost.

Yes. WireGuard runs over UDP only and doesn't disguise its traffic, so some hotel, school and office networks block it. GatewayVPN's Connect to fallback protocol option is on by default and switches you to OpenVPN when that happens.

No. While you're connected, the server holds your IP address in memory so it can send traffic back to you. GatewayVPN servers wipe it as soon as you disconnect, and we don't log your activity, connection times, source IP or bandwidth. Read our privacy policy.

Not with GatewayVPN at the moment. Manual setup on routers and other devices with a built-in VPN client uses OpenVPN UDP or OpenVPN TCP. Our setup guides walk you through it.

Yes. Streaming and P2P are supported on all GatewayVPN servers, and WireGuard's low overhead helps with HD streaming and fast downloads.

WireGuard is available in the GatewayVPN apps for Windows, macOS, iOS and Android, and Automatic Protocol picks it by default. One account covers up to 5 devices at the same time.