Technical Anshu
Tutorials Blog
🚪 门户页面设计

Captive Portal Login Page What Guests See and the HTTPS Truth

Your portal page has about five seconds. The guest is standing at a counter, the page is open in a small phone browser, and every extra line of text makes “close this and use mobile data” more likely. Design for that moment — and understand the one warning you cannot design away.

✍️ Technical Anshu📱 What Guests See⏱️ 8 minute read
🎥 Untangle 上的强制页面设置,如完整设置视频所示

On Untangle, the page lives on the Captive Page tab of the Captive Portal app. Basic Login gives you a clean page with your message and either a continue button or username and password fields, depending on the authentication you chose. That is enough for almost everyone. The work that matters is not decoration — it is what the page says, how it behaves in a phone's mini portal browser, and one honest fact about HTTPS that every portal owner should understand before guests start asking questions.

The page a guest actually sees — phone portal browser (illustrative)
Welcome to Sharma Guest WiFi

Free internet for our visitors. We record the time and device you connect with, and keep that record for 30 days. Please do not use this network for anything unlawful.

[ Username ] [ Password ]

Log In and Accept Terms

简短、简单、明确的动作。客人阅读这样的页面;他们放弃了读起来像合同的页面。
1

像布告栏一样编写页面

Four things belong on the page, in this order:

  1. 这是谁的网络 - 您的公司名称和徽标,以便访客知道该页面是真实的。
  2. 当他们继续时会发生什么 - 他们获得互联网进行会话,并且连接被记录。
  3. 这些条款以两三行简单的文字表示 - 合法使用,不得辱骂其他客人,会议可能会在关闭时间结束。任何更长的内容都属于链接的策略页面,而不是登录屏幕。
  4. 一个明显的按钮。“登录并接受条款”胜过三个按钮和一个复选框林。
2

为迷你浏览器设计,而不是为您的笔记本电脑设计

Phones do not open the portal in the full browser. Android and iPhone detect the portal and open a stripped-down mini browser whose only job is this one page. Heavy pages, pop-ups and multi-step flows break or confuse it. Keep the basic page light, avoid external images and scripts, and test on a real phone — one Android, one iPhone — before guests arrive.

Untangle's Basic Login page is deliberately plain, and that plainness is a feature here. A custom page is possible on many portal setups, but every decoration is one more thing the mini browser can choke on.

3

每个所有者都应该知道的 HTTPS 真相

Guests sometimes report the portal page shows a security warning, or that their banking app "broke" the moment they joined. Here is the honest mechanics: a captured guest who opens an HTTPS site cannot be silently redirected to your portal — the browser would (correctly) treat that as an attack. That is why phones use special plain-HTTP probe requests to detect portals, and why the flow works through the popup, not through redirecting secure sites.

The portal page itself is served by the firewall. Where it is presented over HTTPS with the firewall's own certificate, a guest device that has never seen that certificate may show a warning — this is normal portal behaviour worldwide, not a sign your network is hacked. The practical answers are boring and correct: keep the page simple, tell staff what the warning is, and never train guests to ignore warnings on other sites.

4

防止大争论的小字

⚠️ 永远不要在您的门户页面上模仿银行或大品牌。您的页面应该看起来像您的业务,而不是其他任何东西 - 模仿著名登录的门户会教客人在相似的页面中输入真实的密码,这正是网络钓鱼所依赖的习惯。

🎥 查看视频中的强制页面选项卡

Basic Login, the message text and the authentication link-up — configured live in the setup video.

▶️ Watch Full Video
❓ 常见问题(FAQ)

为什么门户显示为弹出窗口而不是在我的浏览器中?

That popup is the phone's captive-network assistant, a mini browser the operating system opens when it detects a portal. It closes by itself once login succeeds. Designing for it means a light page, one clear button and no pop-ups of your own — all covered in this guide.

客人表示,门户页面显示了证书警告。有什么问题吗?

Usually not. The page is served by the firewall itself, and a guest phone has no reason to already trust the firewall's certificate, so a warning can appear. It is standard captive portal behaviour. What you should not do is tell guests to ignore certificate warnings generally — only this known page, on this known network, is expected.

我可以将完整的条款和条件放在登录页面上吗?

您可以链接到它们,但不要将法律文本页面粘贴到登录屏幕中 - 手机迷你浏览器使其无法阅读,客人会在不阅读的情况下接受,这对任何人都没有帮助。将重要的两行或三行放在页面本身上,并为任何需要的人链接完整的政策。

本指南基于Technical Anshu 强制门户视频 • 卡在某个步骤上?在视频评论中提问 — 你会得到回复🙏