Kill network connection for Wine
Kill network connection for Wine
I do not want a Wine appl to connect to internet. Which is the simpler way to permanently kill network connection with Wine? This may be for that application alone or as well for all applications running under Wine. I am just looking for an easy way
Best
Best
Re: Kill network connection for Wine
Disable wininet in winecfg. It can be done per application or globally.
Re: Kill network connection for Wine
Many thanks vore the extremely fast reply, sounds very simple.
In winecfg GUI I do not see any reference to wininet or to a way to disable it.
Is that something to be done with CLI?
May you point me to some tutorial to be able use winecfg this way?
In winecfg GUI I do not see any reference to wininet or to a way to disable it.
Is that something to be done with CLI?
May you point me to some tutorial to be able use winecfg this way?
Re: Kill network connection for Wine
Disable it on the Libraries tab. Add it from the dropdown list, then select it, click "Edit" and set it to "Disable."
Re: Kill network connection for Wine
ok, with your instructions it was very easy to do that. Many thanks
Re: Kill network connection for Wine
The application, needs wineinet dll so it does not start if it is disabled. Another way to kill the network?
Re: Kill network connection for Wine
Not in Wine. You can use AppArmor or SELinux to prevent Wine apps from accessing the internet. You'll have to ask on your distro forum how to do that; it's not a Wine question.
- DarkShadow44
- Level 8
- Posts: 1207
- Joined: Tue Nov 22, 2016 5:39 pm
Re: Kill network connection for Wine
I personally used
in the past.
Code: Select all
sudo unshare -n runuser fabian -c "wine ping google.de"