Technical Anshu
Tutorials Blog
🚪 Sessions and Quotas

Captive Portal Session Timeouts and Bandwidth Limits Set Fair

Set the session too short and guests curse your WiFi every hour. Set it too long and last month's visitor is still silently signed in. The timers are a hospitality decision wearing a technical costume — here is how to make it deliberately.

✍️ Technical Anshu⏳ Time and Bandwidth⏱️ 8 minute read
🎥 Session behaviour during the live guest test in the full setup video

Every captive portal session is governed by two different clocks, and confusing them causes most timeout complaints. The session timeout is a hard ceiling: however active the guest is, the login dies when it expires. The idle timeout is a silence detector: stop using the network for that long and the session ends early. Untangle's Captive Portal exposes these session controls in the app settings. Bandwidth is a separate story, told honestly in the last section: the portal itself does not shape traffic at all.

The two clocks on every guest session (illustrative)
Guest signs in at 10:00 Session timeout 8 hours → login ends at 18:00 no matter what Idle timeout 30 min → login ends after 30 quiet minutes Active guest at 17:00 → still fine, session clock is the boss Guest who left at 11:00 → idle clock cleans up by 11:30 Announce both numbers on the portal page.
Example values for a cafe-style setup — your right numbers depend on how long a guest honestly stays.
1

Set the Session Timeout to the Visit, Not the Day

Ask how long a guest legitimately stays, then give a little more. A coffee visit is one to two hours; a hotel stay is the length of the booking; a training day is the working day. Sessions that run for days feel generous and quietly destroy the point of the portal: the log can no longer say who was here today, and a device sold or lost keeps its access.

When in doubt, err shorter and say so on the page. A guest who re-accepts terms at lunch is mildly inconvenienced; a stranger riding a forgotten month-long session is a policy failure.

2

Set the Idle Timeout to Human Pauses

Idle means the device sent nothing — not that the human left. Phones in pockets go quiet; laptops asleep go quiet; a guest reading a long article is quiet. Ten minutes is harsh, a few hours is pointless. Tens of minutes is the working range for most guest networks: long enough to survive a coffee refill, short enough that a departed guest's session closes itself the same visit.

Remember what re-login costs in each mode: one OK press in acknowledgement mode, a password hunt in account mode. The stricter your login, the gentler your idle timeout should be.

3

Bandwidth — the Portal Does Not Do It

Now the honest part. Signing in through Captive Portal gives a guest the same pipe as everyone else; the app has no speed dial. On Untangle, traffic shaping and quotas live in the separate Bandwidth Control app — per-user and per-device quotas, penalty boxes for heavy users, priority for the traffic that matters. It is a different app with its own licensing, and bolting it on is a deliberate purchase, not a portal setting you missed.

Before buying anything, check whether you even have a bandwidth problem: most guest complaints that sound like abuse are one guest on a weak access point. The Reports app will show you who actually eats the pipe, by user, once the portal is naming them.

4

Fairness Rules That Prevent Desk Arguments

⚠️ A timeout is not a security control. Short sessions do not isolate guests from your office network and long ones do not expose it — that is the firewall fence's job. Set timers for fairness and clean logs; never let a short timeout talk you out of building the fence.

🎥 Watch a Session Live and Expire in the Video

Sign in, browse, and watch the session in the console — the full video walks the whole lifecycle.

▶️ Watch Full Video
❓ Common Questions (FAQ)

Why do guests get logged out while they are still using the WiFi?

Almost always the idle timeout meeting a quiet device, or the hard session ceiling arriving mid-visit. Phones that sleep aggressively look idle to the firewall even in a guest's hand. Raise the idle value first, keep the session ceiling where your policy wants it, and print both numbers on the portal page so the behaviour is expected, not mysterious.

Can I give one guest a longer session than everyone else?

The clean way is an account with its own expectations managed by staff, or — for a fixed device that truly never logs in — the client pass list, accepting that the exemption is permanent and must be audited. Bending global timers for one person punishes every other guest for one exception.

Does limiting bandwidth per guest need extra software on Untangle?

Yes. Captive Portal authenticates; it does not shape. Per-user quotas and penalties are the Bandwidth Control app's job, a separate app on the same firewall. Decide from Reports data whether you need it — many small networks discover their problem was coverage, not greed.

This guide is based on the Technical Anshu captive portal video • Stuck on a step? Ask in the video comments — you will get a reply 🙏