
Since firewall works in kernel level, to use the iptables command, root privilege is required. iptables command talks to the kernel and helps to control the data packets that use IPv4 protocol as the packet-switching protocol. Restarting docker fixes the issue (as docker recreates the tables), but these iptables shouldn't be getting cleared/corrupted in the first place. For instance, a stateless firewall (iptables) allows the assignment of rule priority. Multiple connections may be made if data is transferred with RPC, so any firewall on your network between the two servers must be configured to allow connectios from the master to the remote host on ports in the range 10000 up to 10100. iptables is a utility to create a rule-based firewall that is pre-installed in most of the Linux computers. Webmin is likely recreating iptables without regard to the additional tables docker creates for networking. usr/sbin/iptables is a symlink to /etc/alternatives/iptables which in turn is a symlink to /usr/sbin/iptables-nft. When I added a rule via Webmin 1.941, this was added to iptables-legacy, but moved to iptables on reboot.

The only problem with fast mode is that some firewalls may block the TCP connection, which is typically made on a port 1 or 2 above the remote host’s base Webmin port, such as 10001 or 10002. Debian Buster is using nftables instead of the previous iptables, but it's still available as iptables-legacy. When I was going through the official documentation on the Servers Index module online, I found what I was looking for in the last paragraph, under the How RPC works heading, where it had this to say: To make a long story short, from Webmin’s System and Server Status module where I started reading, I was led to the Webmin Servers Index module. the protocol over which this monitoring service was running. the port (or ports) I need to open (for this service to work again) and 2. I had to find out 2 things and find them out quickly! I needed to figure out 1. Minutes later, just when I was beginning to feel good about myself, on a remote server some place else, the Webmin System and Server Status module there was reporting that it could no longer access this server! Earlier today I implemented stricter iptables rules on this web server – finally completing one essential task I have been ignoring for so long.
