Free Wi-Fi for Watching Ads: How to Set Up a System from Scratch

Free Wi-Fi monetized through advertising is a proven way to attract customers and generate revenue at the same time. This approach is actively used by cafes, hotels, airports, and shopping centers. But how can this scheme be technically implemented? What equipment should be chosen? And what does the law say about collecting user data?

In this article, we'll walk you through the step-by-step setup of a Wi-Fi-for-ads system—from choosing a router to integrating with advertising platforms. You'll learn how to avoid common setup mistakes. Portla Captiva (captive portal), which services can help automate the process, and how to legally collect visitor statistics. We also share real-life case studies of businesses that increased profits by 30% using this approach.

Important: If you plan to distribute Wi-Fi in a public place, be sure to check the requirements Federal Law No. 152-FZ "On Personal Data" and your internet provider's rules. Some operators block the resale of traffic—you should check this in advance.

1. How does the "Wi-Fi for advertising" scheme work?

The principle is simple: the user connects to your network, but instead of direct access to the Internet, he sees welcome page (captive portal). To gain access, he needs to do one of the following:

  • 📺 Watch a 15-30 second commercial (video or banner)
  • 👍 Like/repost on your establishment's social media
  • 📋 Fill out a short form (email, phone – for marketing)
  • 🎁 Participate in the giveaway (leave your contact information)

Once the condition is met, the user gains internet access for a limited time (usually 30-120 minutes). Your benefit:

  • 💰 Revenue from ad impressions (from $0.01 to $0.5 per view)
  • 📊 Customer contact database for email/SMS mailings
  • 📈 Increased loyalty (customers stay longer in the establishment)
  • 📢 Free PR through reposts on social media

