Добрый день. Прошу помощи. При настройке vpn на vps возникли ошибки:
root@vps43220:# ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
ERROR: problem running ufw-init
ip6tables-restore: line 4 failed
ip6tables-restore: line 4 failed
ip6tables-restore: line 138 failed
ip6tables-restore: line 39 failed
Problem running '/etc/ufw/before6.rules'
Problem running '/etc/ufw/user6.rules'
root@vps43220:~# /lib/ufw/ufw-init start
Skip starting firewall: ufw (not enabled)
root@vps43220:~# ufw status
Status: active
To Action From
-- ------ ----
1488 ALLOW Anywhere
16122/udp ALLOW Anywhere
22/tcp ALLOW Anywhere
1194/udp ALLOW Anywhere
1488 (v6) ALLOW Anywhere (v6)
16122/udp (v6) ALLOW Anywhere (v6)
22/tcp (v6) ALLOW Anywhere (v6)
1194/udp (v6) ALLOW Anywhere (v6)
Настраиваю сама в первый раз. Может кто нибудь помочь разобраться где ошибка, а то сложновато как то?
Проблема с запуском ufw-init решилась перезагрузкой сервера.
root@vps43220:~# ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
Firewall is active and enabled on system startup
root@vps43220:~# ufw status
Status: active
To Action From
-- ------ ----
1488 ALLOW Anywhere
16122/udp ALLOW Anywhere
22/tcp ALLOW Anywhere
1194/udp ALLOW Anywhere
1488 (v6) ALLOW Anywhere (v6)
16122/udp (v6) ALLOW Anywhere (v6)
22/tcp (v6) ALLOW Anywhere (v6)
1194/udp (v6) ALLOW Anywhere (v6)
To Action From
-- ------ ----
1488 ALLOW Anywhere
16122/udp ALLOW Anywhere
1488 (v6) ALLOW Anywhere (v6)
16122/udp (v6) ALLOW Anywhere (v6)