this post was submitted on 09 Nov 2025
8 points (100.0% liked)

Asklemmy

51781 readers
233 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 6 years ago
MODERATORS
 

preferably foss and self hosted

top 3 comments
sorted by: hot top controversial new old
[โ€“] digdilem@lemmy.ml 9 points 1 month ago

I think what you're looking for is known as kiosk software. Basically a locked down browser that has limited or zero user interaction possible.

Or by deliberately breaking DNS on that host. Add the entries you want to allow to /etc/hosts and not supply any upstream DNS servers. (Change of needing maintenance if those sites change IP)

[โ€“] Chaser@lemmy.zip 4 points 1 month ago

Not directly a ready to use software. But maybe you could use a combination of dnsmasq and cronjobs.

https://wiki.archlinux.org/title/Dnsmasq https://wiki.archlinux.org/title/Cron

You could load two different configs based on time. One to forward everything except xyz to localhost and one to forward everything.

[โ€“] Otherbarry@lemmy.frozeninferno.xyz 3 points 1 month ago* (last edited 1 month ago)

Most/all the main web browsers in use support kiosk mode, you'll just need to search around for how to do it. This should get you going for Firefox

https://support.mozilla.org/en-US/kb/firefox-enterprise-kiosk-mode

Am not too sure how to get out of kiosk mode afterwards, maybe test it when you don't have anything else running just in case.

EDIT: If you need to run kiosk mode for a specific amount of time as you say, you'll probably need to also run a scheduled cronjob or similar to maybe kill the web browser at a specific time. I've seen kiosk mode for a few web browsers but they don't usually have an option to set them for a specific amount of time.