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

Can exclude individual Wine application from banned Internet connection of Wine default profile ? #2332

Open
Nokia808 opened this issue Jan 10, 2019 · 2 comments

Comments

@Nokia808
Copy link

Hi. Recently Wine land on Fedora repositories which is very nice .....

I would like to ask this question:
I installed WineHQ on my OS. I sandbox WineHQ by Firejail. I run many Windows game on WineHQ. Default WineHQ is blocking Windows applications that run on Wine, blocking them from connect to Internet.

Blocking from Internet is excellent feature in default WineHQ profile, & is a must. However, certain games need Internet because it have "multi-players" option that involve play with other user ONLINE. Here is the problem .....

So, is there a way to exclude individual Windows application(s) that run on WineHQ from "blocked from Internet connection" feature ? This is not only significant for game but for other applications like Skype windows version ........

@Vincent43
Copy link
Collaborator

Vincent43 commented Jan 10, 2019

You may prefix application command to run with firejail --ignore=<option you use to block network>

So instead of
Exec=wine app.exe
Run
Exec=firejail --ignore=<option you use to block network> wine app.exe

@rusty-snake
Copy link
Collaborator

Because you can't use long options in .desktop files (as I know) you can do:
Exec=sh -c 'firejail --ignore=<option you use to block network> wine app.exe'

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

3 participants