How can I disable Internet access for programs running in Wine?

LanceBaynes

How can I disable Internet access for programs running in Wine?

Geeklab

If you run wine as a seperate user, you can use the iptables owner module to disable internet access. For instance, if you create an user "wine", you can use the following commands:

iptables -A OUTPUT --uid-owner wine -m tcp -p tcp -j REJECT --reject-with tcp-reset #fast, but only for tcp

iptables -A OUTPUT --uid-owner wine -j REJECT #all other protocols

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How can I access the internet?

How can I disable internet access on Windows 7 via the command line?

How to block internet access for wine applications?

How can I disable use of Python programs on certain operating systems?

How can I access the command line of the wine installed with PlayOnLinux?

How to increase font size globally for programs running on wine in ubuntu 20.10?

How can I disable JavaScript in Internet Explorer 10?

How can i disable internet connectivity in Android Emulator with Appium?

How can I disable my internet connection from terminal?

How do I get Bibilioteca running on Wine?

How can I get wine to support outputting to pulseaudio (through ALSA compatibility layer) with 32 bit Windows programs on Slackware64?

How to access the internet on 64 bit UBUNTU through wine?

How can i disable a method when running in test mode in Spring?

How can I disable receiving notifications If the app is running in the Background? - Kotlin

How to setup a server I can call via modem to access the internet?

How can I create a LAN with controlled Internet access?

How can I install bash package to OpenWrt without access to Internet?

How can I access the Kubernetes service from the Internet?

How do I remove all programs connected to Wine and Wine with one command?

disable mystery programs running at startup

Only some selected programs being able to access the internet, How to fix it?

How can I disable access to specific javascript functions with Firefox?

How can I disable the Universal Access Settings icon?

How can I disable network access for specific user?

How can I disable http access to a GCP Cloud function

How can I disable all possible remote access?

How can I temporarily disable localhost access to a certain port?

How can I visually find out which programs are running on the current virtual screen in Unity?

How can I uninstall wine from Ubuntu?