Ошибка при настройке ufw nginx?

@:~$ sudo ufw allow ssh
Rules updated
Rules updated (v6)
@:~$ sudo ufw allow http
Rules updated
Rules updated (v6)
@:~$ sudo ufw allow https
Rules updated
Rules updated (v6)
@:~$ sudo ufw show added
Added user rules (see 'ufw status' for running firewall):
ufw allow 22
ufw allow 80
ufw allow 443
@:~$ sudo ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
ERROR: problem running ufw-init
modprobe: ERROR: ../libkmod/libkmod.c:514 lookup_builtin_file() could not open bui                                                                                      ltin file '/lib/modules/2.6.32-042stab125.5/modules.builtin.bin'
modprobe: FATAL: Module nf_conntrack_ftp not found in directory /lib/modules/2.6.3                                                                                      2-042stab125.5
modprobe: ERROR: ../libkmod/libkmod.c:514 lookup_builtin_file() could not open bui                                                                                      ltin file '/lib/modules/2.6.32-042stab125.5/modules.builtin.bin'
modprobe: FATAL: Module nf_nat_ftp not found in directory /lib/modules/2.6.32-042s                                                                                      tab125.5
modprobe: ERROR: ../libkmod/libkmod.c:514 lookup_builtin_file() could not open bui                                                                                      ltin file '/lib/modules/2.6.32-042stab125.5/modules.builtin.bin'
modprobe: FATAL: Module nf_conntrack_netbios_ns not found in directory /lib/module                                                                                      s/2.6.32-042stab125.5
iptables-restore: line 4 failed
iptables-restore: line 77 failed
iptables-restore: line 39 failed
ip6tables-restore: line 4 failed
ip6tables-restore: line 138 failed
ip6tables-restore: line 39 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'


После перового раза начал с нуля и вышло тоже самое. В чем здесь проблема, как исправить?
  • Вопрос задан
  • 1301 просмотр
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы