This works only with the flatpak package
-
Right click your game and press
Configure -
Go to
System options -
Scroll down and add the following as a
Command prefixto your game
flatpak-spawn --no-network
This works with all lutris packages
-
Install
opensnitch(or a firewall like that) for your distribution (e.g.sudo pacman -S opensnitch) -
Setup a rule for your runner (For this tutorial we'll be going with
ge-proton) -
Select
Rejectfor theAction -
Tick the
From this executablecheckbox and put the path to your runner -
Set the
DurationtoAlways
- Click
Save
This only works with native lutris packages
-
Install
firejailfor your distribution (e.g.sudo pacman -S firejail) -
Add this
firejail --noprofile --net=noneas aCommand Prefixto your game


