Steam Deck (or Linux) - Blocking a Game's Network Access

Is there a relatively simple way to block network access to a program? Avoiding the command line ideally.

Heroic Launcher has a “run game offline” toggle for games that are installed/added through it, but I am trying to cut out the middle man and install non-steam games directly through Steam.

Steam launch commands? Any built in firewall?

Thanks in advance!

Platform27,

OpenSnitch is a solid option, but I don’t find it that reliable to install on Arch. Instead I’d suggest looking at Safing’s Portmaster.

uninvitedguest,
@uninvitedguest@lemmy.ca avatar

Appreciate it, thank you!

panmeek,
@panmeek@lemmy.sdf.org avatar

I don’t know if it works as I think it does, but you can try relaunching steam in offline mode

phx,

Haven’t tried it on Deck, but iptables can do a per-uid based rule which I’ve used in the past

I.E. login+run restricted games under a particular login, OR sudo to that user for running but allow X-forwarding+PulseAudio to my current login

skullgiver, (edited )
@skullgiver@popplesburger.hilciferous.nl avatar

deleted_by_author

  • Loading...
  • uninvitedguest,
    @uninvitedguest@lemmy.ca avatar

    Thanks! Per another comment, it may be that opensnitch has issues on Arch but I’ll give it a whirl.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • oklahoma
  • feritale
  • SuperSentai
  • KamenRider
  • All magazines