So I often have to install and test different programs. I do not want programs to access the Internet immediately. After a while I might want to allow it, so it should be easy to allow or disallow internet access at the application level.
Basically I wonder if there is an easy way to do this. It seems that OpenSnitch can do this, but it doesn’t seem to work on OpenSuse. I might be able to get it to work eventually, but before I spend hours tinkering with it, do you know of a better solution? Might this even be possible with the built-in firewall or AppArmor?
First Solution Works
Also:
Firejail
eta: Firejail is available in most distros’ repos.
The last reply in THIS thread includes a simple bash script to launch restricted apps.
Firejail is great. I can recommend it.