Hello everyone, I am currently trying to restrict specific ports and IP addresses with AppArmor 4.0.1 under Ubuntu 24.04 LTS (64 bit). Unfortunately, I keep getting syntax errors when I try to create profiles and am stuck.
I have already seen profiles in some forums where this seems to work - individual IPs and ports were successfully restricted there. I'm wondering if this is generally possible in my environment or if I'm missing something. System environment: - Ubuntu 24.04 LTS 64 bit - AppArmor 4.0.1 - VirtualBox (Ryzen 5 5500, 3070ti, 16gb ram) I would really appreciate any help or examples. Best regards