While I have access to the Internet, how can I execute a command that does not have access to the Internet?
One simple way is to use firejail and block network access with it.
1 Like
firejail is for programs and set config firejail
It is not possible to create configuration for normal commands
What do you mean “normal commands”? Unless they are shell builtins, all commands are programs.
For example, if you want a bash shell without network access: firejail --net=none bash
You should be able to replace bash with almost any command.
1 Like
Oh, I thought I should make a firejail config for each command
Thankful
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.