I learned how to block internet access to certain programs on Linux, thanks to a reddit post. All you need is firejail and you type the following command:
firejail --net=none (appname)
So for example, firejail --net=none firefox would launch firefox with internet access blocked. It's a pretty useful command.
Welcome to your niu world ! We are a cute and loving international community Ｏ(≧▽≦)Ｏ !