Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block internet access per game #257

Closed
frostworx opened this issue Jun 29, 2021 · 2 comments
Closed

Block internet access per game #257

frostworx opened this issue Jun 29, 2021 · 2 comments

Comments

@frostworx
Copy link
Collaborator

Might be nice to have an option to block internet/network access per game
The good old "sg no-internet" method I remember seems pretty much outdated, but some nice ideas are collected here
https://www.reddit.com/r/linux_gaming/comments/o9i58w/block_games_from_the_internet_with_firejail/
prepending a "unshare -n -r" (ships with util-linux) to the actual game command could as well,
but haven't tested anything yet.

@frostworx
Copy link
Collaborator Author

frostworx commented Jul 20, 2021

copy/paste of the (wip & offline) stl Block Internet wiki:

[Block Internet](https://github.com/frostworx/steamtinkerlaunch/wiki/Block Internet)

When enabling BLOCKINTERNET per game in Game Menu, stl
tries to block the internet access for the game by prepending
unshare -n -r to the game launch

You might want to read this if you have problems with the -r parameter

(when testing unshare-net via bwrap, the test game could not find its datafiles, so is hard-coded for now - feel free to submit a PR)

Of course, not every game works without internet access.

The option can also be enabled by putting the game into the BlockInternet Steam Category

@frostworx frostworx mentioned this issue Jul 27, 2021
@frostworx
Copy link
Collaborator Author

Added in release v6.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant