Skip to content

Can You Use a VPN on Wi-Fi That Blocks Access Until You Watch an Advertisement?

Some free Wi-Fi shows a video or banner and keeps you offline until it finishes. Here is how that ad gate works, why it clashes with a VPN, and the order that usually works.

10 min readUpdated Nov 6, 2026By XPASS Editorial Team

Can You Use a VPN on Wi-Fi That Blocks Access Until You Watch an Advertisement?

You find free Wi-Fi in a mall, a cafe, a bus terminal or a hotel lobby, join it, and the screen tells you to watch a short video before you can go online. Fine, but if your VPN is already on, the video never loads, the spinner keeps turning, and you are left wondering whether the VPN or the network is broken. Neither is really broken. Ad-gated Wi-Fi is a special kind of login page, and a VPN needs the right order of steps to coexist with it.

This article takes that narrow angle: what an ad gate actually does, why it clashes with a VPN, the sequence that usually works, and how to stay careful on a page whose business is showing you things. For the general mechanics of sign-in pages, see VPN problems with hotel and airport Wi-Fi login pages, and for the wider safety picture see how to stay safer on public Wi-Fi.

What an ad-gated Wi-Fi network does

Most "watch an ad for free Wi-Fi" networks use a captive portal. That is a gateway that quietly refuses to forward your traffic until you complete a step. On other networks the step is a room number or a voucher code. Here, the step is viewing an advertisement, and sometimes also giving an email address, a phone number or a tick for terms.

The sequence is usually this:

  1. Your phone or laptop joins the network and receives an address.
  2. Your first web request is answered with a redirect to the portal page instead of the site you asked for.
  3. The portal page plays a video, shows a banner for a countdown, or asks you to tap through a short slideshow.
  4. When the countdown ends, the page tells the network to let your device through, usually for a fixed time.

The business reason is simple. The venue or the Wi-Fi operator earns money from the advert and offers the connection in return. That is a fair trade for many people, but it explains why the page is persistent and why it may ask for more details than a plain password would.

Under the hood, the network blocks other traffic until step 4. It may answer name lookups with its own address, so every site name leads to the portal; the Cloudflare explanation of DNS shows how that lookup normally works. It may also drop encrypted connections to unknown servers. Phones and laptops often detect this automatically and show a "sign in to network" notice or a small browser window, which is why the ad page sometimes appears by itself.

Why a VPN trips over an ad gate

A VPN works by connecting to its own server and sending everything through that connection. On an ad-gated network, a connection to an unknown VPN server is exactly what gets dropped before the ad step is finished. So the order of events matters.

What you did What happens Result
VPN on first, then join Wi-Fi The VPN tries to connect before the network allows it Spinner, then an error
VPN with auto-connect or always-on It keeps retrying in the background The ad page may not pop up, or loads half-way
VPN with a kill switch It blocks everything outside the tunnel, including the ad page The page cannot load at all
VPN on, opening the ad page in a browser The request goes into a tunnel that is not up Blank page or timeout
Ad step first, then VPN The network allows traffic and the tunnel connects Usually works

A kill switch is the most common culprit. It is a good feature in normal use, because it stops traffic leaking if the VPN drops, but it will also stop the plain connection that the ad page needs. If you want to know how it behaves, read what a VPN kill switch is.

The ad also plays a part. Video ads can be heavy, and a slow shared network may need a long time to load one. If the VPN is on and adds extra delay, the countdown may appear to freeze or restart. That is another reason to finish the ad step on the plain connection.

The order that usually works

These steps take a couple of minutes.

  1. Turn the VPN off, or pause auto-connect. If the app has an always-on option, switch it off for this step only.
  2. Check the network name. Ask staff which Wi-Fi name is real. Copycat names with a small spelling change exist, and an ad-gated network is easy to imitate.
  3. Join the Wi-Fi. Wait for the "sign in" notice or a pop-up window.
  4. If nothing appears, open the browser and type a plain http address with no https. Portal redirects work much better on plain pages. Avoid sites you visit a lot, because the browser may load them from its saved copy or insist on https.
  5. Watch or tap through the ad. Wait for the countdown, then use the button that says continue, connect or similar.
  6. Test normal browsing. Open two or three ordinary websites. If they load, the network is open to you.
  7. Connect the VPN. Pick a location, connect, and wait until the app says it is connected.
  8. Check that it works. Open a page and your usual apps. If you see "connected but no internet", try the steps in VPN connected but no internet.

