dcooper8@payments:~$ sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
f2b-sshd tcp -- anywhere anywhere multiport dports ssh
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain f2b-sshd (1 references)
target prot opt source destination
REJECT all -- 61.177.172.160 anywhere reject-with icmp-port-unreachable
REJECT all --
static.vnpt.vn anywhere reject-with icmp-port-unreachable
REJECT all -- 218.92.0.108 anywhere reject-with icmp-port-unreachable
REJECT all -- 128.199.62.188 anywhere reject-with icmp-port-unreachable
REJECT all -- 137.184.54.207 anywhere reject-with icmp-port-unreachable
REJECT all -- 43.129.50.62 anywhere reject-with icmp-port-unreachable
REJECT all -- 104.131.12.184 anywhere reject-with icmp-port-unreachable
REJECT all -- 41.63.9.36 anywhere reject-with icmp-port-unreachable
REJECT all -- localhost anywhere reject-with icmp-port-unreachable
RETURN all -- anywhere anywhere
dcooper8@payments:~$ sudo nft list tables
table inet firewall
table ip filter
dcooper8@payments:~$ sudo ufw status
Status: inactive
dcooper8@payments:~$ sudo ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
ERROR: problem running ufw-init
iptables-restore v1.8.7 (nf_tables): unknown option "--icmp-type"
Error occurred at line: 34
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
ip6tables-restore v1.8.7 (nf_tables): unknown option "--icmpv6-type"
Error occurred at line: 36
Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information.
Problem running '/etc/ufw/before.rules'
Problem running '/etc/ufw/before6.rules'
dcooper8@payments:~$