OpenSnitch – a Linux firewall for applications – interactive outbound connections filtering.
https://www.linux-magazine.com/index.php/Issues/2022/259/OpenSnitch
https://github.com/evilsocket/opensnitch
Posts Tagged ‘firewall’
Linux Application Firewall
Wednesday, December 4th, 2024Debian 9: permanent iptables rules
Tuesday, May 29th, 2018Just an example for Debian 9.
1. Install ‘iptables-persistent’ package. Agree during installation the rules to be saved to /etc/iptables/rules.v4 .
2. Add rules (e.g. from console):
iptables -P OUTPUDT DROP
iptables -A OUTPUT -d 192.168.0.1 -j ACCEPT
3. Save rules:
netfilter-persistent save
4. Reboot and enjoy.
5. If you need to add/delete/edit rules, edit /etc/iptables/rules.v4 and then run ‘netfilter-persistent start’ to re-read the file.