If you use XPASS with the VPNclient app, the flow is the same as with any VPN app: do the portal first, then connect. The guide to connecting to a VPN on public Wi-Fi lays out the same order in checklist form.

When the ad page will not load

Sometimes the ad gate itself is the problem. Work through these fixes in order.

Turn off the VPN, private DNS and any secure-browsing feature. Each of them can prevent the redirect that shows the ad page. Try again with plain Wi-Fi only.

Forget the network and join again. Remove it from the saved list, then rejoin. This makes the device repeat its connection check.

Use an http address. Type "http://" in front of a plain address. If the venue shows an address on a sign, you can try that too.

Turn off mobile data for a minute. Some phones decide the Wi-Fi has no internet and quietly use mobile data, which hides the sign-in prompt. Switch it back on after the portal step.

Try a different browser or a private window. A cached page or stored redirect can interfere.

Wait and retry. Ad servers can be slow or temporarily empty. If the countdown never starts, wait a minute and reload the page. The ad itself may simply be failing to load.

Ask staff. A cafe or mall may have a second network, a code, or a plain connection for customers.

If nothing works, the practical answer is to use your own mobile data for anything that needs protection, and skip the free Wi-Fi.

Staying careful on a page that shows ads

An ad-gated page deserves a bit more caution than a plain terms page, because it comes from a party that is paid to show you content and sometimes to collect details.

  • Give as little as possible. If the page asks for an email, a phone number or a name, think about whether you want that venue or its advertiser to have it. Some pages let you skip those fields. If you do give an email address, expect marketing mail.
  • Never enter a banking or account password. A genuine portal does not need it.
  • Do not install anything. If the page says you must install an app, a certificate or a profile to continue, stop. That is not normal for a simple ad gate and could be unsafe.
  • Watch for fake buttons. Ads on these pages sometimes include large "download" or "continue" buttons that do something else. Use the small, plain button that belongs to the portal.
  • Beware of messages that look urgent. Warnings that your phone is infected, or offers of prizes, are common in low-quality ads. The advice in the CISA guidance on recognising and reporting phishing applies here.
  • Be careful with the Wi-Fi name. Fake networks use the same trick of a sign-in page to collect details. Check the name with staff.

Connect the VPN as soon as the network lets traffic through, and before you open mail or banking. The US Federal Trade Commission explains the risks of public Wi-Fi networks, and the Cloudflare piece on HTTPS shows why encrypted pages still matter on shared networks. A VPN does not tell you whether a portal page is genuine; it only helps protect traffic after the tunnel is up. For more detail on what it does and does not cover, read what a VPN cannot protect you from.

Sessions that expire

Most ad-gated networks give you a timed session, maybe thirty minutes, an hour or until the venue closes. When the time ends, the network blocks traffic again.

What you notice depends on the VPN. With a kill switch, the internet seems to die while the app still says connected. Without it, the tunnel may drop and then fail to reconnect, because it needs the plain connection first.

Here is what to do:

  • Look at the time. If your session is about to end, finish important uploads or calls first, or move them to mobile data.
  • Disconnect the VPN, then redo the ad step. The portal page needs the plain connection again.
  • Reconnect the VPN after you can browse normally. The same order, every time.
  • Do not try to trick the system. Repeatedly clearing your device identity or using several devices to get around a time limit may breach the venue's terms. If you need steady access for work, use your own mobile data or a connection you pay for.

If the sessions keep ending at awkward moments, treat the free Wi-Fi as a short-term convenience. For an important call or a large file, a connection you control is more reliable. The article on VPNs on cafe Wi-Fi covers the same trade-off for places where you stay for a while.

What a VPN cannot do here

