You are not logged in.
Glancing over the firewall wiki I'm missing a personal firewall, like it is known under ms windows, which also covers the executable control ?
E.g. I want to allow only:
/usr/bin/firefox http (80), https (443)
/usr/bin/thunderbird SMTP (465), IMAP (993)
systemd-resolved for DNS
systemd-timesyncd.service for time-sync
xyz for arch updatesso in this example wget, curl, rsync won't be able to fetch anything and thunderbird will not be allowed to use http/https.
The idea is to harden the system, and allow only handpicked executables handpicked internet access.
Thanks for all hints, ideas and comments.
Last edited by ua4000 (2025-11-29 11:35:15)
Offline
I'm not sure a direct 1:1 exists like you're expecting, you can filter/block/allow traffic by user/port/protocol using iptables/nftables/ufw etc.
You'll have to use either AppArmor or SELinux for per application hardening security rules TMK which may include network access.
"the wind-blown way, wanna win? don't play"
Offline
OpenSnitch exists. I do not know how much that actually helps. (As soon as you want to use makepkg / the AUR you have to allow curl and maybe VCS clients or manually download all sources)
Last edited by progandy (2021-08-02 18:50:09)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
firejail allows to define individual netfilter rules per profile
Offline
thanks, opensnitch seems to go in the right direction.
Also it pointed me to the correct naming: "application firewall" is the more precise term for my task.
Offline