Вывод
iptables -L -n -v -x
Вывод
ufw status verbose
root@debian ~ # ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), deny (routed)
New profiles: skip
To Action From
-- ------ ----
2022 ALLOW IN Anywhere
8443 ALLOW IN Anywhere
443 ALLOW IN Anywhere
2053 ALLOW IN Anywhere
1980/tcp ALLOW IN Anywhere
8080/tcp ALLOW IN Anywhere
80/tcp ALLOW IN Anywhere
21 ALLOW IN Anywhere
20 ALLOW IN Anywhere
60000:65535/tcp ALLOW IN Anywhere
22000:22155/udp ALLOW IN Anywhere
22000:22155/tcp ALLOW IN Anywhere
27000:27155/udp ALLOW IN Anywhere
27000:27155/tcp ALLOW IN Anywhere
5000:5100/tcp ALLOW IN Anywhere
5000:5100/udp ALLOW IN Anywhere
2022 (v6) ALLOW IN Anywhere (v6)
8443 (v6) ALLOW IN Anywhere (v6)
443 (v6) ALLOW IN Anywhere (v6)
2053 (v6) ALLOW IN Anywhere (v6)
1980/tcp (v6) ALLOW IN Anywhere (v6)
8080/tcp (v6) ALLOW IN Anywhere (v6)
80/tcp (v6) ALLOW IN Anywhere (v6)
21 (v6) ALLOW IN Anywhere (v6)
20 (v6) ALLOW IN Anywhere (v6)
60000:65535/tcp (v6) ALLOW IN Anywhere (v6)
22000:22155/udp (v6) ALLOW IN Anywhere (v6)
22000:22155/tcp (v6) ALLOW IN Anywhere (v6)
27000:27155/udp (v6) ALLOW IN Anywhere (v6)
27000:27155/tcp (v6) ALLOW IN Anywhere (v6)
5000:5100/tcp (v6) ALLOW IN Anywhere (v6)
5000:5100/udp (v6) ALLOW IN Anywhere (v6)
ПС. При чём не все рефьюзит. Вот эти нужны 22155...27155 и они почему-то закрыты