A few honest limits are worth stating.

  • A VPN does not skip the ad. The ad gate is a rule of the Wi-Fi network. A VPN is not a way to get around it, and trying to do that could breach the venue's terms. If you do not want to watch the ad, use another connection.
  • Some networks refuse VPN traffic. A venue or an operator may block VPN connections on its free Wi-Fi as a matter of policy. If the VPN cannot connect after a proper sign-in, switch to your own mobile data rather than trying tricks.
  • A VPN cannot make the portal trustworthy. It only protects traffic after it is connected, and it does not guarantee privacy or security.
  • The ad page may still track you. The advertiser can see that your device loaded the page, and it may set cookies or ask for details. A VPN set up afterwards does not undo what you already shared.
  • A VPN may feel slower on busy free Wi-Fi. Free networks are often shared by many people and capped by the operator. Adding a VPN adds a bit of overhead, so expect lower throughput.

A short example

Nina sits in a shopping mall food court and joins the free Wi-Fi with her VPN set to auto-connect. The VPN app spins and the ad page never shows. She pauses auto-connect, forgets the network, rejoins, and the sign-in page appears at once with a thirty-second video. She watches it, taps continue, and opens two ordinary websites to confirm that they load. Then she connects the VPN and checks her email.

Forty minutes later her messages stop coming in, although the VPN still says connected. The mall gives a one-hour session on each sign-in and she has run out. She disconnects the VPN, walks through the ad step again, confirms browsing works, and reconnects. For a video call later that afternoon, she uses her own mobile data instead, because a session ending in the middle would be a nuisance.

Summary

Ad-gated Wi-Fi is a captive portal that keeps you offline until you complete an advertisement step, and a VPN that connects first, or a kill switch that blocks the plain connection, stops that page from appearing. The reliable order is: VPN off, join the right network, finish the ad step, test normal browsing, then connect the VPN. If the page will not load, forget and rejoin the network, use a plain http address and turn off private DNS for a minute. Share as little as you can, install nothing, expect the session to expire, and remember that a VPN does not skip the ad or guarantee security.

If you want a connection you control for trips, the pricing page shows prepaid passes that match the days you need.

Frequently asked questions

Can I use a VPN on Wi-Fi that makes me watch an ad first?

Yes, in most cases, but not before you finish the ad page. The network blocks almost everything until the ad step is done, so the VPN usually cannot connect yet. Join the Wi-Fi with the VPN off, complete the ad step, check that normal sites load, and then connect the VPN.

Why does the ad page never appear when my VPN is on?

The ad page is delivered on the plain, unprotected connection. With a VPN or a kill switch active, your requests go into a tunnel that the network is still blocking, so the page cannot load. Turning the VPN off for the sign-in step usually brings it back.

Is it safe to watch the ad before connecting the VPN?

Watching a short ad is a low-risk step if you stay careful. Do not enter passwords, card details or personal data on the ad page, do not install anything it offers, and connect the VPN as soon as the network lets traffic through.

Does a VPN skip or remove the ad?

No. The ad gate is a rule of the Wi-Fi network, and a VPN is not a way to get around it. Some networks may also refuse VPN traffic altogether. If you do not want to watch the ad, use another connection such as your own mobile data.

Why did my VPN drop after the ad session ended?

Many ad-gated networks give you a timed session, for example for an hour. When it ends, the network blocks traffic again and the tunnel drops. Disconnect the VPN, complete the ad step again, and reconnect.

About the author

Bob Kanokphon Thongdee, founder of XPASS VPN

Bob Kanokphon Thongdee

  • Founder of XPASS VPN
  • Co-founder of eSIMonline.asia
  • More than 7 years in online marketing
  • Founder of Cojourney Visa and Cojourney Travel

Need a VPN for a short trip or a busy month?

XPASS sells prepaid passes for a set number of days. You pay once and nothing renews automatically.

See passes

Keep reading

Troubleshooting

VPN Problems with Hotel and Airport Wi-Fi Login Pages

Hotel, airport and cafe Wi-Fi often needs a web login before anything works, and that can trap a VPN. Here is the order of steps, and fixes when the page will not show.

9 min read

VPN Security

How to Stay Safer on Public Wi-Fi

Public Wi-Fi is not a disaster, but it is a network you do not control. Here are the real risks, the habits that matter most, and where a VPN fits in.

8 min read

Privacy Guides

Do You Need a VPN on Café Wi-Fi?

Not every coffee-shop session needs a VPN. This guide sorts tasks into safe, better with a VPN, and better on mobile data, and covers laptop habits and cafe-specific risks.

10 min read