Technically, this can be implemented in two ways:

  1. Local server — when the router handles authorization itself (suitable for small points).
  2. Cloud service - when authorization occurs through an external platform (for example, WiFi Marketing, Purple, Cloud4WiCloud solutions provide more analytics but require a monthly fee.
📊 Which Wi-Fi monetization method are you interested in?
Displaying video ads
Collecting contacts for mailings
Likes/reposts on social networks
Paid access according to tariffs

2. What equipment is needed to distribute Wi-Fi with advertising?

Minimum set for launch:

Equipment Requirements Sample models Cost (2026)
Router Support Captive Portal, high loads (100+ connections) Ubiquiti UniFi, MikroTik hAP ac², TP-Link Omada ER605 + EAP670 from 8,000 to 30,000 ₽
Access point (Wi-Fi) Support 802.11ac/ax, coverage of 50+ meters Ubiquiti U6-Pro, Ruckus R750, Zyxel NWA210AX from 12,000 to 45,000 ₽
Authorization server For a local solution - mini PC or Raspberry Pi 5 Intel NUC, Raspberry Pi 5 8GB, cloud services from 5,000 ₽ (RPi) to 2,000 ₽/month (cloud)
Software CMS for captive portals, integration with advertising networks Pfsense + PortalCaptive, WiFi Marketing, Social WiFi from 0 ₽ (opensource) to 10,000 ₽/month

For a small cafe (up to 50 visitors at a time), a router is enough MikroTik hAP ac² (≈12,000 ₽) and cloud service WiFi Marketing (from 1,500 ₽/month). A large shopping center will require a system Ubiquiti UniFi with controller Cloud Key (≈50,000 ₽) and a dedicated server.

⚠️ Note: If you plan to distribute Wi-Fi in a high-traffic area (such as train stations or airports), check with your provider about traffic limits. Some business plans have a limit on the number of simultaneously connected devices.

To display video ads, you will need integration with platforms like Google AdSense or specialized services (WiFi Ads, AdButler). Most of them work according to the model CPM (cost per mille - payment for 1000 impressions) or CPC (pay per click).

3. Step-by-step setup of a Wi-Fi router with advertising

Let's look at the setup using an example MikroTik hAP ac² with a local captive portal. For cloud services (e.g., Purple) the process is simplified - just follow the platform's instructions.

Reset the router to factory settings|Update the firmware to the latest version|Create a new Wi-Fi network with the name (SSID) of your establishment|Configure a DHCP server to distribute IP addresses|Install the package hotspot through System → Packages|Create firewall rules to redirect to the captive portal|Upload the HTML template for the authorization page|Test the connection from your phone-->

Detailed instructions:

  1. Create a separate Wi-Fi network for guests

    Go to Wireless → Security Profiles, add a new profile with the encryption type WPA2-PSK. IN Wireless → Interfaces Set up a new access point with a name (SSID) like CafeFreeWiFi.

  2. Set up a Hotspot

    On the menu IP → Hotspot Create a new server. Specify:

    • Interface - your Wi-Fi network
    • IP pool for clients (e.g. 192.168.10.2-192.168.10.254)
    • DNS servers (can be used 8.8.8.8 And 1.1.1.1)
  • Load the login page

    IN IP → Hotspot → Server Profiles select Login and upload your HTML template. It should contain:

    • Logo of your establishment
    • "Watch Ad" button (link to video or banner)
    • Field for entering email/phone number (if collecting contacts)
    • Countdown timer (e.g. "Access will be open in 30 seconds")
    • Ready-made templates can be found at GitHub or order from a web developer (from 3,000 ₽).

    • Set up firewall rules

      Add a rule to IP → Firewall → NAT, which will redirect all HTTP traffic (port 80) to the authorization page:

      /ip firewall nat add chain=dstnat dst-port=80 protocol=tcp action=redirect to-ports=80

      For HTTPS (port 443) you will need an SSL certificate - you can get one for free through Let’s Encrypt.

    After setup, test the connection from your phone. The first time you connect, a login window should open. If the page doesn't load, check your DNS and firewall settings.

    4. Legal nuances: what do you need to know before launching?

    Wi-Fi distribution with the collection of user data is regulated by several laws:

    • 📜 Federal Law No. 152-FZ "On Personal Data" — requires the user's consent to the processing of their email/phone number. The authorization form must include a checkbox labeled "I agree to the processing of my data."
    • 📜 Federal Law No. 374-FZ "On Counteracting Terrorism" — requires storing connection logs for 6 months (IP addresses, MAC addresses of devices, session time).
    • 📜 Civil Code of the Russian Federation, Article 1064 If a user breaks the law via your Wi-Fi (for example, downloads pirated content), you, as the network owner, may be held liable.

    To avoid problems:

    • 🔒 Use guest access without local network access (setting AP Isolation in the router).
    • 📝 Include a clause in your user agreement regarding responsibility for online activities.
    • 🗑️ Set up automatic deletion of logs older than 6 months (in MikroTik this is done through /system scheduler).
    • 🛡️ Set up a content filter (for example, blocking torrent trackers via Layer7 Protocol in MikroTik).
    ⚠️ Note: If you're distributing Wi-Fi in Moscow or St. Petersburg, check local requirements for video surveillance in public internet access areas. In some cases, installing cameras and storing recordings may be required.

    To legally collect emails and phone numbers, use double opt-in: after entering contacts, send an SMS or email with a confirmation link. This will reduce the number of fake addresses and comply with regulations. GDPR (if there are foreigners among the clients).

    5. How to integrate advertising and make money on Wi-Fi?

    There are three main ways to monetize:

    1. Displaying video ads

    Integration with platforms:

    • 🎥 Google AdSense for Video — suitable for small points (income: $0.05–$0.2 per view).
    • 🎬 WiFi Ads — a specialized platform for Wi-Fi networks (income: $0.1–$0.5 per view).
    • 📺 Local Ads — display ads from local business partners (income: fixed placement fee).

    To integrate with Google AdSense:

    1. Register in Google AdSense (a website or blog will be required for moderation).
    2. Generate the video ad code in the section Announcements → Video Announcements.
    3. Paste the code into the HTML template of the authorization page:
    <div>
    

    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-XXXXXXXXXXXXXXXX"></script>

    <ins

    data-ad-client="ca-pub-XXXXXXXXXXXXXXXX"

    data-ad-slot="1234567890"

    data-ad-format="auto"

    data-full-width-responsive="true"></ins>

    <script>

    (adsbygoogle = window.adsbygoogle || []).push({});

    </script>

    </div>

    2. Collecting contacts for email/SMS marketing

    Use the services:

    • 📧 Mailchimp — for email newsletters (free for up to 500 contacts).
    • 📱 SMS.ru or SMSClub — for SMS mailings (cost: ≈1.5 ₽ per SMS).
    • 🤖 ManyChat — for automated chatbots in Telegram/WhatsApp.

    The average conversion rate for email collection via a Wi-Fi portal is 30-50%. For example, if 100 people connect to your network per day, you'll receive 30-50 new contacts for your email campaigns.

    3. Affiliate programs and local advertising

    Agree with neighboring businesses to share advertising space:

    • 🍕 A pizzeria near your cafe pays 5,000 rubles/month for a banner on the login page.
    • 🚖 The taxi company gives a 10% discount to your clients, and you post their phone number.
    • 💇 The hair salon offers a free haircut to every 10th client who connects to your Wi-Fi.

    For automation, use services like WiFi Marketing — they allow you to flexibly customize targeted offers (for example, displaying a pizzeria ad only after 6:00 PM).

    6. Optimization: How to increase Wi-Fi revenue?

    To maximize your profits, follow these tips:

    • 📊 Analyze statistics — track how many users connect, how many ad views occur, and how much revenue it generates. Ubiquiti UniFi or MikroTik There are built-in reports.
    • 🔄 Advertising rotation — Change banners every 2-3 days so that users don't get used to them and ignore them.
    • 🎁 Bonuses for activity — Offer extra Wi-Fi time for watching a second video or inviting a friend.
    • 📱 Mobile application — develop a simple app for your establishment that allows customers to connect to Wi-Fi with one click (development cost: from 50,000 ₽).
    • 🌐 Multilingual portal — If your client base includes many tourists, add English/Chinese language support.

    Example of a successful case: a coffee shop chain Black Card increased the average order value by 28% after implementing ad-supported Wi-Fi. Customers who connected to the network received a coupon for a 10% discount on purchases made through the app. Within six months, the email list grew from 0 to 12,000 contacts.

    ⚠️ Note: If you notice your ad revenue is dropping, please check:
    • Does the provider block advertising networks (sometimes operators filter traffic) Google AdSense)?
    • Is the login page taking too long to load (optimal time is <3 seconds)?
    • Do clients use VPN to bypass the captive portal?

    7. Alternative methods of Wi-Fi monetization

    If advertising isn't right for your business, consider other models:

    Model How it works Income Difficulty of setup
    Paid tariff The first 30 minutes are free, then there is a charge (50-100 ₽/hour) 5,000–50,000 ₽/month Medium (payment gateway required)
    Loyalty Wi-Fi access is only available to loyalty card holders. Increase sales by 15-25% Low
    Sponsorship A local business pays for Wi-Fi, and you display their logo. 3,000–20,000 ₽/month Low
    Analytics Sale of anonymized data about visitors (gender, age, time of visit) 1,000–10,000 ₽/month High (must comply with Federal Law 152)

    For example, a fitness club "Energy" In Moscow, a company implemented a system where Wi-Fi access is restricted to customers with a valid membership. This reduced the number of "guest" visitors but increased membership sales by 18%.

    How to bypass captive portal blocking using VPN?

    Some users install a VPN on their phone to avoid viewing ads. To prevent this:

    1. Block known VPN service IP addresses through your firewall (/ip firewall filter add chain=forward dst-address=103.86.98.98 action=drop comment="Block VPN").

    2. Use DNS filtering (e.g. OpenDNS or CleanBrowsing) to block VPN provider domains.

    3. Configure speed limitation for devices that bypass the captive portal (in MikroTik this is done through Queues).

    FAQ: Frequently asked questions about ad-supported Wi-Fi

    Do I need to register as an individual entrepreneur to distribute Wi-Fi with advertising?

    If you're simply distributing Wi-Fi in your cafe or store and displaying partner ads, registering as a sole proprietor isn't required. However, if you plan to sell advertising space as a business (for example, creating a network of hotspots in different establishments), it's better to register as a sole proprietor or LLC. Also, check that you're not violating the terms of your internet service provider's agreement—some plans prohibit commercial use of traffic.

    How much can you earn with this scheme?

    Income depends on traffic and the monetization model:

    • 🍵 A small cafe (50 connections/day, advertising): 3,000–8,000 ₽/month.
    • 🏨 Hotel (200 connections/day, email collection + advertising): 15,000–30,000 ₽/month.
    • 🏬 Shopping mall (1,000+ connections/day, sponsorship + analytics): 50,000–200,000 ₽/month.

    The maximum income comes from a combination of several models (for example, advertising + contact collection + affiliate programs).

    How to avoid complaints about slow Wi-Fi?

    To prevent customers from complaining about speed:

    • Limit the speed per device (e.g. 5 Mbps) via Queues V MikroTik.
    • Use a separate channel for guest Wi-Fi (eg. 5 GHz with a width of 40 MHz).
    • Set up traffic prioritization (QoS) so that video ads load faster than torrents.
    • Set up a caching DNS server (e.g. Pi-hole) to speed up page opening.

    Optimal load: no more than 30 devices per access point. If there are more clients, add additional access points.

    Is it possible to distribute Wi-Fi without authorization, but with advertising?

    Technically yes, but it's less effective. Without a captive portal, you won't be able to:

    • Collect user contacts.
    • Ensure viewing of advertisements (the user can close the tab).
    • Limit session time.

    The alternative is to use transparent proxy, which inserts banners at the top of all websites. However, this is more difficult to set up and may cause user dissatisfaction.

    What routers are best not to use for this type of setup?

    Avoid:

    • 📡 Budget routers (TP-Link TL-WR841N, D-Link DIR-300) - cannot withstand the load of 50+ devices.
    • 🔄 Routers from the provider (for example, from Rostelecom or Beeline) - they often have access to settings blocked Captive Portal.
    • 🕳️ Obsolete models without support 802.11ac — will "slow down" with a large number of connections.

    Minimum router requirements: dual-core processor, 128 MB RAM, support VLAN And Hotspot.