I noticed that iptables uptime is 0 minutes while server uptime is 24 minutes!
I have rebooted again and still the same, I have checked iptables status and found it “inactive (dead)” and netfilter-persistent is “active”
root@hcp:~# systemctl status iptables
● iptables.service - netfilter persistent configuration
Loaded: loaded (/lib/systemd/system/iptables.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:netfilter-persistent(8)
root@hcp:~# systemctl status netfilter-persistent
● netfilter-persistent.service - netfilter persistent configuration
Loaded: loaded (/lib/systemd/system/netfilter-persistent.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/netfilter-persistent.service.d
└─iptables.conf
Active: active (exited) since Mon 2025-01-20 20:41:39 EET; 21min ago
Docs: man:netfilter-persistent(8)
Process: 699 ExecStart=/usr/sbin/netfilter-persistent start (code=exited, status=0/SUCCESS)
Main PID: 699 (code=exited, status=0/SUCCESS)