Поставил на vps под OpenVZ ос debian 9. Поставил ufw. При команде ufw enable выдает следующее:
ERROR: problem running ufw-init modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/2.6.32-042stab128.2/modules.dep.bin' modprobe: FATAL: Module nf_conntrack_ftp not found in directory /lib/modules/2.6.32-042stab128.2 modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/2.6.32-042stab128.2/modules.dep.bin' modprobe: FATAL: Module nf_nat_ftp not found in directory /lib/modules/2.6.32-042stab128.2 modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/2.6.32-042stab128.2/modules.dep.bin' modprobe: FATAL: Module nf_conntrack_netbios_ns not found in directory /lib/modules/2.6.32-042stab128.2 iptables-restore: line 4 failed iptables-restore: line 77 failed iptables-restore: line 30 failed ip6tables-restore: line 4 failed ip6tables-restore: line 138 failed ip6tables-restore: line 30 failed sysctl: permission denied on key 'net.ipv4.tcp_sack'
Problem running '/etc/ufw/before.rules' Problem running '/etc/ufw/user.rules' Problem running '/etc/ufw/before6.rules' Problem running '/etc/ufw/user6.rules'
Работаю с unix-подобными системами третий день, сильно не ругайтесь. Гугл не помог