# Warning: iptables-legacy tables present, use iptables-legacy to see them
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 ctstate NEW tcp dpts
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 ctstate NEW udp dpts
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 ctstate NEW tcp dpts
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 ctstate NEW udp dpts
Решено. Удалил iptables и все заработало.