They were there before, I didn’t see the line break the first time.
Running service iptables stop produces iptables: unrecognized service.
Running ufw disable followed by ufw status shows that it is inactive but get the same results. What command should I run to completely disable the firewall?
Hmm, I’m not too familiar with using ufw, though reviewing the manpage, it does appear that running “ufw disable” as you did above is indeed supposed to disable the firewall, and also prevent it from starting on bootup.
You’re saying though that after running that, all those firewall rules are still active?
I see that there is a “ufw reset” option, which is supposed to take it back to the installed defaults, though based on what I read in the manpage the previous option you tried should have done the trick, in theory
I would do a reboot and could login but the session would break after a short time.
Today I discovered one issue that could be doing this. Webmin update was available!
So, I logged in via SSH and did the update.
And, the issue was resolved!
Earlier too, without me knowing about this, the issue was resolving because I would occasionally do a system update in SSH session. The issue would not recur until next webmin update availability.