Steam Deck (or Linux) - Blocking a Game's Network Access
from uninvitedguest@lemmy.ca to piracy@lemmy.ml on 02 Sep 2023 01:01
https://lemmy.ca/post/4441697

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!

threaded - newest

[deleted] on 02 Sep 2023 03:10 next collapse
.
uninvitedguest@lemmy.ca on 03 Sep 2023 05:57 collapse

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

phx@lemmy.ca on 02 Sep 2023 04:27 next collapse

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

panmeek@lemmy.sdf.org on 02 Sep 2023 12:17 next collapse

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

Platform27@lemmy.ml on 02 Sep 2023 12:50 collapse

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@lemmy.ca on 03 Sep 2023 05:54 collapse

Appreciate it, thank you!