2 ms·
Basically create a group and add an iptables rule to it. Something like: iptables -I OUTPUT 1 -m owner --gid-owner no-internet -j DROP And then when you lau
by vagab0nd 7y ago
Basically create a group and add an iptables rule to it. Something like:
iptables -I OUTPUT 1 -m owner --gid-owner no-internet -j DROP
And then when you launch the program:
sg no-internet ./something_fishy
- panpanna 7y agoIs there anyway this can be done automatically with apparmor or something similar?